提交 4b05de19 编写于 作者: D Derek Willis

updated active record querying guide to standardize on first_name for Client

上级 1c95b678
......@@ -86,7 +86,7 @@ Using <tt>Model.find(primary_key)</tt>, you can retrieve the object correspondin
<ruby>
# Find the client with primary key (id) 10.
client = Client.find(10)
=> #<Client id: 10, name: => "Ryan">
=> #<Client id: 10, first_name: => "Ryan">
</ruby>
SQL equivalent of the above is:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册