提交 b1447d90 编写于 作者: A Aaron Patterson 提交者: Vijay Dev

explicitly set prefix

上级 0042054e
......@@ -22,7 +22,7 @@ class JoinAssociation < JoinPart # :nodoc:
attr_reader :aliased_prefix, :aliased_table_name
delegate :options, :through_reflection, :source_reflection, :to => :reflection
delegate :table, :table_name, :to => :parent, :prefix => true
delegate :table, :table_name, :to => :parent, :prefix => :parent
def initialize(reflection, join_dependency, parent = nil)
reflection.check_validity!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册