Ben Wilson wrote:
> Further information on my inability to get Restful Authentication to
> work:
> 
> /home/.../.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:102:in `const_missing'
> app/models/user.rb:24
> lib/authenticated_system.rb:125:in `login_from_cookie'
> lib/authenticated_system.rb:12:in `current_user'
> lib/authenticated_system.rb:6:in `logged_in?'
> (eval):2:in `send'
> (eval):2:in `logged_in?'
> app/views/shared/_entryway.html.haml:3
> app/views/layouts/standard.html.haml:15
> 
> This is from running "script/server RAILS_ENV=production" when I just
> run script/server, things work fine on the prod server. Both
> environments work fine on the dev server...

Are you using AASM by any chance?

You might need to add "require 'aasm'" in your application.rb.

Regards,

rp8
=======================
http://competo.com
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to