cloudfoundry-jquery-rails 0 ruby Rubygems

Fork of the original jquery-rails gem including a fix for Cloud Foundry


This gem is a fork of the original jquery-rails gem including a fix to work with Cloud Foundry. You only need to change gem 'jquery-rails' to gem 'cloudfoundry-jquery-rails'.

jQuery! For Rails! So great.

This gem provides:

  • jQuery 1.7.1
  • jQuery UI 1.8.16
  • the latest jQuery UJS adapter
  • and Sam Ruby’s assert_select_jquery function, which is automatically included for use in tests.
  • a fix for Cloud Foundry

Rails 3.1

For Rails 3.1 and greater, the files will be added to the asset pipeline and available for you to use. These two lines will be added to the file app/assets/javascripts/application.js by default:

//= require jquery
//= require jquery_ujs

If you wish to use jQuery UI as well, you can add this line to application.js:

//= require jquery-ui

In order to use the themed parts of jQuery UI, you will also need to supply your own theme CSS. See for more information.


New Rails 3.1 apps include jquery-rails in the Gemfile by default. So just make a new app:

rails new myapp

You’re done!

Rails 3.0

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_include_tag(:defaults) call. While the plugin downloads minified and un-minified versions of jQuery and jQuery UI, only the minified versions are included in :default.


In your Gemfile, add this line:

gem "cloudfoundry-jquery-rails"

Then, run bundle install. To invoke the generator, run:

rails generate jquery:install #--ui to enable jQuery UI

You’re done!

Related Repositories



Fork of the original jquery-rails gem including a fix for Cloud Foundry ...

Top Contributors

indirect JangoSteve estahn francocatena robertd htp snowyote csommerauer digitalpardoe negonicrac webmat deleteme pic purcell pwnall slbug stan


-   v1.0.19 zip tar
-   v1.0.18 zip tar
-   v1.0.17 zip tar
-   v1.0.16 zip tar
-   v1.0.15 zip tar
-   v1.0.14 zip tar
-   v1.0.13 zip tar
-   v1.0.12 zip tar
-   v1.0.11 zip tar
-   v1.0.10 zip tar
-   v1.0.9 zip tar
-   v1.0.8 zip tar
-   v1.0.7 zip tar
-   v1.0.6 zip tar
-   v1.0.5 zip tar
-   v1.0.4 zip tar
-   v1.0.3 zip tar
-   v1.0.2 zip tar
-   v1.0.1 zip tar
-   v1.0 zip tar
-   v1.0.rc zip tar
-   v0.2.7 zip tar
-   v0.2.6 zip tar
-   v0.2.5 zip tar
-   v0.2.4 zip tar
-   v0.2.3 zip tar
-   v0.2.2 zip tar
-   v0.2.1 zip tar
-   v0.2 zip tar
-   v0.1.3 zip tar