Parent

Methods

Files

Class 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
26:     def initialize(app)
27:       @app = app
28:     end

Public Instance Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.