mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
@join_table_name is no longer used
This commit is contained in:
parent
59d54c3eba
commit
c5e912a8b3
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@ module ActiveRecord
|
||||||
attr_reader :join_table
|
attr_reader :join_table
|
||||||
|
|
||||||
def initialize(owner, reflection)
|
def initialize(owner, reflection)
|
||||||
@join_table_name = reflection.options[:join_table]
|
@join_table = Arel::Table.new(reflection.options[:join_table])
|
||||||
@join_table = Arel::Table.new(@join_table_name)
|
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue