Skip to content

Commit 6935075

Browse files
committed
Remove confusing generated-code commentary
1 parent f5ef5ed commit 6935075

File tree

1 file changed

+4
-4
lines changed
  • activerecord/lib/active_record/connection_adapters/abstract

1 file changed

+4
-4
lines changed

activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ def included(base) #:nodoc:
99
def dirties_query_cache(base, *method_names)
1010
method_names.each do |method_name|
1111
base.class_eval <<-end_code, __FILE__, __LINE__ + 1
12-
def #{method_name}(*) # def update_with_query_dirty(*)
13-
clear_query_cache if @query_cache_enabled # clear_query_cache if @query_cache_enabled
14-
super # super
15-
end # end
12+
def #{method_name}(*)
13+
clear_query_cache if @query_cache_enabled
14+
super
15+
end
1616
end_code
1717
end
1818
end

0 commit comments

Comments
 (0)