Permalink
Browse files

changing tense, since Rails 3.2 has been released

  • Loading branch information...
1 parent ba2d867 commit 4bdbf0a4a62e831d1ad9ccf7f77f7dd6f8fb2044 @drewda drewda committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
--------------------------

0 comments on commit 4bdbf0a

Please sign in to comment.