提交 8572f32d 编写于 作者: A Akira Matsuda

.all does not return an Array

上级 db4af113
......@@ -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
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册