RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: atabone
Hi,
I am using cancan 1.6.7 on a Rails 2.2.3 app.
My ability class is as follows:
class Ability include CanCan::Ability def initialize(user) can :read, :all end end
When loading a page, I am getting the following error: NameError in AController#edit uninitialized constant CanCan::Ability::I18n
Any one knows why?
Thanks.
Hi,
I am using cancan 1.6.7 on a Rails 2.2.3 app.
My ability class is as follows:
When loading a page, I am getting the following error:
NameError in AController#edit
uninitialized constant CanCan::Ability::I18n
Any one knows why?
Thanks.