Three approaches for using jQuery on Rails
jQuery + Rub on Rails = Power
(1) JRails is very popular for over 3 years. There is a good tutorial how to use JRails on Rails. However, people still complains the fact that JRails make the application very tied to the RJS template.
(3) Here is bare bone approach. It basically do everything manually without using any heavy framework.