rostock.informatik-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2009-Jan-23 20:49 UTC
Error: uninitialized constant Authlogic
Hello, I''m a Ruby / Rails beginner and tried to use the Authlogic plugin which I have found here: http://www.binarylogic.com/2008/11/3/tutorial-authlogic-basic-setup However I run into this error: uninitialized constant Authlogic Application Trace | Framework Trace | Full Trace D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ dependencies.rb:279:in `load_missing_constant'' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ dependencies.rb:468:in `const_missing'' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ dependencies.rb:480:in `const_missing'' app/models/user_session.rb:1 app/controllers/application.rb:12:in `current_user_session'' app/controllers/application.rb:17:in `current_user'' app/controllers/application.rb:32:in `require_no_user'' Perhaps you can point me somewhere to fix that. As I said, it''s all new... Lucas. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sounds like you are using the Gem and not the plugin. You might have forgot this: # config/environment.rb config.gem "authlogic" On Jan 23, 3:49 pm, "rostock.informa...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org" <rostock.informa...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hello, > > I''m a Ruby / Rails beginner and tried to use the Authlogic plugin > which I have found here:http://www.binarylogic.com/2008/11/3/tutorial-authlogic-basic-setup > > However I run into this error: > > uninitialized constant Authlogic > > Application Trace | Framework Trace | Full Trace > > D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ > dependencies.rb:279:in `load_missing_constant'' > D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ > dependencies.rb:468:in `const_missing'' > D:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/ > dependencies.rb:480:in `const_missing'' > app/models/user_session.rb:1 > app/controllers/application.rb:12:in `current_user_session'' > app/controllers/application.rb:17:in `current_user'' > app/controllers/application.rb:32:in `require_no_user'' > > Perhaps you can point me somewhere to fix that. As I said, it''s all > new... > > Lucas.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---