From aa43fa9a0389c65c64ff2b458920abdd61e29ef6 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Thu, 5 Jul 2012 18:28:44 -0700 Subject: Update list of AR Relation methods --- guides/source/active_record_querying.textile | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'guides/source/active_record_querying.textile') diff --git a/guides/source/active_record_querying.textile b/guides/source/active_record_querying.textile index 7edf9c8b6e..9863d16fda 100644 --- a/guides/source/active_record_querying.textile +++ b/guides/source/active_record_querying.textile @@ -51,20 +51,26 @@ h3. Retrieving Objects from the Database To retrieve objects from the database, Active Record provides several finder methods. Each finder method allows you to pass arguments into it to perform certain queries on your database without writing raw SQL. The methods are: -* +where+ -* +select+ +* +bind+ +* +create_with+ +* +extending+ +* +from+ * +group+ -* +order+ -* +reorder+ -* +reverse_order+ -* +limit+ -* +offset+ -* +joins+ +* +having+ * +includes+ +* +joins+ +* +limit+ * +lock+ +* +offset+ +* +order+ +* +none+ * +readonly+ -* +from+ -* +having+ +* +references+ +* +reorder+ +* +reverse_order+ +* +select+ +* +uniq+ +* +where+ All of the above methods return an instance of ActiveRecord::Relation. -- cgit v1.2.3