Permalink
Browse files

typo. missing 'if'

  • Loading branch information...
1 parent 387e16a commit 8770b8c955c599282fd3257e2f1a4deaed9230e8 logylaps committed May 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 8770b8c

Please sign in to comment.