You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Rails 3.2, ruby 2.1, rolify 4.0.0, Mongoid 3.1.6 I'm seeing the undefined local variable issue #57 again:
I have rolify in the appropriate spot (after include Mongoid::Document) i.e.:
include Mongoid::Document
include ActiveModel::Validations
include Mongoid::Timestamps
include ActiveModel::SecurePassword
include Mongoid::Paperclip
...
rolify
The problem is resolved when I add extend Rolify i.e.:
include Mongoid::Document
include ActiveModel::Validations
include Mongoid::Timestamps
include ActiveModel::SecurePassword
include Mongoid::Paperclip
...
extend Rolify
rolify
The text was updated successfully, but these errors were encountered:
Using Rails 3.2, ruby 2.1, rolify 4.0.0, Mongoid 3.1.6 I'm seeing the undefined local variable issue #57 again:
I have rolify in the appropriate spot (after include Mongoid::Document) i.e.:
The problem is resolved when I add extend Rolify i.e.:
The text was updated successfully, but these errors were encountered: