instance method
delete
Ruby on Rails 4.0.13
Since v3.1.12 Last seen in v4.2.9Signature
delete(sql_key)
No documentation comment.
Parameters
-
sql_keyreq
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 513
def delete(sql_key)
dealloc cache[sql_key]
cache.delete sql_key
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 513
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::StatementPool