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/test/associations_test.rb | |
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/test/associations_test.rb')
0 files changed, 0 insertions, 0 deletions