Class Index [+]

Quicksearch

ActionDispatch::Http::Upload

Private Instance Methods

normalize_parameters(value) click to toggle source

Convert nested Hash to HashWithIndifferentAccess and replace file upload hash with UploadedFile objects

    # File lib/action_dispatch/http/upload.rb, line 37
37:       def normalize_parameters(value)
38:         if Hash === value && value.has_key?(:tempfile)
39:           UploadedFile.new(value)
40:         else
41:           super
42:         end
43:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.