diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 06:33:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 06:33:22 +0000 |
commit | f3d6726dfa3efdb895a85f5e2f72e7b430b788e9 (patch) | |
tree | a858d5b77610b6e3b4449a8bfd4b3141a0260c6d /activerecord/CHANGELOG | |
parent | 9f3ba03bc71e03814a090d8fcf1f8c4c3d5e4c49 (diff) | |
download | rails-f3d6726dfa3efdb895a85f5e2f72e7b430b788e9.tar.gz rails-f3d6726dfa3efdb895a85f5e2f72e7b430b788e9.tar.bz2 rails-f3d6726dfa3efdb895a85f5e2f72e7b430b788e9.zip |
Document validates_presences_of behavior with booleans: you probably want validates_inclusion_of :attr, :in => [true, false]. Closes #2253.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 719ae56748..a51c3460a4 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Document validates_presences_of behavior with booleans: you probably want validates_inclusion_of :attr, :in => [true, false]. #2253 [Bob Silva] + * Optimistic locking: gracefully handle nil versions, treat as zero. #5908 [Tom Ward] * validates_confirmation_of only kicks in when the attribute, rather than its confirmation, is present. #785 [z@wzph.com] |