Skip to content
chaves.js, bundled for Rails 3.0 and up
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
vendor/assets/javascripts
.gitignore
.ruby-version
Gemfile
LICENSE.txt
README.md
Rakefile
chaves-rails.gemspec

README.md

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!

Contributors

Many thanks go to the following contributors who have helped to make this gem even better:

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

Bitdeli Badge

Something went wrong with that request. Please try again.