Are there a few basic ways to do AJAX on Rails?

are there a few basic ways to do AJAX on Rails? or is it open ended…
just like using MFC to write a Win32 app… you can do it any way you
want.

right now I see two ways to update content using AJAX on Rails:

one is to

link_to_remote or form_remote_tag
with the :update option to update the DOM_Object.innerHTML with the
action code returned.

the other is to
link_to_remote or form_remote_tag
and just call to the action, update the data, and then let the RJS
handles the rest.

Hi, AJAX as implemented and used in Rails is not limited to
link_to_remote
or form_remote_tag. I would recommend “AJAX on Rails” or other
resources
by using Google. Next, the more detail that you put into your question
the
better people on the list can assist you. Lastly, Rails is a web
development framework that can be used in many ways to construct an
application. Thus, there’s no one way of doing something in Rails.
Good luck,

-Conrad