Updating Roles in rolify using ActiveAdmin

Viewed 4584

Using Rails 4.0, ActiveAdmin, Rolify and CanCan, Adding and removing user roles via the activeadmin panel does not save (commit to database).

The my ActiveAdmin User and User Model look okay as I can list all the roles that apply to a user using check_boxes. Although when adding any roles or removing any roles via the checkboxes the changes do not get applied.

enter image description here

I get a notification that the user was updated successfully but as I look through the database or render the page, the roles have not been updated.

How can I get the roles to update when the form is saved?

Edit:

Using Devise also.

enter image description here

3 Answers
Related