Flowdock
method

before_dispatch

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Rails::Rack::Logger

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

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.filtered_path

        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.