Activeadmin can can authorization error
Asked Answered
T

1

7

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.

Tace answered 29/3, 2013 at 12:19 Comment(1)
Since you mention activeadmin github repo as a source you are using version 0.6.0Bamboozle
B
4

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

See updated documentation

Bamboozle answered 4/4, 2013 at 10:9 Comment(1)
thanks Andrey for your time. Can you tell me how should I use same method instead of custom cancan adapter?Interval

© 2022 - 2024 — McMap. All rights reserved.