aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-01-28 18:22:28 +0100
committerXavier Noria <fxn@hashref.com>2013-01-28 18:39:44 +0100
commit8fff05ad3212e4302f186ca154a120f00d1b6abd (patch)
treef25e121c58de1514c2b5cd8c76438f8cd1895b77
parent249f58b7ec0ab96893c01340881534ba3b46ced6 (diff)
downloadrails-8fff05ad3212e4302f186ca154a120f00d1b6abd.tar.gz
rails-8fff05ad3212e4302f186ca154a120f00d1b6abd.tar.bz2
rails-8fff05ad3212e4302f186ca154a120f00d1b6abd.zip
updates a dynamic method heredoc doc
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb4
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