Flowdock
method

multipart_requestify

Importance_0
v2.3.8 - 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 416
        def multipart_requestify(params, first=true)
          returning Hash.new do |p|
            params.each do |key, value|
              k = first ? key.to_s : "[#{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.