I want to make use of jQuery in Rails 2. What is the gem needed for it?
I came to know that 'jquery-rails' can be used for Rails 3 only.
I want to make use of jQuery in Rails 2. What is the gem needed for it?
I came to know that 'jquery-rails' can be used for Rails 3 only.
The gem needed to include jQuery in rails is gem "jquery-rails"
For previous versions of Rails, follow the 'Manual installation' on making use of JQuery in Rails 2 here - https://github.com/rails/jquery-ujs