MarceloCajueiro/mask_validator — pull request #6 by oliveiraethales (2014-12-19 16:19:26+00:00)
Title: Sets a default message for invalid

The default behavior of error messages changed in Rails 4.1, so it is now required to set the default message to invalid.

The change can be seen here: https://github.com/rails/rails/commit/ca99ab2481d44d67bc392d0ec1125ff1439e9f94)