I have a functioning Rails 3 app that uses has_many :through associations which is not, as I remake it as a Rails 4 app, letting me save ids from the associated model in the
It should be like
params.permit(:id => [])
Also since rails version 4+ you can use:
params.permit(id: [])