Activeadmin can can authorization error

activeadmin, cancan, ruby-on-rails-3

Solution

For ActiveAdmin v0.6.0 they added adapters according to this ticket

See updated documentation

Problem

Getting following error on calling controller.load_and_authorize_resource ``` protected method `authorize!' called for #<Admin::ProjectsController:0x1405de80> ``` This is happening right after the bundle update. Gem file contains the following entry, ``` gem "activeadmin" , git: 'git://github.com/gregbell/active_admin.git' ``` active admin version: 0.5.1 Thanks in advance.

Original source