Fix issue with affiliation controller
To test:
%> bundle exec rails db:reset
%> bundle exec rails c
> Affiliation.first.delete
POST /api/projects/1/affiliations/spaces/1
POST /api/spaces/1/affiliated/challenges/1
> Affiliation.count
=> 2
Edited by Anthony Shull