updated active record querying guide to standardize on first_name for Client

This commit is contained in:
Derek Willis
2010-06-13 22:36:42 -04:00
parent 1c95b67857
commit 4b05de19aa

View File

@@ -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: