Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Easy way to use input masked plugin on rails
Ruby
branch: master

Merge pull request #4 from pedrosnk/master

Support rails 4 via pre candidate.
latest commit 354f528c11
@macedo authored
Failed to load latest commit information.
lib change version to pre and support rails4
vendor/assets/javascripts add new 1.3.1 js file version
.gitignore Easy way to use input masked plugin on rails
Gemfile Easy way to use input masked plugin on rails
LICENSE removing trailing spaces and bumping version
README.md Update README.md
Rakefile
masked_input-rails.gemspec change version to pre and support rails4

README.md

MaskedInputRails

This is a masked input plugin for the jQuery javascript library. It allows a user to more easily enter fixed width input where you would like them to enter the data in a certain format (dates,phone numbers, etc). See more at: http://digitalbush.com/projects/masked-input-plugin/

Installation

Add this line to your application's Gemfile:

gem 'masked_input-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install masked_input-rails

Usage

In the application.js file add the following line to use latest version (1.3.1):

//= require jquery.maskedinput

or to specify plugin version:

//= require jquery.maskedinput-1.3

Supported versions

  • jquery.maskedinput (1.3.1)
  • jquery.maskedinput-1.3 (1.3)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.