aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRizwan Reza <rizwanreza@gmail.com>2010-06-16 22:48:16 +0430
committerRizwan Reza <rizwanreza@gmail.com>2010-06-16 22:48:16 +0430
commit687282dd507c89a22c1796425442ea88b73de1ca (patch)
tree370247fad7c20d427c2815ffd878dcd6ffb43109
parent5a0bc2c7bc993e8f987a99f510b7d1d2cc7cf8ba (diff)
parent6509cebbf6e667179de11eeecbd31c2b5f77e1fb (diff)
downloadrails-687282dd507c89a22c1796425442ea88b73de1ca.tar.gz
rails-687282dd507c89a22c1796425442ea88b73de1ca.tar.bz2
rails-687282dd507c89a22c1796425442ea88b73de1ca.zip
Merge branch 'master' of github.com:lifo/docrails
-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: