From 4cb51ae60264fd81adc608507a6c22763eb23362 Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Fri, 5 Dec 2008 20:30:54 +1100 Subject: [PATCH] teeny comment correction --- lib/validates_timeliness/validator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/validates_timeliness/validator.rb b/lib/validates_timeliness/validator.rb index c94875a..923b108 100644 --- a/lib/validates_timeliness/validator.rb +++ b/lib/validates_timeliness/validator.rb @@ -71,7 +71,7 @@ module ValidatesTimeliness message = message % interpolate.values unless interpolate.empty? record.errors.add(attr_name, message) else - # use i18n support in AR for message or us custom message passed to validation method + # use i18n support in AR for message or use custom message passed to validation method custom = custom_error_messages[message] record.errors.add(attr_name, custom || message, interpolate) end