I use rails 5.0 cancan 1.6.10 devise 4.2.0 Activeadmin
I regulary have this error in newrelic :
NoMethodError: undefined method `access_denied' for #<Admin::FollowupsController:0x007f112917d270>
In active_admin.rb i set :access_denied in the config :
config.on_unauthorized_access = :access_denied
How can I remove this error and have a good management of redirection for access_denied instead of a 500 ?