NESTED routes?

0 views
Skip to first unread message

David Zhu

unread,
Apr 12, 2010, 8:35:12 PM4/12/10
to Ruby on Rails: Talk
Hey everyone,

What if i need to do this in my routes.rb--

a has many b, b has many c, and c has many d

How on earth do i define the nested routes like that? Thanks

David Zhu

unread,
Apr 12, 2010, 10:13:17 PM4/12/10
to Ruby on Rails: Talk
nvm heres a great link-- http://weblog.jamisbuck.org/2007/2/5/nesting-resources

Excellent explanation, worked for me at least :D

Anthony

unread,
Apr 13, 2010, 2:31:19 AM4/13/10
to rubyonra...@googlegroups.com
yeah ,very good

2010/4/13 David Zhu <dzwestw...@gmail.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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply all
Reply to author
Forward
0 new messages