instance method
clear_cache!
Ruby on Rails 3.1.12
Since v3.1.12Signature
clear_cache!()
Clear any caching the database adapter may be doing, for example clearing the prepared statement cache. This is database specific.
Source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 176
def clear_cache!
# this should be overridden by concrete adapters
end
Defined in activerecord/lib/active_record/connection_adapters/abstract_adapter.rb line 176
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::AbstractAdapter