aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorkaygee <keith.gautreaux@gmail.com>2010-06-16 13:06:46 -0500
committerkaygee <keith.gautreaux@gmail.com>2010-06-16 13:06:46 -0500
commit9a4fc420711a7225ef0504baf97b22a3728b21a4 (patch)
tree5f78a92bbeca81050a87271095cf9bc735f86c45 /railties
parent317a75bf5860a9ab5d5535ccb4aedfabc83644d6 (diff)
downloadrails-9a4fc420711a7225ef0504baf97b22a3728b21a4.tar.gz
rails-9a4fc420711a7225ef0504baf97b22a3728b21a4.tar.bz2
rails-9a4fc420711a7225ef0504baf97b22a3728b21a4.zip
Clarify language around list of finder methods.
Clarify that finder methods return an instance of class ActiveRecord::Relation.
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/active_record_querying.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile
index fc07dd1267..f5e70aef41 100644
--- a/railties/guides/source/active_record_querying.textile
+++ b/railties/guides/source/active_record_querying.textile
@@ -51,7 +51,7 @@ Active Record will perform queries on the database for you and is compatible wit
h3. Retrieving Objects from the Database
-To retrieve objects from the database, Active Record provides several finder methods. These methods allow you to pass arguments into it to perform certain queries on your database without the need of 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:
* +where+
@@ -66,7 +66,7 @@ The methods are:
* +readonly+
* +from+
-All of these methods return a Relation
+All of the above methods return an instance of <tt>ActiveRecord::Relation</tt>.
Primary operation of <tt>Model.find(options)</tt> can be summarized as: