Jo Bu wrote in post #969496:
> Hey guys,
> I'm quite new in RoR, so please excuse me when I may ask weird
> questions.
>
> I am working on a database frontend. The layout looks mostly like
> a has_many bs
> b has_many cs
> c has_many ds
> and so on. Now I want to do some selection. Maybe I want to see all ds
> belonging to a specific b. I would like to do it like:
> http://my.host/bs/1/ds

You want nested resources.  Read the routing docs.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to