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 145 145: def many_through_many(name, through, opts={}, &block) 146: associate(:many_through_many, name, opts.merge(through.is_a?(Hash) ? through : {:through=>through}), &block) 147: end