Ruby On Rails features complete Prototype script.aculo.us integration.

Demo site and example code

Visit the Rails/script.aculo.us demo site for live demos and example code.

Usage

First, you need to include the libraries in your app, which is easy, as Prototype and script.aculo.us come prepackaged with Rails.

In your layout or view add this to the section:


<%= javascript_include_tag :defaults %>

You can now use the Rails JavaScript helpers or use do-it-yourself