Flowdock
method

multipart_requestify

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Integration::Session
multipart_requestify(params, first=true) 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/integration.rb, line 368
        def multipart_requestify(params, first=true)
          returning Hash.new do |p|
            params.each do |key, value|
              k = first ? CGI.escape(key.to_s) : "[#{CGI.escape(key.to_s)}]"
              if Hash === value
                multipart_requestify(value, false).each do |subkey, subvalue|
                  p[k + subkey] = subvalue
                end
              else
                p[k] = value
              end
            end
          end
        end
Register or log in to add new notes.