RailsCasts Pro episodes are now free!

Learn more or hide this

Adam Kirkwood's Profile

GitHub User: adamkirkwood

Site: http://www.xyentific.com

Comments by Adam Kirkwood

Avatar

@Antoine You might want to try the following...

ruby
params[:user].permit(..., :role_ids => [])

as this is what worked for me.