Re: [Rails] Re: Refactor Link Table relationsip

2014-07-12 Thread Colin Law
On 11 July 2014 23:18, Jan Yo li...@ruby-forum.com wrote: Colin Law wrote in post #1152183: On 11 July 2014 22:26, Jan Yo li...@ruby-forum.com wrote: Here's the active record relation: customer has many memberships membership_role belongs to membership and role (link table) Is there a

[Rails] Re: Refactor Link Table relationsip

2014-07-11 Thread Jan Yo
Colin Law wrote in post #1152183: On 11 July 2014 22:26, Jan Yo li...@ruby-forum.com wrote: Here's the active record relation: customer has many memberships membership_role belongs to membership and role (link table) Is there a more compact, cleaner way to write this? Specify membership