This project is in the process of being reanimated after being abandoned
I am open to contributions and issues, please let me know if you see room for improvement.
This project is not officially associated with the jQuery Raty project.
Install the gem
jquery-raty-rails requires Rails 5 or greater.
To install, add one of the following to your Rails project's
gem 'jquery-raty-rails' # Released version gem 'jquery-raty-rails', github: 'tfantina/jquery-raty-rails' # Bleeding edge
Then, install the gem by running
Configure the assets
Modify the Sprockets manifest in your
application.js file to include
one of the following, depending on whether you want to include the compressed
//= require jquery.raty //= require jquery.raty.min
At this point, your Rails application has access to jQuery Raty. See the jQuery Raty web site for instructions on how to use the plugin.
- The jQuery Raty images are installed so that their assets paths won't conflict with same-named images in the application or in other gems.
- This blog post, by Stephen Ball, was a huge help in figuring out how to create this gem.
Copyrights, License, etc.
jquery-raty-rails copyright © 2018 Brian M. Clapper and is released under a BSD license.
jquery-raty-rails is maintained by Travis Fantina