instance method
clear
Ruby on Rails 4.0.13
Since v3.1.12 Last seen in v4.2.9Signature
clear()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 506
def clear
cache.each_value do |stmt_key|
dealloc stmt_key
end
cache.clear
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 506
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::StatementPool