From acf9391c98f89b1fe614804cdfb0da0cf7cb6e58 Mon Sep 17 00:00:00 2001 From: Patrick Copeland Date: Thu, 16 Jun 2016 08:54:26 +1200 Subject: Example had results the wrong way round [ci skip] --- guides/source/active_record_postgresql.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides') 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 -- cgit v1.2.3