Flowdock
method

normalize_keys

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: Renderer
normalize_keys(env) private

No documentation

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

Hide source
# File actionpack/lib/action_controller/renderer.rb, line 85
      def normalize_keys(env)
        new_env = {}
        env.each_pair { |k, v| new_env[rack_key_for(k)] = rack_value_for(k, v) }
        new_env["rack.url_scheme"] = new_env["HTTPS"] == "on" ? "https" : "http"
        new_env
      end
Register or log in to add new notes.