jquery-plugin-query-object for Rails.
Add this line to your application's Gemfile:
gem 'jquery-plugin-query-object-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jquery-plugin-query-object-rails
In your application.js
you will need to add these lines:
//= require jquery.query-object
Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/jquery-plugin-query-object-rails.
The gem is available as open source under the terms of the MIT License.