on 2008-10-18 14:21
on 2008-10-18 19:34
On Oct 18, 11:21 am, Tom Ha <email@example.com> wrote: > Hi there, > > I have this ajax problem, I'm desparately trying to debug since 1 entire > day now: > What's calling the action? If you've passed an :update option to link_to_remote (or remote_function etc...) then you must not use render :update Fred
on 2008-10-18 19:55
on 2008-10-18 20:04
On Oct 18, 4:55 pm, Tom Ha <firstname.lastname@example.org> wrote: > Well, this is the form that calls the action (so there is no "remote_" > to the form or submit tag). > If it's just a regular post (ie not using remote_form_for) you can't use render :update. Fred
on 2008-10-19 02:02
If you need this to be Ajaxified use remote_form_for instead, also check out: http://www.caboo.se/articles/2007/4/2/ajax-file-upload, as you're uploading file data.
on 2008-10-21 01:55
Thanks for the clarification and your hints, guys!