instance method
call
Ruby on Rails 3.0.20
Since v2.3.18 Last seen in v4.2.11.3Signature
call(env)
No documentation comment.
Parameters
-
envreq
Source
# File activerecord/lib/active_record/query_cache.rb, line 30
def call(env)
ActiveRecord::Base.cache do
@app.call(env)
end
end
Defined in activerecord/lib/active_record/query_cache.rb line 30
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::QueryCache