on 2008-10-18 12:21
on 2008-10-18 17:34
On Oct 18, 11:21 am, Tom Ha <rails-mailing-l...@andreas-s.net> 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 17:55
on 2008-10-18 18:04
On Oct 18, 4:55 pm, Tom Ha <rails-mailing-l...@andreas-s.net> 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 00: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-20 23:55
Thanks for the clarification and your hints, guys!