Method: Sequel::Model::Associations::ManyToManyAssociationReflection#default_join_table

Defined in:
lib/sequel/model/associations.rb

#default_join_tableObject

Default name symbol for the join table.



1316
1317
1318
# File 'lib/sequel/model/associations.rb', line 1316

def default_join_table
  [self[:class_name], self[:model].name].map{|i| underscore(pluralize(demodulize(i)))}.sort.join('_').to_sym
end