aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/through_association_scope.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-14 19:32:09 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-14 19:32:09 -0700
commitc09a5ffea7780a0f940f3f963c892f0ae1316802 (patch)
treee5908025ddccf62dc183f6e6ced4d87bf265b28a /activerecord/lib/active_record/associations/through_association_scope.rb
parenta9f9ae385e2145b7f0d1ae43a7b66ed280b220b9 (diff)
parent6eee1dd62c85e23d84f16e8f300d8aba77bd5c64 (diff)
downloadrails-c09a5ffea7780a0f940f3f963c892f0ae1316802.tar.gz
rails-c09a5ffea7780a0f940f3f963c892f0ae1316802.tar.bz2
rails-c09a5ffea7780a0f940f3f963c892f0ae1316802.zip
Merge branch 'arel'
Diffstat (limited to 'activerecord/lib/active_record/associations/through_association_scope.rb')
-rw-r--r--activerecord/lib/active_record/associations/through_association_scope.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/through_association_scope.rb b/activerecord/lib/active_record/associations/through_association_scope.rb
index 16b6123439..1924156e2a 100644
--- a/activerecord/lib/active_record/associations/through_association_scope.rb
+++ b/activerecord/lib/active_record/associations/through_association_scope.rb
@@ -42,7 +42,7 @@ module ActiveRecord
end
def construct_from
- @reflection.quoted_table_name
+ @reflection.table_name
end
def construct_select(custom_select = nil)