1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

.all does not return an Array

This commit is contained in:
Akira Matsuda 2013-01-04 05:29:09 +09:00
parent db4af11304
commit 8572f32d58

View file

@ -239,7 +239,7 @@ Active Record provides a rich API for accessing data within a database. Below
are a few examples of different data access methods provided by Active Record. are a few examples of different data access methods provided by Active Record.
```ruby ```ruby
# return array with all records # return a collection with all records
users = User.all users = User.all
``` ```