Ditto
HABTM is supposed to be deprecated, and have been using hints from http://blog.hasmanythrough.com/2007/10/30/self-referential-has-many-through. I've also been struggling with this for days... Setting the form_ui to :select for the association column puts up check boxes (that hopefully I can filter at some point with options_for_association_conditions), but when I select or deselect them in edit the updates are not saved. Trying to debug the code it seems that this does not happen as the code see these associations a proxy associations. Other approaches seem to be related to using nested forms, but the interface is way more clunky. What I really want is for there to be another list config for nested (config.nested.columns) that has the first column as check boxes so you can turn on and off the relevant associations, and also have options_for_nested_associations_conditions to allow you to filter the possibilities.......however I have 5 days of rails under my belt at this point and would not know where to start.... Also as an aside but related: I'm trying to use the nested_has_many_though. Anyone out there that can point me in the right direction would be real grand ! Thanks -Simon On Mar 24, 5:01 am, Wes Gamble <[email protected]> wrote: > Does AS handle has_many :throughrelationships better in v. 2.1 and above? > > My understanding was that is was better to use HABTM instead of HM:T to > represent a many-to-many relationship for the purposes of having > subforms and everything. > > Thanks, > Wes --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
