Forum: Ruby on Rails Singular resource controller naming convention changed?

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.
3504745159d79c585e4f7df8df76aa10?d=identicon&s=25 Ingo Weiss (ingoweiss)
on 2007-06-07 19:03

singular resources used to assume singular controller naming, as in:

map.resources :session
GET    /session/ {:action=>"show", :controller=>"session"}

did this change in edge? My routes broke after updating, and now I get:

GET    /session/ {:action=>"show", :controller=>"sessions"}

('sessions' instead of 'session')

Was that a decision made, or might this be a bug?

10c122532c00465b809dbf9dc35806a7?d=identicon&s=25 Paolo Negri (Guest)
on 2007-06-07 20:57
(Received via mailing list)
I think is a wanted change.

3504745159d79c585e4f7df8df76aa10?d=identicon&s=25 Ingo Weiss (ingoweiss)
on 2007-06-08 14:22
Thanks, Paolo! This thread explains it!

This topic is locked and can not be replied to.