Forum: Ruby on Rails Restore password without session initialized

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jose Antonio P. (Guest)
on 2008-11-06 11:27

 Y was triying to implement in my application the fact of remenber or
generate a new password. When you try to loggin in there, if the
password is no correct, the application shows the link "Remenber
password", having the route /users/remind. The problem is when a try to
go to this link, appear an error like this:

 undefined local variable or method `new_session_path' for

lib/authenticated_system.rb:68:in `access_denied'
lib/authenticated_system.rb:65:in `access_denied'
lib/role_requirement_system.rb:116:in `access_denied'
lib/role_requirement_system.rb:121:in `check_roles'

 I alredy have installed the plugin Authenticated System. The actions I
have taken:

 before_filter :authorize, :except => [:login, :remind] in

 The method authorize look if a session is open. If not, redirects to
method login.

 I want to know if I'm doing anything wrong. Thaks.

 PS: Sorry about my english. It's so poor.
This topic is locked and can not be replied to.