/jquery_mask_rails

A Rails version of jQuery Mask Plugin that make masks on form fields and HTML elements easy

Primary LanguageRubyMIT LicenseMIT

JQuery Mask for Rails

A Rails gem of the jQuery Plugin that make masks on form fields and HTML elements.

Build Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'jquery_mask_rails', '~> 0.1.0'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery_mask_rails

And then insert into your application.js

//= require jquery.mask

Usage

Russian

Compatibility

jQuery Mask Plugin has been tested with jQuery 1.7+ on all major browsers:

  • Firefox 2+ (Win, Mac, Linux);
  • IE7+ (Win);
  • Chrome 6+ (Win, Mac, Linux, Android, iPhone);
  • Safari 3.2+ (Win, Mac, iPhone);
  • Opera 8+ (Win, Mac, Linux, Android, iPhone).

Problems or Questions?

Before opening a new issue take a look on those frequently asked questions:

Bugs?

Did you read our docs? Yes? Cool! So now... make sure that you have a functional jsfiddle exemplifying your problem and open an issue for us. Don't know how to do it? Use this fiddle example.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/maurcarvalho/jquery_mask_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Credits

This is a gem version of JQuery mask.