the file uploading doesn't work in remote_form_for tag

Hi all, Greetings, i have tried to upload a file through the remote_form_for tag, but not getting the file uploaded, and getting number of errors, Pls guide me in this directions Regards Saurabh Purnaye +919922907342 saurabh.purnaye@gmail.com

Check this out for a clever iFRAME based approach which works :slight_smile:

http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent

ok .. I m really thankful to you for your guidance and support!!! I will try by other ways.. Thanks again!!! Regards Saurabh Purnaye

Hi Saurabh,

You can not use a multipart form with Ajax. Please look here to accomplish what you want

Brian