提交 c5e912a8 编写于 作者: J Jon Leighton

@join_table_name is no longer used

上级 59d54c3e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册