aboutsummaryrefslogtreecommitdiffstats
path: root/guides
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 /guides
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 'guides')
-rw-r--r--guides/source/4_0_release_notes.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/4_0_release_notes.md b/guides/source/4_0_release_notes.md
index 34d2c09812..80af0c1225 100644
--- a/guides/source/4_0_release_notes.md
+++ b/guides/source/4_0_release_notes.md
@@ -142,6 +142,7 @@ Please refer to the [Changelog](https://github.com/rails/rails/blob/master/activ
* BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger from Ruby stdlib.
+* Deprecate `assert_present` and `assert_blank` in favor of `assert object.blank?` and `assert object.present?`
Action Pack
-----------