Flowdock
method

before_dispatch

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: Rails::Rack::Logger
before_dispatch(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 20
      def before_dispatch(env)
        request = ActionDispatch::Request.new(env)
        path = request.fullpath

        info "\n\nStarted #{request.request_method} \"#{path}\" " \
             "for #{request.ip} at #{Time.now.to_default_s}"
      end
Register or log in to add new notes.