instance method
clear_cache!
Ruby on Rails 4.0.13
Since v4.0.13 Last seen in v5.2.8.1Signature
clear_cache!()
Clears the prepared statements cache.
Source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 175
def clear_cache!
@statements.clear
end
Defined in activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb line 175
· View on GitHub
· Improve this page
· Find usages on GitHub