From 89b3bc480761ee7afd858ab4a78d5b79be3a267c Mon Sep 17 00:00:00 2001 From: Nicholas Rowe Date: Sat, 19 Feb 2011 23:46:30 -0500 Subject: Typo: fixing the the --- activerecord/lib/active_record/validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index c192e02660..292de3ee61 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -62,7 +62,7 @@ module ActiveRecord # # * context - Context to scope the execution of the validations. Default is nil. # If nil then the response of new_record? will determine the context. If new_record? - # returns true the the context will be :create, otherwise :update. Validation contexts + # returns true the context will be :create, otherwise :update. Validation contexts # for each validation can be defined using the :on option def valid?(context = nil) context ||= (new_record? ? :create : :update) -- cgit v1.2.3