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.
Ingo W. (Guest)
on 2007-06-07 21: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?

Paolo N. (Guest)
on 2007-06-07 22:57
(Received via mailing list)
I think is a wanted change.

Ingo W. (Guest)
on 2007-06-08 16:22
Thanks, Paolo! This thread explains it!

This topic is locked and can not be replied to.