Skip to content
Browse files

updated active record querying guide to standardize on first_name for…

… Client
  • Loading branch information...
1 parent 1c95b67 commit 4b05de19aaebcbe20941e8b13aaed2060759ed1c @dwillis dwillis committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_record_querying.textile
View
2 railties/guides/source/active_record_querying.textile
@@ -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:

0 comments on commit 4b05de1

Please sign in to comment.
Something went wrong with that request. Please try again.