Example Ruby on Rails application using JQuery and Ajax