Flowdock
method

call_app

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: Rails::Rack::Logger
call_app(env) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/rack/logger.rb, line 22
      def call_app(env)
        request = ActionDispatch::Request.new(env)
        path = request.filtered_path
        Rails.logger.info "\n\nStarted #{request.request_method} \"#{path}\" for #{request.ip} at #{Time.now.to_default_s}"
        @app.call(env)
      ensure
        ActiveSupport::LogSubscriber.flush_all!
      end
Register or log in to add new notes.