instance method
call
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.2.9Signature
call(env)
Implements call according to the Rack API. It simply dispatches the request to the underlying middleware stack.
Parameters
-
envreq
Source
# File railties/lib/rails/application.rb, line 94
def call(env)
env["ORIGINAL_FULLPATH"] = build_original_fullpath(env)
env["ORIGINAL_SCRIPT_NAME"] = env["SCRIPT_NAME"]
super(env)
end
Defined in railties/lib/rails/application.rb line 94
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Application