aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-11-29 15:12:39 +1100
committerRyan Bigg <radarlistener@gmail.com>2010-11-29 15:12:39 +1100
commit9e655e8571345701b23a8cdd4d480ecf3a1623d3 (patch)
tree3caf034d39cf3d1080fea9f2b7ec81baa84ef9dc
parent964c2025ff7b4d22902ed8ee86c3e2858a4cf3ba (diff)
downloadrails-9e655e8571345701b23a8cdd4d480ecf3a1623d3.tar.gz
rails-9e655e8571345701b23a8cdd4d480ecf3a1623d3.tar.bz2
rails-9e655e8571345701b23a8cdd4d480ecf3a1623d3.zip
Bring order description in line with actual text.
-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 0447013e24..e41b5fb606 100644
--- a/railties/guides/source/active_record_querying.textile
+++ b/railties/guides/source/active_record_querying.textile
@@ -339,7 +339,7 @@ SELECT * FROM clients WHERE (clients.orders_count IN (1,3,5))
h4. Ordering
-To retrieve records from the database in a specific order, you can specify the +:order+ option to the +find+ call.
+To retrieve records from the database in a specific order, you can use the +order+ method.
For example, if you're getting a set of records and want to order them in ascending order by the +created_at+ field in your table: