jquery-inputmask-rails integrates jquery.inputmask with rails 3.1+ asset pipeline.
jquery.inputmask version: 3.1.64-118
Add
gem 'jquery-inputmask-rails', github: 'knapo/jquery-inputmask-rails'
to your Gemfile
and
//= require inputmask
//= require jquery.inputmask
to your app/assets/javascripts/application.js
or other js manifest file.
Optional extensions:
//= require inputmask.extensions
//= require inputmask.date.extensions
//= require inputmask.phone.extensions
//= require inputmask.numeric.extensions
//= require inputmask.regex.extensions