diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-04 09:26:32 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-04 09:26:32 +0900 |
commit | a802fa3588f5fbaff1c635e5977563c9788897ec (patch) | |
tree | 150a3f4bde08448b2aa71f27c39f9dc4fddb7e52 | |
parent | 034982ef2237dea5bf3576aeba10c6f24be8e501 (diff) | |
download | rails-a802fa3588f5fbaff1c635e5977563c9788897ec.tar.gz rails-a802fa3588f5fbaff1c635e5977563c9788897ec.tar.bz2 rails-a802fa3588f5fbaff1c635e5977563c9788897ec.zip |
A Relation is not a collection of records. So let's not use the term "record"
-rw-r--r-- | guides/source/active_record_basics.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index 86bcbbbb9a..073fef3671 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -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 ``` |