diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-11-20 10:51:50 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-11-20 10:51:50 +0000 |
commit | 9594832a8dd5631d924c4b45dcae9810e000b057 (patch) | |
tree | 9ca5ee22a603acfa9fd917bcb1b54794d56aad80 /activerecord/CHANGELOG | |
parent | 88bd86e8bc165322cea4dfd6fecf092d7bb3d49e (diff) | |
download | rails-9594832a8dd5631d924c4b45dcae9810e000b057.tar.gz rails-9594832a8dd5631d924c4b45dcae9810e000b057.tar.bz2 rails-9594832a8dd5631d924c4b45dcae9810e000b057.zip |
validates_numericality_of uses \A \Z to ensure the entire string matches rather than ^ $ which may match one valid line of a multiline string. Closes #5716.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5589 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 269d58a70d..5f6daf66ff 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* validates_numericality_of uses \A \Z to ensure the entire string matches rather than ^ $ which may match one valid line of a multiline string. #5716 [Andreas Schwarz] + * Run validations in the order they were declared. #6657 [obrie] * MySQL: detect when a NOT NULL column without a default value is misreported as default ''. Can't detect for string, text, and binary columns since '' is a legitimate default. #6156 [simon@redhillconsulting.com.au, obrie, Jeremy Kemper] |