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

3,713 total downloads 1,049 for this version
Owners

7f6ca3dae23b904c081db4ff86fab8ca

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