Sha256: ec243dcf760fe26abd668650e68aa6267bbdea9fd257010a434703a625f6559f

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

# Multiselect for Rails [![Gem Version](https://badge.fury.io/rb/multi-select-rails.png)](http://badge.fury.io/rb/multi-select-rails)

[multi-select](https://github.com/lou/multi-select) is a tiny jQuery plugin to customize selects with the multiple attribute.

The `multi-select-rails` gem integrates `multi-select` with the Rails asset pipeline.

## Usage

### Install multi-select-rails gem

Include `multi-select-rails` in Gemfile

    gem 'multi-select-rails'

Then run `bundle install`

### Include multiselect javascript

Add to your `app/assets/javascripts/application.js`

    //= require multi-select

### Include multiselect stylesheet

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

    *= require multi-select
    
## Updating the gem
There are two rake tasks designed to ease the maintenance of this gem.

The `update` task pulls the latest multi-select code from github and places images, stylesheets and javascripts in the correct gem paths. It also changes background-image properties in the stylesheet to asset pipeline equivalents.

	rake update
	
The `build` task is a simple wrapper for `gem build`
	
	rake build


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multi-select-rails-0.9.12 README.md