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

construct_joins no longer needs an argument

上级 18402b5d
......@@ -54,7 +54,7 @@ def construct_select(custom_select = nil)
custom_select || @reflection.options[:select] || "#{distinct}#{@reflection.quoted_table_name}.*"
end
def construct_joins(custom_joins = nil)
def construct_joins
right = @reflection.through_reflection.klass.arel_table
left = @reflection.klass.arel_table
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册