Permalink
Browse files

Remove construct_from from ThroughAssociationScope - it's not called …

…from anywhere
  • Loading branch information...
1 parent 93861d1 commit d7a659334cf5b342156682758f971308021deb4a @jonleighton jonleighton committed Dec 23, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 activerecord/lib/active_record/associations/through_association_scope.rb
@@ -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

0 comments on commit d7a6593

Please sign in to comment.