> > Hobos supporting plain assocs by offering an automagically generated
> > dropdown.
>
> I can't think of a decent equivalent for polymorphic menus. I think it  
> might be a design mistake if your app needs this. Whenever I've needed  
> polymorphic associations I find I want to edit them from the other end.

I must consider this. Maybe it's just my fault ;-)

> For example, a couple of common use cases are a generic comment model,  
> and tagging. In both cases you add the comment or the tag to the thing  
> you want to comment/tag. You don't start with the comment or tag and  
> indicate what thing it should belong to.
>
> Do you have a counter example? What kind of an input control would you  
> like to see.

But if I'd have a list of comment I still would like a links to the
commented things.

> > Having a polymorphic associations I get an input box for the type
> > field…
>
> You could declare never_show on the field

You mean something inside fields do … end?

Thanks for your thoughts.

Regards,

Gert
--~--~---------~--~----~------------~-------~--~----~
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