search for: postnew

Displaying 1 result from an estimated 1 matches for "postnew".

Did you mean: posted
2006 Feb 19
2
Prototype Ajax + File Uploading-- How?
...ng rails & prototype, and somewhere there''s a disconnect. I''m reasonably convinced the file upload isnt being sent at all, or if it is, Rails has absolutely no idea. The form itself heads with: <form onsubmit="new Ajax.Request(''create'', {onSuccess: postNew, parameters: Form.serialize(this)} ); return false;"> <input type="file" name="if" id="image_file"> ..... </form> The logs show everything else getting submitted normally, but I''m not seeing params[:if] or params[:image_file] (not sure whi...