0.01
No commit activity in last 3 years
No release in over 3 years
Gem installation of jquery tokeninput scripts and stylesheets
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.0.0
~> 3.1

Runtime

>= 3.1.0
 Project Readme

Rails Tokeninput Gem Version

Rails Tokeninput is a small, lightweight gem which helps to automate installing of the jquery tokeninput plugin, including the standard included stylesheets.

Included Javascripts/Stylesheets

jquery.tokeninput.js
jquery.tokeninput.min.js

token-input-facebook.css
token-input-mac.css
token-input.css

Installation

This gem should work out of the box. All you have to do is add the gem to your Gemfile:

gem 'rails_tokeninput'

Then bundle install or update (depending on if you want to upgrade an older version of this gem).

bundle install
bundle update

In your assets/javascripts/application.js, you will need to add d3 to your manifest:

//= require jquery
.
.
//= require jquery.tokeninput

In your assets/stylesheets/application.css, you can add the stylesheets you want by including them in your css manifest:

*= require_self
.
.
*= require token-input-facebook
..etc.

As of 3-15-2012, the version numbers for this gem reflects the version number of the plugin.