Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

David Alison's Profile

GitHub User: dalison

Site: http://www.davidalison.com

Comments by David Alison

Avatar

Very late but someone may benefit from this.

You need to add :group_ids to your user model:

ruby
attr_accessible :client_id, :email, :firstname, :group_id, :lastname, :password, :password_confirmation, :role_id, :group_ids