It seems to be a restful_authentication bug (was Re: [Rails] Re: named route new_session not working

On 1/16/08, Jimmy P. [email protected] wrote:

      redirect_to new_session # <---- NOTICE

#Admin::CategoriesController:0x18e93dc
end

rake routes:

new_session GET /session/new {:action=>“new”,
:controller=>“sessions”}

Seems like it should work. Am I missing something?

Ahh, information.

Okay, this definitely looks like a bug in the restful_authentication
plugin.
Look at the first comment here:
http://agilewebdevelopment.com/plugins/restful_authentication

This seems to have been introduced lately, the last time I used
restful_authentication it generated
redirect_to :controller => ‘/session’, :action => ‘new’

I don’t know if Rick has an official bug tracking site for his plugins
(you’d think he’d be using Lighthouse ) so I’ve changed the subject
in hopes he might be more likely to read this.

Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/