From 8e4166303b9b0fae92f68c100aeb1001f572810d Mon Sep 17 00:00:00 2001 From: Daniel Lissner Date: Wed, 25 Sep 2013 10:39:40 -0500 Subject: [PATCH] [ci skip] Correct the explanation of the example for find_or_create_by when used with create_with in ActiveRecord Querying guide --- guides/source/active_record_querying.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 28013beeaeefa..b7414efe7bb4f 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -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.