Ajax Form with Multipart File Upload in Rails 3.0

How would I achieve this? In Rails 2.x, I would use responds_to_parent,
but it seems quite unsupported now.

What plugins/gems do people use nowadays that would automate
1) targeting form to iframe
2) sending javascript to iframe
3) having the javascript execute another javascript on parent page

Thank you,



you may take a look at: http://github.com/vhochstein/active_scaffold/blob/master/lib/responds_to_parent.rb

I do not think its perfect but at least it s running for me.