Sha256: 890de0124c88f7aebdea3fb375caedb3c9cafea7ceac6dec52faddce21d846c5
Contents?: true
Size: 852 Bytes
Versions: 2
Compression:
Stored size: 852 Bytes
Contents
# Jquery-rails This gem adds a single generator to Rails 3, jquery:install. Running the generator will remove any Prototype JS files you may happen to have, fetch jQuery and the jQuery-ujs driver for Rails, and (optionally) fetch jQuery UI. The gem will also hook into the Rails configuration process, removing Prototype and adding jQuery to the javascript files included by the `javascript_tag(:default)` call. While the plugin downloads minified and un-minified versions of jQuery and jQuery UI, only the minified versions are included in :default. ### Installation In your Gemfile, add this line: gem "jquery-rails" Then, run `bundle install`. To invoke the generator, run: rails generate jquery:install #--ui to enable jQuery UI You're done! Don't forget to output `csrf_meta_tag` somewhere inside your `<head>` tag in your layout!
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jquery-rails-0.1.2 | README.md |
jquery-rails-0.1.1 | README.md |