Sha256: a68c7333e3d5dd4eed8234b556d6411ff8189bf0dad9858f13f2c4f1d8b8a072
Contents?: true
Size: 382 Bytes
Versions: 20
Compression:
Stored size: 382 Bytes
Contents
module ActiveRecord class Migration module JoinTable #:nodoc: private def find_join_table_name(table_1, table_2, options = {}) options.delete(:table_name) || join_table_name(table_1, table_2) end def join_table_name(table_1, table_2) ModelSchema.derive_join_table_name(table_1, table_2).to_sym end end end end
Version data entries
20 entries across 20 versions & 1 rubygems