class method
self.new
Ruby on Rails 5.2.8.1
Since v4.1.16Signature
self.new(*)
No documentation comment.
Parameters
-
argsrest
Source
# File activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb, line 51
def initialize(*)
super
@query_cache = Hash.new { |h, sql| h[sql] = {} }
@query_cache_enabled = false
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb line 51
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::QueryCache