[Rails] Re: Trying to pick a model setup without ridiculous routes
Have a look at this article:
http://weblog.jamisbuck.org/2007/2/5/nesting-resources
Short version: it's better to limit nesting to one level.
Shallow nesting might also be helpful. See section 3.8.4:
http://guides.rubyonrails.org/routing.html#restful-routing-the-rails-default
--
miles
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home