Form_remote_upload and rjs


#1

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?


#2

I emailed him my problems you had.
Its broken.

Sorry


#3

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


#4

Anyone knows how to fix it inside the plugin?


#5

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