I know how to setup a roo_url using map.root in "routes.rb". The issue I'm currently having is as follows:
I walking through this Rails cast regarding Authlogic: http://railscasts.com/episodes/160-authlogic I decided that I make my map.root the "login" page, that is, the index.html.erb of the user_sessions_controller. So, what I did is typed the following in the "routes.rb": map.root :controller => "user_sessions" But, get the following: http://pastie.org/1050272 When I changed: @user_sessions = UserSession.all To: @user_sessions = UserSession.find[:all], I got the following: http://pastie.org/1050274 Provided that, for example I have a users_controller, and when in "routes.rb" I do: map.root :controller => "users", I get the expected output and it works fine. Isn't that weird? Appreciate your support on this. -- 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.

