diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-11-20 11:22:38 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-11-20 11:22:38 +0000 |
commit | 427fb035a3d03b23e903ca499abf3c1bfa53b10a (patch) | |
tree | 3610839d6204b352c896b3c88cd1b19cb97d1c0f /activerecord/CHANGELOG | |
parent | 6fc8e143c6aafa85c7b392f39a912f2545f23f8d (diff) | |
download | rails-427fb035a3d03b23e903ca499abf3c1bfa53b10a.tar.gz rails-427fb035a3d03b23e903ca499abf3c1bfa53b10a.tar.bz2 rails-427fb035a3d03b23e903ca499abf3c1bfa53b10a.zip |
Simplify query_attribute by typecasting the attribute value and checking whether it's nil, false, zero or blank. Closes #6659.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5593 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 5f6daf66ff..759d7b7784 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Simplify query_attribute by typecasting the attribute value and checking whether it's nil, false, zero or blank. #6659 [Jonathan Viney] + * 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] |