No commit activity in last 3 years
No release in over 3 years
Chosen is a javascript library of select box enhancer for jQuery and Protoype. This gem integrates Ajax-Chosen with Rails asset pipeline for ease of use.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

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.

Usage

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

License

use MIT license.