Sha256: 799ea8cc91d132fe54cf63468380d7d7d70aa49e093b58904fb1328f715014b1
Contents?: true
Size: 413 Bytes
Versions: 51
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
51 entries across 51 versions & 7 rubygems