The current view hints takes a primary child and a pair of aside Childs. Is there a reason for limiting this?
Sent from my iPhone Begin forwarded message: > From: kevinpfromnm <[email protected]> > Date: November 11, 2010 2:00:55 PM EST > To: Hobo Dev <[email protected]> > Subject: [Hobo Dev] Re: Remove ViewHints from Hobo 1.3? > Reply-To: [email protected] > > Maybe instead of this, have a couple polymorphic tags for each model > that defaults to a blank set. Then, if you want to show an > association you just have to override it and change the set to the > appropriate association. Puts it all in dryml, viewhints goes away > and it's much clearer to see how the different collections get added > and where (in the show-page tag). > > On Nov 7, 9:19 am, Owen <[email protected]> wrote: >> Since the only thing left in the Hobo 1.3 for Rails 3 ViewHints is the >> child relationahip hints, >> >> class UserHints < Hobo::ViewHints >> >> # >> children :primary_collection1, :aside_collection1, :aside_collection2 >> >> end >> >> Since we are using the locales file for alternative fields names and >> help, these are no longer in ViewHints. >> >> I would suggest moving elsewhere, into a common "ViewHint" tag, >> perhaps to application.dryml where one would be able to see all >> children viewhints at once. >> >> Since we are using the locales file for alternative fields names and >> help, these are no longer in ViewHints. >> >> How much effort would it be to git rid of ViewHints? >> >> -Owen > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Dev" 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/hobodev?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.
