aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_record_querying.textile
diff options
context:
space:
mode:
authorlogylaps <logylaps@gmail.com>2010-05-04 02:25:55 -0700
committerlogylaps <logylaps@gmail.com>2010-05-04 02:25:55 -0700
commit8770b8c955c599282fd3257e2f1a4deaed9230e8 (patch)
treefce04927a9dc1961baa839b6419bfd8e2aedf074 /railties/guides/source/active_record_querying.textile
parent387e16afa905eff2943a94d08a471d402404eb78 (diff)
downloadrails-8770b8c955c599282fd3257e2f1a4deaed9230e8.tar.gz
rails-8770b8c955c599282fd3257e2f1a4deaed9230e8.tar.bz2
rails-8770b8c955c599282fd3257e2f1a4deaed9230e8.zip
typo. missing 'if'
Diffstat (limited to 'railties/guides/source/active_record_querying.textile')
-rw-r--r--railties/guides/source/active_record_querying.textile2
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 1cfec1cf77..e18dbc9c42 100644
--- a/railties/guides/source/active_record_querying.textile
+++ b/railties/guides/source/active_record_querying.textile
@@ -802,7 +802,7 @@ will either assign an existing client object with the name "Ryan" to the client
h3. Finding by SQL
-If you'd like to use your own SQL to find records in a table you can use +find_by_sql+. The +find_by_sql+ method will return an array of objects even the underlying query returns just a single record. For example you could run this query:
+If you'd like to use your own SQL to find records in a table you can use +find_by_sql+. The +find_by_sql+ method will return an array of objects even if the underlying query returns just a single record. For example you could run this query:
<ruby>
Client.find_by_sql("SELECT * FROM clients