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

This commit is contained in:
Jon Leighton 2010-12-23 20:50:51 +00:00
parent 93861d19e3
commit d7a659334c

@ -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