aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorCarlos Galdino <carloshsgaldino@gmail.com>2012-06-01 19:10:18 -0300
committerCarlos Galdino <carloshsgaldino@gmail.com>2012-06-05 15:34:30 -0300
commitfc092a9cba5fceec38358072e50e09250cf58840 (patch)
tree7b4181b267ec8bfe0f07eee77c2f496d122cf5a3 /actionpack/CHANGELOG.md
parent9f52d1526c816a35ec7bcc6e85f27b51d010dbae (diff)
downloadrails-fc092a9cba5fceec38358072e50e09250cf58840.tar.gz
rails-fc092a9cba5fceec38358072e50e09250cf58840.tar.bz2
rails-fc092a9cba5fceec38358072e50e09250cf58840.zip
Deprecate `:confirm` in favor of `:data => { :confirm => 'Text' }` option
This deprecation applies to: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag` As :confirm is an UI specific option is better to use the data attributes, teaching users about unobtrusive JavaScript and how Rails works with it.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index 567e1b8a06..75fb902196 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,9 @@
## Rails 3.2.6 (unreleased) ##
+* Deprecate `:confirm` in favor of `':data => { :confirm => "Text" }'` option for `button_to`, `button_tag`, `image_submit_tag`, `link_to` and `submit_tag` helpers.
+
+ *Carlos Galdino*
+
* Allow to use mounted_helpers (helpers for accessing mounted engines) in ActionView::TestCase. *Piotr Sarnacki*
* Include mounted_helpers (helpers for accessing mounted engines) in ActionDispatch::IntegrationTest by default. *Piotr Sarnacki*