Hi, 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? Ingo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Paolo Negri
2007-Jun-07 18:56 UTC
Re: Singular resource controller naming convention changed?
I think is a wanted change. http://groups.google.com/group/rubyonrails-core/browse_thread/thread/b55030e18e52bc98 Paolo On 07/06/07, Ingo Weiss <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi, > > 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? > > Ingo > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ingo Weiss
2007-Jun-08 12:22 UTC
Re: Singular resource controller naming convention changed?
Thanks, Paolo! This thread explains it! Ingo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---