diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-04 05:29:09 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-04 06:23:16 +0900 |
commit | 8572f32d58d687bb44dfac6bb872b9b5cdaef6e3 (patch) | |
tree | 4b3915c075c61306827172ce21090218c3c1afc6 /guides/source | |
parent | db4af113048b5890177c1ac136f0ae7d1c066375 (diff) | |
download | rails-8572f32d58d687bb44dfac6bb872b9b5cdaef6e3.tar.gz rails-8572f32d58d687bb44dfac6bb872b9b5cdaef6e3.tar.bz2 rails-8572f32d58d687bb44dfac6bb872b9b5cdaef6e3.zip |
.all does not return an Array
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index 883c2dda4a..86bcbbbb9a 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -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. ```ruby -# return array with all records +# return a collection with all records users = User.all ``` |