No, you're not really *supposed* to declare them on multiple lines.
But at the very least, doing so should pick a declaration (first or
last) and stick with it rather than mix-n-match. A Lighthouse ticket
will be appreciated.
--Matt Jones
On Apr 30, 2010, at 5:07 PM, Henry Baragar wrote:
I don't think that you are allowed to "children" directives.
Try:
children :assoc1s, :assoc2s
This is what works in my viewhints.
Henry
On 10-04-30 04:51 PM, Chris Apolzon wrote:
I believe I've run into a bug where including 2 different children in
a view hints file doesn't render as expected.
For example,
User model which has_many :assoc1s and has_many :assoc2s
- My model is actually a has_many :through relationship in both
cases
In user_hints.rb if you add:
children :assoc1s
children :assoc2s
what you actually get in the view page is the breadcrumb is rendered
for the :assoc1 relationship, while the actual content includes
the :assoc2 relationship children but nothing for :assoc1. If you
remove either of them, the view page is rendered as expected.
I can post code snippets if that is helpful, or if anyone confirms
this is a bug I can report the bug to lighthouse.
Thanks.
--
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
.
--
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.