aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorChristopher Scott Hernandez <c.scott.hernandez@gmail.com>2011-07-08 10:02:01 -0700
committerChristopher Scott Hernandez <c.scott.hernandez@gmail.com>2011-07-08 10:02:01 -0700
commit2423aca1c5e2a8ede8767841c6e97b98467c601c (patch)
tree3c29cfed6ee3ed318a9cbe0f7095190af870cd27 /railties
parent5724625e81380d46ad0a8c0a6110f74530da1bfe (diff)
downloadrails-2423aca1c5e2a8ede8767841c6e97b98467c601c.tar.gz
rails-2423aca1c5e2a8ede8767841c6e97b98467c601c.tar.bz2
rails-2423aca1c5e2a8ede8767841c6e97b98467c601c.zip
Updated active_record_querying.textile: intro paragraph of 'Conditions' to change 'find method' to 'where method'
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/active_record_querying.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile
index 8937a0c172..082f9eda7d 100644
--- a/railties/guides/source/active_record_querying.textile
+++ b/railties/guides/source/active_record_querying.textile
@@ -256,7 +256,7 @@ The above will yield the supplied block with +1000+ invoices every time.
h3. Conditions
-The +find+ method allows you to specify conditions to limit the records returned, representing the +WHERE+-part of the SQL statement. Conditions can either be specified as a string, array, or hash.
+The +where+ method allows you to specify conditions to limit the records returned, representing the +WHERE+-part of the SQL statement. Conditions can either be specified as a string, array, or hash.
h4. Pure String Conditions