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

A Relation is not a collection of records. So let's not use the term "record"

This commit is contained in:
Akira Matsuda 2013-01-04 09:26:32 +09:00
parent 034982ef22
commit a802fa3588

View file

@ -239,12 +239,12 @@ 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.
```ruby
# return a collection with all records
# return a collection with all users
users = User.all
```
```ruby
# return the first record
# return the first user
user = User.first
```