Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bring order description in line with actual text.

  • Loading branch information...
commit 9e655e8571345701b23a8cdd4d480ecf3a1623d3 1 parent 964c202
Ryan Bigg radar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/active_record_querying.textile
2  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:
Please sign in to comment.
Something went wrong with that request. Please try again.