class method
self.new
Ruby on Rails 3.0.20
Since v3.0.20Signature
self.new(app, prepare_each_request = false)
No documentation comment.
Parameters
-
appreq -
prepare_each_requestopt = false
Source
# File actionpack/lib/action_dispatch/middleware/callbacks.rb, line 38
def initialize(app, prepare_each_request = false)
@app, @prepare_each_request = app, prepare_each_request
_run_prepare_callbacks
end
Defined in actionpack/lib/action_dispatch/middleware/callbacks.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Callbacks