If I have a form that includes something like:
and I try to get at the file content using:
undefined method `read’ for “filename”:String
where “filename” is the NAME of the file that was assigned to
“file_content” in the input tag.
Apparently Ruby thinks my file is a string and that consequently it
has no ‘read’ method. What am I doing wrong and how can I get at the
actual file content?
Thanks for any input.