@join_table_name is no longer used
This commit is contained in:
parent
59d54c3eba
commit
c5e912a8b3
@ -5,8 +5,7 @@ class HasAndBelongsToManyAssociation < AssociationCollection #:nodoc:
|
||||
attr_reader :join_table
|
||||
|
||||
def initialize(owner, reflection)
|
||||
@join_table_name = reflection.options[:join_table]
|
||||
@join_table = Arel::Table.new(@join_table_name)
|
||||
@join_table = Arel::Table.new(reflection.options[:join_table])
|
||||
super
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user