Permalink
Browse files

Remove confusing generated-code commentary

  • Loading branch information...
1 parent f5ef5ed commit 6935075c8fe844dbc59ede9bde27e53412210db0 @jeremy jeremy committed Oct 29, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
@@ -9,10 +9,10 @@ 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(*)
- clear_query_cache if @query_cache_enabled # clear_query_cache if @query_cache_enabled
- super # super
- end # end
+ def #{method_name}(*)
+ clear_query_cache if @query_cache_enabled
+ super
+ end
end_code
end
end

0 comments on commit 6935075

Please sign in to comment.