aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-09-26 00:14:54 -0700
committerYves Senn <yves.senn@gmail.com>2013-09-26 00:14:54 -0700
commit6cc134acf413a0ac91d3a5125d6103f2b663ee6e (patch)
tree4c97574657325b4e1982ea0731a7e9a0909ca659 /guides
parent5d8e122c6c1b20264b60b2771c0a7ede826c20ce (diff)
parent8e4166303b9b0fae92f68c100aeb1001f572810d (diff)
downloadrails-6cc134acf413a0ac91d3a5125d6103f2b663ee6e.tar.gz
rails-6cc134acf413a0ac91d3a5125d6103f2b663ee6e.tar.bz2
rails-6cc134acf413a0ac91d3a5125d6103f2b663ee6e.zip
Merge pull request #12355 from speakingcode/doc-fix
Correct error in ActiveRecord Querying guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_querying.md2
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.