> Alternatively, you can create an owned index action where you'd get a
> url like /parents/parent-id/childrenname that would show child
> elements paginated.

This is definitely the simplest way to go. Note that the owner object (i.e. the 
same object that the show-page was showing, when trying to do this with 
children) is also available as @foo, where foo is the name of the belongs_to 
relationship

So if you had BlogPost has_many :comments, and Comment belongs_to :post, the 
blog post record is available on the /blog_posts/:id/comments page, as @post

Tom

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to