[Rails] Re: page.update_html not executed

Jean-Etienne
2006-06-14T08:34:14Z

Quote from RJS Templates for Rails:

"Don''t Use the :update Option with RJS Calls
Never use the :update option when making remote calls to actions that
render
RJS templates. The :update option instructs Rails to generate an
Ajax.Updater Prototype object instead of an Ajax.Request object. The
Ajax.Updater updates a single DOM element with the contents of the
HTML response. RJS templates return JavaScript to the browser, which
must
be evaluated to produce the desired effects."