How will Rails 2.0 build prefix''s into nexted paths?

KathysKode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Fri, 16 Nov 2007 14:01:07 -0000

I''ve recently observed a reply by David Black (
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/fea4376838ac9396?hl=en
) where he described that a routing statement like this;

   map.resources :projects do |p|
     p.resources :iterations, :name_prefix => "projects_"
   end
   map.resources :iterations

in Rails 2.0 will automatically put in the :name_prefix =>
"projects".
As I am going to have to rewrite all routes in a HUGE Rails
application to get ready for 2.0 I''d like to know FOR SURE will this
''automatic'' prefix be singular or plural?
Thank you,
Kathy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---