aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/lib/active_record/associations/through_association_scope.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations/through_association_scope.rb b/activerecord/lib/active_record/associations/through_association_scope.rb
index 7a0fa08f66..fa84de533f 100644
--- a/activerecord/lib/active_record/associations/through_association_scope.rb
+++ b/activerecord/lib/active_record/associations/through_association_scope.rb
@@ -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