diff options
author | Drew Dara-Abrams <dda@dara-abrams.com> | 2012-12-06 16:04:53 -0800 |
---|---|---|
committer | Drew Dara-Abrams <dda@dara-abrams.com> | 2012-12-06 16:04:53 -0800 |
commit | 4bdbf0a4a62e831d1ad9ccf7f77f7dd6f8fb2044 (patch) | |
tree | f8f3dee5e852f1c01f88c32b7eca2a1538c0991f | |
parent | ba2d867b2961b5ef72aad353c2d647b04654cbe3 (diff) | |
download | rails-4bdbf0a4a62e831d1ad9ccf7f77f7dd6f8fb2044.tar.gz rails-4bdbf0a4a62e831d1ad9ccf7f77f7dd6f8fb2044.tar.bz2 rails-4bdbf0a4a62e831d1ad9ccf7f77f7dd6f8fb2044.zip |
changing tense, since Rails 3.2 has been released
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 9620270141..b22cc09951 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -1222,7 +1222,7 @@ 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 will be changed in Rails 3.2 to throw an `ArgumentError`. +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 -------------------------- |