Can anyone explain what the difference is between using "render :update" and using remote_form_for with :update set? A recent post suggested that the difference between these two methods is whether Ajax.Request or Ajax.Updater was called and that Ajax.Updater was twice as fast. How much truth is there to this? Thanks in advance. Scott -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Eric Anderson
2006-Nov-28 20:44 UTC
Re: Difference between render :update & remote_form_for :update
Scott wrote:> Can anyone explain what the difference is between using "render :update" > and using remote_form_for with :update set?render :update runs an RJS template (which could do a variety of things to a web page) while remote_form_for with :update will just update a specific element with the response from an action. Speed is probably irrelevant in this case. Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---