aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-01-05 17:59:36 +0100
committerYves Senn <yves.senn@gmail.com>2013-01-05 18:04:52 +0100
commit947e1d5e85fa87128b7c5e21da55b92826cd7801 (patch)
tree5d86ab00506c39d154226f177cce36245d2fd440 /activesupport/CHANGELOG.md
parentfada87e916dd50eb6766cac919de41f0be2a12bc (diff)
downloadrails-947e1d5e85fa87128b7c5e21da55b92826cd7801.tar.gz
rails-947e1d5e85fa87128b7c5e21da55b92826cd7801.tar.bz2
rails-947e1d5e85fa87128b7c5e21da55b92826cd7801.zip
deprecate `assert_blank` and `assert_present`.
They don't add any benefits over `assert object.blank?` and `assert object.present?`
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index cc23ceb02c..08bec2f4ae 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Deprecate `assert_present` and `assert_blank` in favor of
+ `assert object.blank?` and `assert object.present?`
+
+ *Yves Senn*
+
* Change `String#to_date` to use `Date.parse`. This gives more consistent error
messages and allows the use of partial dates.