On Nov 14, 11:13 pm, Romain Biard <romain.bi...@gmail.com> wrote:
> Hi everybody,
>
> I've installed Authlogic on Rails 3 following the Railscast (http://
> railscasts.com/episodes/160-authlogic), and the resources I was able
> to find on the web, but I'm facing a problem.
>
> Once I've generated the user_sessions controller and mapped the login
> and logout routes, I get an error if I try to load the login page :
> uninitialized constant UserSessionsController::UserSession
> app/controllers/user_sessions_controller.rb:11:in `new'
>
> The user_sessions model is really simple :
> class UserSession < Authlogic::Session::Base
> end
>
> But it looks like this class declaration is not considered by Rails...
>
Where is that file? is it in user_session.rb somewhere on the loadpath
(not user_sessions.rb)

Fred

> Does anyone have an idea ?
>
> Thx by advance for your help.
> Romain

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to