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
1 changed files with 0 additions and 4 deletions

View File

@ -73,10 +73,6 @@ module ActiveRecord
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