I am having a weird issue with Authlogic in Rails 3. I followed this how-to here but I get:
NoMethodError in PeopleController#my
undefined method `login_field' for Object:Class
app/controllers/application_controller.rb:33:in `current_session'
app/controllers/application_controller.rb:39:in `current_user'
app/controllers/application_controller.rb:44:in `require_user'
Any ideas how to get this fixed?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…