Flowdock
method

compute_tags

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: Rails::Rack::Logger
compute_tags(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 31
      def compute_tags(env)
        request = ActionDispatch::Request.new(env)

        @tags.collect do |tag|
          case tag
          when Proc
            tag.call(request)
          when Symbol
            request.send(tag)
          else
            tag
          end
        end
      end
Register or log in to add new notes.