diff options
author | Xavier Noria <fxn@hashref.com> | 2013-01-28 18:22:28 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-01-28 18:39:44 +0100 |
commit | 8fff05ad3212e4302f186ca154a120f00d1b6abd (patch) | |
tree | f25e121c58de1514c2b5cd8c76438f8cd1895b77 /activerecord | |
parent | 249f58b7ec0ab96893c01340881534ba3b46ced6 (diff) | |
download | rails-8fff05ad3212e4302f186ca154a120f00d1b6abd.tar.gz rails-8fff05ad3212e4302f186ca154a120f00d1b6abd.tar.bz2 rails-8fff05ad3212e4302f186ca154a120f00d1b6abd.zip |
updates a dynamic method heredoc doc
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb b/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb index 095e027f94..41e07fbda9 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb @@ -9,9 +9,9 @@ module ActiveRecord def dirties_query_cache(base, *method_names) method_names.each do |method_name| base.class_eval <<-end_code, __FILE__, __LINE__ + 1 - def #{method_name}(*) # def update_with_query_dirty(*args) + def #{method_name}(*) # def update_with_query_dirty(*) clear_query_cache if @query_cache_enabled # clear_query_cache if @query_cache_enabled - super # update_without_query_dirty(*args) + super # super end # end end_code end |