Skip to content
Browse files

updates a dynamic method heredoc doc

  • Loading branch information...
1 parent 249f58b commit 8fff05ad3212e4302f186ca154a120f00d1b6abd @fxn fxn committed Jan 28, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
View
4 activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
@@ -9,9 +9,9 @@ def included(base) #:nodoc:
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

0 comments on commit 8fff05a

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