Given that you want additional data on members you need to make that a full model not just a join table.
Once you have that create one-to-many associations from members to each of the other tables, and if you like through asociations between the tables using members to join. Note that AS does not really allow direct editing of through associations. You will need to use the association between clubs and people and members on the update/create screens. Michael On Apr 19, 2011, at 12:31 PM, Lee wrote: > Hi, I am new to Rails and AS. Can someone please give me the correct > steps for defining a many-to-many association with Rails 3 and AS? I > have existing tables "people" and "clubs", with a join table of > "members". The members table has an additional field "role" that needs > to be user-editable. > > Thanks for any help or ideas. > > -- > 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. > -- 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.
