Displaying 1 result from an estimated 1 matches for "image_file_data".
2006 Jul 03
7
form_remote_tag with multipart/form-data
...orm action="/home/do_image_upload" enctype="multipart/form-data"
method="post" onsubmit="new
Ajax.Request(''/home/do_image_upload'', {asynchronous:true,
evalScripts:true, parameters:Form.serialize(this)});
return false;">
<input id="image_file_data" name="image[file_data]" size="32" type="file">
<input name="commit" value="Upload" type="submit">
</form>
but when I take it for a spin params[:image][:file_data] is nil.
None of the image uploading howtos I''...