diff options
author | Daniel Lissner <dlissner@gmail.com> | 2013-09-25 10:39:40 -0500 |
---|---|---|
committer | Daniel Lissner <dlissner@gmail.com> | 2013-09-25 10:39:40 -0500 |
commit | 8e4166303b9b0fae92f68c100aeb1001f572810d (patch) | |
tree | 50bdc4b45dd9f64e1176f9ab643cbc1f7b214d3d /guides | |
parent | f3982858359008ec8fe43b8fa2c75aad8788cd89 (diff) | |
download | rails-8e4166303b9b0fae92f68c100aeb1001f572810d.tar.gz rails-8e4166303b9b0fae92f68c100aeb1001f572810d.tar.bz2 rails-8e4166303b9b0fae92f68c100aeb1001f572810d.zip |
[ci skip] Correct the explanation of the example for find_or_create_by when used with create_with in ActiveRecord Querying guide
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 28013beeae..b7414efe7b 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. |