Flowdock
dirties_query_cache(base, *method_names) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 14
        def dirties_query_cache(base, *method_names)
          method_names.each do |method_name|
            base.class_eval "def \#{method_name}_with_query_dirty(*args)        # def update_with_query_dirty(*args)\nclear_query_cache if @query_cache_enabled       #   clear_query_cache if @query_cache_enabled\n\#{method_name}_without_query_dirty(*args)       #   update_without_query_dirty(*args)\nend                                               # end\n#\nalias_method_chain :\#{method_name}, :query_dirty  # alias_method_chain :update, :query_dirty\n", __FILE__, __LINE__
          end
        end
Register or log in to add new notes.