Browse files

[ci skip] Correct the explanation of the example for find_or_create_b…

…y when used with create_with in ActiveRecord Querying guide
  • Loading branch information...
1 parent f398285 commit 8e4166303b9b0fae92f68c100aeb1001f572810d @speakingcode speakingcode committed Sep 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/
@@ -1358,7 +1358,7 @@ COMMIT
The new record might not be saved to the database; that depends on whether validations passed or not (just like `create`).
-Suppose we want to set the 'locked' attribute to true if we're
+Suppose we want to set the 'locked' attribute to false if we're
creating a new record, but we don't want to include it in the query. So
we want to find the client named "Andy", or if that client doesn't
exist, create a client named "Andy" which is not locked.

0 comments on commit 8e41663

Please sign in to comment.