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

Remove construct_from from ThroughAssociationScope - it's not called from anywhere

上级 93861d19
......@@ -73,10 +73,6 @@ def construct_owner_attributes(reflection)
end
end
def construct_from
@reflection.table_name
end
def construct_select(custom_select = nil)
distinct = "DISTINCT #{@reflection.quoted_table_name}.*" if @reflection.options[:uniq]
custom_select || @reflection.options[:select] || distinct
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册