Browse files

Typo: fixing the the

  • Loading branch information...
1 parent 6052929 commit 89b3bc480761ee7afd858ab4a78d5b79be3a267c @nixterrimus nixterrimus committed Feb 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/validations.rb
View
2 activerecord/lib/active_record/validations.rb
@@ -62,7 +62,7 @@ def save!(options={})
#
# * <tt>context</tt> - Context to scope the execution of the validations. Default is <tt>nil</tt>.
# If <tt>nil</tt> then the response of <tt>new_record?</tt> will determine the context. If <tt>new_record?</tt>
- # returns true the the context will be <tt>:create</tt>, otherwise <tt>:update</tt>. Validation contexts
+ # returns true the context will be <tt>:create</tt>, otherwise <tt>:update</tt>. Validation contexts
# for each validation can be defined using the <tt>:on</tt> option
def valid?(context = nil)
context ||= (new_record? ? :create : :update)

0 comments on commit 89b3bc4

Please sign in to comment.