Skip to content
This repository
Browse code

Remove construct_from from ThroughAssociationScope - it's not called …

…from anywhere
  • Loading branch information...
commit d7a659334cf5b342156682758f971308021deb4a 1 parent 93861d1
Jon Leighton authored December 23, 2010
4  activerecord/lib/active_record/associations/through_association_scope.rb
@@ -73,10 +73,6 @@ def construct_owner_attributes(reflection)
73 73
         end
74 74
       end
75 75
 
76  
-      def construct_from
77  
-        @reflection.table_name
78  
-      end
79  
-
80 76
       def construct_select(custom_select = nil)
81 77
         distinct = "DISTINCT #{@reflection.quoted_table_name}.*" if @reflection.options[:uniq]
82 78
         custom_select || @reflection.options[:select] || distinct

0 notes on commit d7a6593

Please sign in to comment.
Something went wrong with that request. Please try again.