提交 6935075c 编写于 作者: J Jeremy Kemper

Remove confusing generated-code commentary

上级 f5ef5ed3
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册