You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

multi-select-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-select-rails

0.9.12
Rubygems
Version published
Maintainers
1
Created
Source

Multiselect for Rails Gem Version

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

FAQs

Package last updated on 04 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts