Almost sounds like bread crumbs... if you're going to have it in more
than one area, probably a tag to display it and a parent method on the
models that points up the chain.  Then you can just call the tag with
the model and have it go up the parent until it gets a model that
doesn't have a parent method.

On Jun 30, 2:34 pm, Daniel M <[email protected]> wrote:
> Hi!
>
> I was wondering how is the best way to extend the back_link the idea
> is to link to another models beside the Parent (Model) to have more
> than one level on the back link.
>
> Example:
>
> Building has_many apartments
> Apartment has_many rooms
>
> the back link at Room show_page should be something like : « Building
> 1 « Apartment 1 « Room 1
>
> Any Ideas?
>
> Thanks in advance.
> Best Regards.
--~--~---------~--~----~------------~-------~--~----~
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