1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update list of AR Relation methods

This commit is contained in:
Oscar Del Ben 2012-07-05 18:28:44 -07:00
parent 9a62551d43
commit aa43fa9a03

View file

@ -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. 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: The methods are:
* +where+ * +bind+
* +select+ * +create_with+
* +extending+
* +from+
* +group+ * +group+
* +having+
* +includes+
* +joins+
* +limit+
* +lock+
* +offset+
* +order+ * +order+
* +none+
* +readonly+
* +references+
* +reorder+ * +reorder+
* +reverse_order+ * +reverse_order+
* +limit+ * +select+
* +offset+ * +uniq+
* +joins+ * +where+
* +includes+
* +lock+
* +readonly+
* +from+
* +having+
All of the above methods return an instance of <tt>ActiveRecord::Relation</tt>. All of the above methods return an instance of <tt>ActiveRecord::Relation</tt>.