RubyGems.org

valid-date

1.1.2

Adds String#valid_date? method to add utility to the Rails String#to_date method. Determines whether the string contains a valid date, to check before converting to a date and avoiding an exception.

installgem install valid-date
Authors

Patrick Byrne

5,270 total downloads 1,508 for this version
Owners

7f6ca3dae23b904c081db4ff86fab8ca

Gemfile
gem 'valid-date', '~> 1.1.2'
Versions
  1. 1.1.2 May 6, 2010 (4 KB)
  2. 1.1.1 May 6, 2010 (4 KB)
  3. 1.1.0 January 4, 2010 (4 KB)
  4. 1.0.0 June 27, 2009 (4 KB)
Runtime Dependencies
  1. activesupport >= 0