Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 280d879b6e
Fetching contributors…

Cannot retrieve contributors at this time

75 lines (44 sloc) 1.93 kb

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

Jump to Line
Something went wrong with that request. Please try again.