diff options
author | Oscar Del Ben <oscar@oscardelben.com> | 2012-07-05 18:28:44 -0700 |
---|---|---|
committer | Oscar Del Ben <oscar@oscardelben.com> | 2012-07-05 18:28:44 -0700 |
commit | aa43fa9a0389c65c64ff2b458920abdd61e29ef6 (patch) | |
tree | 0c6860fb3e1784075791c938f871fbac69d33edb | |
parent | 9a62551d43a1844504d79c8b2b91a22641eedff4 (diff) | |
download | rails-aa43fa9a0389c65c64ff2b458920abdd61e29ef6.tar.gz rails-aa43fa9a0389c65c64ff2b458920abdd61e29ef6.tar.bz2 rails-aa43fa9a0389c65c64ff2b458920abdd61e29ef6.zip |
Update list of AR Relation methods
-rw-r--r-- | guides/source/active_record_querying.textile | 26 |
1 files changed, 16 insertions, 10 deletions
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 <tt>ActiveRecord::Relation</tt>. |