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:
parent
db4af11304
commit
8572f32d58
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue