Convert nested Hash to HashWithIndifferentAccess and replace file upload hash with UploadedFile objects
# File lib/action_dispatch/http/upload.rb, line 36
36: def normalize_parameters(value)
37: if Hash === value && value.has_key?(:tempfile)
38: upload = value[:tempfile]
39: upload.extend(UploadedFile)
40: upload.original_path = value[:filename]
41: upload.content_type = value[:type]
42: upload
43: else
44: super
45: end
46: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.