diff options
author | Patrick Copeland <pjscopeland@gmail.com> | 2016-06-16 08:54:26 +1200 |
---|---|---|
committer | Patrick Copeland <pjscopeland@gmail.com> | 2016-06-16 08:54:26 +1200 |
commit | acf9391c98f89b1fe614804cdfb0da0cf7cb6e58 (patch) | |
tree | 2287b55517fe4ee899dfae18f0e753d7ce7e5648 /guides/source | |
parent | d4514e3be132014f49672abb3506f5551d50d1c3 (diff) | |
download | rails-acf9391c98f89b1fe614804cdfb0da0cf7cb6e58.tar.gz rails-acf9391c98f89b1fe614804cdfb0da0cf7cb6e58.tar.bz2 rails-acf9391c98f89b1fe614804cdfb0da0cf7cb6e58.zip |
Example had results the wrong way round [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_postgresql.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md index dee64e6439..d7e35490ef 100644 --- a/guides/source/active_record_postgresql.md +++ b/guides/source/active_record_postgresql.md @@ -503,9 +503,9 @@ second = Article.create! title: "Brace yourself", status: "draft", published_at: 1.month.ago -Article.count # => 1 -first.archive! Article.count # => 2 +first.archive! +Article.count # => 1 ``` NOTE: This application only cares about non-archived `Articles`. A view also |