jQuery Multiselect wrapped as a Rails 3 gem. This gem is a Rails engine and is configured to integrate with Rails asset pipeline. From https://github.com/ehynds/jquery-ui-multiselect-widget
Add this line to your application's Gemfile:
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'jquery-multiselect-rails', :git => 'git://github.com/arojoal/jquery-multiselect-rails.git'
And then execute:
$ bundle
application.js
//= require jquery.multiselect
//= require jquery.multiselect.filter
application.css
*= require jquery.ui.core
*= require jquery.ui.theme
*= require jquery.multiselect
*= require jquery.multiselect.filter
layout/application.html.erb
<%= javascript_include_tag "jquery.multiselect." + I18n.locale.to_s %> <%= javascript_include_tag "jquery.multiselect.filter." + I18n.locale.to_s %>
config/environments/production
config.assets.precompile += %w( jquery.multiselect*.js ) config.assets.precompile += %w( jquery.multiselect*.css )
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request