Parent

Methods

Files

Class/Module Index [+]

Quicksearch

ActiveRecord::QueryCache

Active Record Query Cache

Public Class Methods

new(app) click to toggle source
# File lib/active_record/query_cache.rb, line 26
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/active_record/query_cache.rb, line 30
def call(env)
  ActiveRecord::Base.cache do
    @app.call(env)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.