Skip to content
Browse files

table name is cached on the class, so stop caching twice

  • Loading branch information...
1 parent f4767bc commit 96925570a14dc909daebeae8241fdf2bd2ab786f @tenderlove tenderlove committed Jun 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/reflection.rb
View
2 activerecord/lib/active_record/reflection.rb
@@ -206,7 +206,7 @@ def build_association(attributes, &block)
end
def table_name
- @table_name ||= klass.table_name
+ klass.table_name
end
def quoted_table_name

0 comments on commit 9692557

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