Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

exception when i use authlogic for mongomapper #306

mrli opened this Issue Mar 6, 2012 · 1 comment


None yet
1 participant

mrli commented Mar 6, 2012

in my enviroment.rb

config.gem "authlogic"

in my models/user.rb

class User
include MongoMapper::Document

key :name, String

key :crypted_password, String
key :password_salt, String
key :persistence_token, String
key :single_access_token, String
key :perishable_token, String


when i restart my server i got "/usr/local/Cellar/ruby/1.9.2-p290/lib/ruby/gems/1.9.1/gems/mongo_mapper-0.8.6/lib/mongo_mapper/plugins/dynamic_querying.rb:37:in method_missing': undefined local variable or methodacts_as_authentic' for User:Class (NameError)" exception !

what should do ? help me

mrli commented Mar 6, 2012

also i have excute gem command " gem install authlogic -v 2.1.6" then "gem list authlogic" i got list "authlogic (2.1.6)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment