GroupedScope Plugin For ActiveRecord
Jack has_many :things is an introductory article for GroupedScope plugin. GroupedScope allows you to extend has_many style associations to use the foreign keys of all the group members. It maintains existing association behavior while allowing new grouped calls that can use existing association extensions and named scopes.
Post a comment