RubyGems.org

This gem is pack of methods to convert or validate different formats of strings and texts in model, like telephone numbers (CZ/SK format), email, or (european) names (currently). Or to clean string of too much whitespaces. It provides *convert* methods for attributes of model (getter and setter method in object is enough). They are used in save hooks. There are also *validator* methods for ActiveModel nd hook for automatic ActiveRecord integration. Just type: (`require 'paranoid_starlight/active_record'`) Specs included.

installgem install paranoid_starlight
Authors

Ivan Stana

4,417 total downloads 658 for this version
Owners

62a3aae45a3559a69c71dd1cd0450c8d

Gemfile
gem 'paranoid_starlight', '~> 2.0.1'
Versions
  1. 2.0.1 January 16, 2013 (10.5 KB)
  2. 2.0 December 29, 2012 (10.5 KB)
  3. 1.4.0 December 23, 2012 (9 KB)
  4. 1.3.0 December 18, 2012 (9 KB)
  5. 1.2.0 December 18, 2012 (8.5 KB)
Show all versions (7 total)
Development Dependencies
  1. rspec >= 0