Displaying 1 result from an estimated 1 matches for "fiddlertool".
2008 Jul 08
6
Data type of input type file
If I have a form that includes something like:
<input type="file" name="file_content" />
and I try to get at the file content using:
params[''file_content''].read
I get:
undefined method `read'' for "filename":String
where "filename" is the *NAME* of the file that was assigned to
"file_content" in the input tag.