Topic: Is it possible to upload files using form_remote_tag in rails 2.3.2

Is it possible to upload files using form_remote_tag in rails 2.3.2.
If please explain me the steps to follow.

Thanks in advance
Shameer Melethil

Re: Is it possible to upload files using form_remote_tag in rails 2.3.2

Here are a few links that you should check out...they should get you started in the right direction. Both plugins will be a big help to you.

http://thoughtbot.com/projects/paperclip
http://www.reinventar.com/2009/03/uploa … -on-rails/

http://github.com/technoweenie/attachme … ree/master
http://www.jumbabox.com/2008/06/attachment_fu-tutorial/

Boo.

Re: Is it possible to upload files using form_remote_tag in rails 2.3.2

s.cannon wrote:

Here are a few links that you should check out...they should get you started in the right direction. Both plugins will be a big help to you.

http://thoughtbot.com/projects/paperclip
http://www.reinventar.com/2009/03/uploa … -on-rails/

http://github.com/technoweenie/attachme … ree/master
http://www.jumbabox.com/2008/06/attachment_fu-tutorial/

Thanks for your help .This is ok in the case of form_for but here I am using from_remote_tag
Is it possible with remote_form_tag?

Re: Is it possible to upload files using form_remote_tag in rails 2.3.2

No, you can't do uploads via Ajax due to security limitations imposed by the browser. You'll need to look at either a flash based (like SWFUpload) or some kind of iframe technique to handle it.

Rob Anderton
TheWebFellas