diff options
-rw-r--r-- | activerecord/CHANGELOG.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 95967c61ee..36d94fb38b 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -24,7 +24,7 @@ dealing with a `Relation` object rather than an array:. User.where(:age => 30).inspect - # => <ActiveRecord::Relation [#<User ...>, #<User ...>] ...> + # => <ActiveRecord::Relation [#<User ...>, #<User ...>, ...]> User.where(:age => 30).to_a.inspect # => [#<User ...>, #<User ...>] |