chaves-rails

Chaves.js, bundled for Rails 3.0 and up.

Rails 3.1+

For Rails 3.1 and greater, the files will be added to the asset pipeline and available for you to use.

To enable:

  • Add the following line to the file app/assets/javascripts/application.js (or other sprockets manifest):
//= require jquery.chaves

Installation

  • Add chaves-rails to your Gemfile
  • Run bundle

Enjoy!

Rails 3.0

This gem adds a single generator to Rails 3, chaves:install. Running the generator will install the JavaScript file necessary to use Chaves.

Installation

  • Add chaves-rails to your Gemfile
  • Run bundle
  • Invoke the generator: rails generate chaves:install
  • Add the following to your layout or view files:
<%= javascript_include_tag "jquery.chaves" %>

You're done!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

chaves-rails

Chaves.js