aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.md
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2012-12-07 23:20:35 -0800
committerSteve Klabnik <steve@steveklabnik.com>2012-12-07 23:20:35 -0800
commited78770b1a13788a5d3fcae484f34654de580bd5 (patch)
treeacbfe5c166ae76a4bb3580e747d44dff9d867db8 /guides/source/active_record_querying.md
parente618adbcabe59eaccfab1f721eb3cf1e915e012e (diff)
downloadrails-ed78770b1a13788a5d3fcae484f34654de580bd5.tar.gz
rails-ed78770b1a13788a5d3fcae484f34654de580bd5.tar.bz2
rails-ed78770b1a13788a5d3fcae484f34654de580bd5.zip
Remove references to Rails versions.
There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
Diffstat (limited to 'guides/source/active_record_querying.md')
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index 641a2f8fc0..889e869a2a 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -1222,8 +1222,6 @@ You can specify an exclamation point (`!`) on the end of the dynamic finders to
If you want to find both by name and locked, you can chain these finders together by simply typing "`and`" between the fields. For example, `Client.find_by_first_name_and_locked("Ryan", true)`.
-WARNING: Up to and including Rails 3.1, when the number of arguments passed to a dynamic finder method is lesser than the number of fields, say `Client.find_by_name_and_locked("Ryan")`, the behavior is to pass `nil` as the missing argument. This is **unintentional** and this behavior has been changed in Rails 3.2 to throw an `ArgumentError`.
-
Find or Build a New Object
--------------------------