Skip to content

Commit

Permalink
updated active record querying guide to standardize on first_name for…
Browse files Browse the repository at this point in the history
… Client
  • Loading branch information
dwillis committed Jun 14, 2010
1 parent 1c95b67 commit 4b05de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/active_record_querying.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4b05de1

Please sign in to comment.