@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

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