I'm getting this weird error in production and not in development:
CanCan::AuthorizationNotPerformed in ContactsController#index
This action failed the check_authorization because it does not
authorize_resource. Add skip_authorization_check to bypass this check.
I have plenty of other models/controllers authorized by Cancan that
work fine. The only one I seem to have any problems with is this one.
I've even reduced my ability.rb file to this:
class Ability
include CanCan::Ability
def initialize(user)
can :manage, :all
end
end
Any ideas on what might be causing this or where I should look?
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.