# Form\_remote\_upload and rjs

**URL:** <https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417>\
**Category:** Rails\
**Created:** [March 31, 2006, 2:17am UTC](https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417 "2006-03-31T02:17:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [March 31, 2006, 2:17am UTC](https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417/1 "2006-03-31T02:17:18Z")

</div>

I am using Kyle M.'s form\_remote\_upload plugin with Rails 1.1, and  
I cannot seem to get any code from my rjs template to execute.

The template works fine without the upload (if I remove ‘:html =\>  
{:multipart =\> true}’ from the form\_remote\_tag), but with the upload  
nothing happens.

I have put ‘’ at the  
top of my partial, as I was directed to do by form\_remote\_upload’s  
readme, and the upload and submission and all of that works fine, it is  
just that nothing in the rjs template executes.

any help?

---

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [March 31, 2006, 2:22am UTC](https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417/2 "2006-03-31T02:22:48Z")

</div>

I emailed him my problems you had.  
Its broken.

Sorry

---

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [March 31, 2006, 2:46am UTC](https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417/3 "2006-03-31T02:46:11Z")

</div>

Is this a 1.1 thing, or what? I was just a little bit surprised that it  
didn’t work since he specifically mentioned that it had rjs template  
functionality…

Guest wrote:

> I emailed him my problems you had.  
> Its broken.
> 
> Sorry

---

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [May 31, 2006, 11:21am UTC](https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417/4 "2006-05-31T11:21:47Z")

</div>

Anyone knows how to fix it inside the plugin?

---

<div class="post-metadata">

**Author:** ![will](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/90ced4/32.png) [@will](https://www.ruby-forum.com/u/will)\
**Post date:** [March 31, 2006, 3:20am UTC](https://www.ruby-forum.com/t/form-remote-upload-and-rjs/56417/5 "2006-03-31T03:20:03Z")

</div>

i had the same problem.

it works for me if i put the frt\_upload\_filter method directly in to the  
ApplicationController and use the after\_filter on it.

so my ApplicationController looks something like this:

class ApplicationController \< ActionController::Base  
after\_filter :frt\_upload\_filter

def frt\_upload\_filter  
…  
end

end

Will wrote:

> Is this a 1.1 thing, or what? I was just a little bit surprised that it  
> didn’t work since he specifically mentioned that it had rjs template  
> functionality…
> 
> Guest wrote:
> 
> > I emailed him my problems you had.  
> > Its broken.
> > 
> > Sorry
