Module | Sequel::Plugins::ManyThroughMany::ClassMethods |
In: |
lib/sequel/plugins/many_through_many.rb
|
Create a many_through_many association. Arguments:
If a hash is provided, the following keys are respected when using eager_graph:
# File lib/sequel/plugins/many_through_many.rb, line 143 143: def many_through_many(name, through, opts={}, &block) 144: associate(:many_through_many, name, opts.merge(:through=>through), &block) 145: end