Skip to content
Integrate Ajax-Chosen javascript library with Rails asset pipeline
Latest commit 4446622 Dec 6, 2013 @steveyken steveyken Bump version
Failed to load latest commit information.
lib Bump version Dec 6, 2013
vendor/assets Fix undefined variable in jquery coffee Dec 5, 2012
.gitignore Initial commit Jan 3, 2012
LICENSE Initial commit Jan 3, 2012
Rakefile Initial commit Jan 3, 2012
ajax-chosen-rails.gemspec Removed constraints. Oct 15, 2013

Ajax-Chosen for rails asset pipeline

Chosen is a library for making long, unwieldy select boxes more user friendly.

The ajax-chosen-rails gem integrates Chosen and Ajax-Chosen with the Rails asset pipeline.


Install ajax-chosen-rails gem

Include ajax-chosen-rails and chosen-rails in Gemfile

gem 'ajax-chosen-rails'
gem 'chosen-rails'

Then run bundle install

Include ajax-chosen (and chosen) javascript assets

NOTE: Ajax-Chosen automatically loads Chosen as a dependency

Add to your app/assets/javascripts/application.js if use with jQuery

//= require ajax-chosen-jquery

Or with Prototype

//= require ajax-chosen-prototype

Include chosen stylesheet assets

Add to your app/assets/stylesheets/application.css

*= require chosen

Gem maintainance

Maintain ajax-chosen-rails gem with Rake commands.

Update origin chosen source files.

rake update

Publish gem.

rake release


use MIT license.

Something went wrong with that request. Please try again.