aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_record_querying.textile
diff options
context:
space:
mode:
authorlogylaps <logylaps@gmail.com>2010-05-04 02:17:36 -0700
committerXavier Noria <fxn@hashref.com>2010-05-04 19:31:32 +0200
commitd38b4771f1bf6b7c16f47ec395865e074b64606b (patch)
treec624349f4526f59ebf7b6a0733d0e59c6637f23b /railties/guides/source/active_record_querying.textile
parentc8d03fbe9ba461a0b635dcb85759cc4a2261ba95 (diff)
downloadrails-d38b4771f1bf6b7c16f47ec395865e074b64606b.tar.gz
rails-d38b4771f1bf6b7c16f47ec395865e074b64606b.tar.bz2
rails-d38b4771f1bf6b7c16f47ec395865e074b64606b.zip
typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> 'h6(#has_many-group)', and 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