1
0
Fork 0
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:
Jon Leighton 2011-01-26 22:40:05 +00:00
parent 59d54c3eba
commit c5e912a8b3

View file

@ -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