diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-06-13 16:06:41 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-06-13 16:06:41 -0700 |
commit | 96925570a14dc909daebeae8241fdf2bd2ab786f (patch) | |
tree | e65297476bd584667c62de96c6e1d8086475d16b | |
parent | f4767bc8448d3d606149618cb279234dfcf803e7 (diff) | |
download | rails-96925570a14dc909daebeae8241fdf2bd2ab786f.tar.gz rails-96925570a14dc909daebeae8241fdf2bd2ab786f.tar.bz2 rails-96925570a14dc909daebeae8241fdf2bd2ab786f.zip |
table name is cached on the class, so stop caching twice
-rw-r--r-- | activerecord/lib/active_record/reflection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index 82d728e2e9..2eefda1ca9 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -206,7 +206,7 @@ module ActiveRecord end def table_name - @table_name ||= klass.table_name + klass.table_name end def quoted_table_name |