aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-06-13 16:07:11 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-06-13 16:07:11 -0700
commit383842d079e74de49dbe81ea4c2db61f79c665d9 (patch)
tree23f7f2537f0fce670a7f16b9d58fb7ea697e4938 /activerecord/lib/active_record
parent96925570a14dc909daebeae8241fdf2bd2ab786f (diff)
downloadrails-383842d079e74de49dbe81ea4c2db61f79c665d9.tar.gz
rails-383842d079e74de49dbe81ea4c2db61f79c665d9.tar.bz2
rails-383842d079e74de49dbe81ea4c2db61f79c665d9.zip
quoted table name is also cached
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/reflection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index 2eefda1ca9..8a9488656b 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -210,7 +210,7 @@ module ActiveRecord
end
def quoted_table_name
- @quoted_table_name ||= klass.quoted_table_name
+ klass.quoted_table_name
end
def join_table