Add this line to your application's Gemfile:
gem 'jquery-inputmask-rails'
And then execute:
$ bundle
Add the following to your app/assets/javascripts/application.js
:
//= require jquery.inputmask
//= require jquery.inputmask.extensions
//= require jquery.inputmask.numeric.extensions
//= require jquery.inputmask.date.extensions
https://github.com/RobinHerbots/jquery.inputmask
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request