RubyGems.org

Tired of repeating 'validates_format_of' with the same regex expression across your models only to validate the same email address and postal code fields? So am I. Use format_for_extensions to dynamically define reusable formats for any ActiveRecord model attribute you want.

installgem install format_for_extensions
Authors

Karle Durante, Justin Molineaux

6,733 total downloads 482 for this version
Owners

41e75ca920386f6949e2f9cc1714d71f43afb476b2a2f6aa9994622c37487a36479e4b7086a10f62988136210f57b0e5

Licenses

MIT

Gemfile
gem 'format_for_extensions', '~> 0.1.5'
Versions
  1. 0.1.5 October 25, 2013 (34 KB)
  2. 0.1.4 June 19, 2012 (34.5 KB)
  3. 0.1.3 June 10, 2011 (34.5 KB)
  4. 0.1.2 June 8, 2011 (34.5 KB)
  5. 0.1.1 June 2, 2011 (18 KB)
Show all versions (6 total)
Runtime Dependencies
  1. rails >= 2.3.5