aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Scott Hernandez <c.scott.hernandez@gmail.com>2011-07-08 10:05:05 -0700
committerChristopher Scott Hernandez <c.scott.hernandez@gmail.com>2011-07-08 10:05:05 -0700
commit5f6c6a7677ad4600871adb208c045ead4272c959 (patch)
tree3c29cfed6ee3ed318a9cbe0f7095190af870cd27
parent5724625e81380d46ad0a8c0a6110f74530da1bfe (diff)
parent2423aca1c5e2a8ede8767841c6e97b98467c601c (diff)
downloadrails-5f6c6a7677ad4600871adb208c045ead4272c959.tar.gz
rails-5f6c6a7677ad4600871adb208c045ead4272c959.tar.bz2
rails-5f6c6a7677ad4600871adb208c045ead4272c959.zip
Merge pull request #51 from christopherscott/master
Single word change (find -> where) on active record query page
-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