Singular resource controller naming convention changed?


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?


I think is a wanted change.


Thanks, Paolo! This thread explains it!


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs