diff options
author | Derek Willis <dwillis@gmail.com> | 2010-06-13 22:36:42 -0400 |
---|---|---|
committer | Derek Willis <dwillis@gmail.com> | 2010-06-13 22:36:42 -0400 |
commit | 4b05de19aaebcbe20941e8b13aaed2060759ed1c (patch) | |
tree | 72a60d8494a947fb29e70cf6b5118f75bef2dc79 /railties | |
parent | 1c95b678573cc4ce72c40a5bbe35e6dfc376215f (diff) | |
download | rails-4b05de19aaebcbe20941e8b13aaed2060759ed1c.tar.gz rails-4b05de19aaebcbe20941e8b13aaed2060759ed1c.tar.bz2 rails-4b05de19aaebcbe20941e8b13aaed2060759ed1c.zip |
updated active record querying guide to standardize on first_name for Client
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile index 1b39f91eb1..73f3ebafbe 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/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: |