instance method call

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

call(env)

No documentation comment.

Parameters

env req
Source
# File actionpack/lib/action_controller/dispatcher.rb, line 104
    def call(env)
      if @@cache_classes
        @app.call(env)
      else
        Reloader.run do
          # When class reloading is turned on, we will want to rebuild the
          # middleware stack every time we process a request. If we don't
          # rebuild the middleware stack, then the stack may contain references
          # to old classes metal classes, which will b0rk class reloading.
          build_middleware_stack
          @app.call(env)
        end
      end
    end

Defined in actionpack/lib/action_controller/dispatcher.rb line 104 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Dispatcher

Type at least 2 characters to search.

↑↓ navigate · open · esc close