lib/validators/validates_datetime.rb in validators-0.1.3 vs lib/validators/validates_datetime.rb in validators-1.0.0
- old
+ new
@@ -66,10 +66,10 @@
}) unless value.present? && date.present? && (value && date && value < date)
end
end
module ClassMethods
- # Validates weather or not the specified e-mail address is valid.
+ # Validates whether or not the specified e-mail address is valid.
#
# class User < ActiveRecord::Base
# validates_datetime :birth
# end
#