Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

chaves.js, bundled for Rails 3.0 and up

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .ruby-version
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.