Sha256: 9ebe598d52534e18a635f82e812c492fcc07d3abe5804fda8eaf696ab0e8f16f
Contents?: true
Size: 413 Bytes
Versions: 77
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true 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
77 entries across 74 versions & 7 rubygems