# File\_column + form\_remote\_tag

**URL:** <https://www.ruby-forum.com/t/file-column-form-remote-tag/100888>\
**Category:** Rails\
**Created:** [February 4, 2006, 3:46am UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888 "2006-02-04T03:46:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kylemathews](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/51bf81/32.png) [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Post date:** [February 4, 2006, 3:46am UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888/1 "2006-02-04T03:46:17Z")

</div>

For my weekend project, I’m going to get form\_remote\_tag and  
file\_column playing happily together. According to my research, no  
one has done this yet. If you happen to have tried this, and have  
some workable code, send me an email. I’d rather not duplicate the  
effort.

Thanks!

–  
Kyle M.  
Chief Technologist  
E Factor Media // FN Interactive  
removed\_email\_address@domain.invalid  
1-866-263-3261

---

<div class="post-metadata">

**Author:** ![kylemathews](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/51bf81/32.png) [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Post date:** [February 4, 2006, 6:15am UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888/2 "2006-02-04T06:15:45Z")

</div>

AFAIK it is not possible to do fileupload with AJAX (Security  
restriction)

Kyle, if you make it work, let us know !

What I am currently experimenting with, is a small flash movie which  
does  
asynchrounous fileupload as demonstrated at

> **[女性用媚薬のおすすめ人気ランキング5選【最新版】](https://www.aflax.org/ranking/)**
>
> 女性用媚薬のおすすめ人気ランキングを紹介していきます。口コミ評判が良くて効果が実感しやすい商品を中心に厳選しています。30種類以上の女性用媚薬を評価した媚薬マニアが推奨します。

But I have problems integrating it into file\_column, because I can’t add  
other fields to the upload POST, becaue that is done by the flash movie.  
So  
I think to upload just the file first and then when upload is finished,  
to  
trigger an AJAX call to access the latest uploaded file for letting the  
user  
fill out the other filelds of that record.

---

<div class="post-metadata">

**Author:** ![kylemathews](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/51bf81/32.png) [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Post date:** [February 7, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888/3 "2006-02-07T19:40:21Z")

</div>

Any conclusion to this?

---

<div class="post-metadata">

**Author:** ![kylemathews](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/51bf81/32.png) [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Post date:** [February 7, 2006, 11:47pm UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888/4 "2006-02-07T23:47:20Z")

</div>

I’d be willing to help out if I can see what you’ve done. I’ve been  
using  
RJS quite extensively since it appeared in the trunk.

---

<div class="post-metadata">

**Author:** ![kylemathews](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/51bf81/32.png) [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Post date:** [February 7, 2006, 8:51pm UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888/5 "2006-02-07T20:51:52Z")

</div>

On 2/7/06, james [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any conclusion to this?
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

I got something working, but I couldn’t get the RJS templates to work  
with it. Does anyone have any inclination to help out? All I need is  
the javascript that will apply the RJS loaded within the body of an  
iframe.

–  
Kyle M.  
Chief Technologist  
E Factor Media // FN Interactive  
removed\_email\_address@domain.invalid  
1-866-263-3261

---

<div class="post-metadata">

**Author:** ![kylemathews](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/51bf81/32.png) [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Post date:** [February 11, 2006, 1:02am UTC](https://www.ruby-forum.com/t/file-column-form-remote-tag/100888/6 "2006-02-11T01:02:15Z")

</div>

On 2/7/06, james [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any conclusion to this?
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

I posted a crude version of a plugin that allows you to use  
form\_remote\_tag to upload files. It ONLY does RJS callbacks. No  
:update, no :complete, nothing. Please send me lots of tickets. I’m  
really not too keen to develop more functionality than the bare bones  
that I need, but I’m more than happy to help coordinate a group  
effort. So create lots of tickets!

Collaboa: [dev.kylemaxwell.com](http://dev.kylemaxwell.com)  
SVN: [http://svn.kylemaxwell.com/form\_remote\_upload/trunk/](http://svn.kylemaxwell.com/form_remote_upload/trunk/)

–  
Kyle M.  
Chief Technologist  
E Factor Media // FN Interactive  
removed\_email\_address@domain.invalid  
1-866-263-3261
