module DateValidator
A simple date validator for Rails 3+.
@example
validates :expiration_date, date: { after: Proc.new { Time.now }, before: Proc.new { Time.now + 1.year } } # Using Proc.new prevents production cache issues
Constants
- VERSION
The version number.