Flowdock
method

complete

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::QueryCache
complete(state) 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/query_cache.rb, line 35
    def self.complete(state)
      enabled, connection_id = state

      ActiveRecord::Base.connection_id = connection_id
      ActiveRecord::Base.connection.clear_query_cache
      ActiveRecord::Base.connection.disable_query_cache! unless enabled
    end
Register or log in to add new notes.