mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Example had results the wrong way round [ci skip]
This commit is contained in:
parent
d4514e3be1
commit
acf9391c98
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue