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.
Include ajax-chosen-rails
and chosen-rails
in Gemfile
gem 'ajax-chosen-rails'
gem 'chosen-rails'
Then run bundle install
Add to your app/assets/javascripts/application.js
if use with jQuery
//= require ajax-chosen-jquery
Or with Prototype
//= require ajax-chosen-prototype
Add to your app/assets/stylesheets/application.css
*= require chosen
Maintain ajax-chosen-rails
gem with Rake
commands.
Update origin chosen source files.
rake update
Publish gem.
rake release
use MIT license.