提交 7af9ec8a 编写于 作者: A Aaron Patterson

construct_joins no longer needs an argument

上级 2e7da54f
......@@ -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.
先完成此消息的编辑!
想要评论请 注册