aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_tag_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb
index c92b38e2b9..11bc0cbec8 100644
--- a/actionpack/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -425,16 +425,16 @@ module ActionView
options = options.stringify_keys
if disable_with = options.delete("disable_with")
- message = ":disable_with option is deprecated and will be removed from Rails 4.1. " /
- "Use ':data => { :disable_with => \'Text\' }' instead."
+ message = ":disable_with option is deprecated and will be removed from Rails 4.1. " \
+ "Use 'data: { disable_with: \'Text\' }' instead."
ActiveSupport::Deprecation.warn(message, caller)
options["data-disable-with"] = disable_with
end
if confirm = options.delete("confirm")
- message = ":confirm option is deprecated and will be removed from Rails 4.1. " /
- "Use ':data => { :confirm => \'Text\' }' instead'."
+ message = ":confirm option is deprecated and will be removed from Rails 4.1. " \
+ "Use 'data: { confirm: \'Text\' }' instead'."
ActiveSupport::Deprecation.warn(message, caller)
options["data-confirm"] = confirm
@@ -487,16 +487,16 @@ module ActionView
options = options.stringify_keys
if disable_with = options.delete("disable_with")
- message = ":disable_with option is deprecated and will be removed from Rails 4.1. " /
- "Use ':data => { :disable_with => \'Text\' }' instead."
+ message = ":disable_with option is deprecated and will be removed from Rails 4.1. " \
+ "Use 'data: { disable_with: \'Text\' }' instead."
ActiveSupport::Deprecation.warn(message, caller)
options["data-disable-with"] = disable_with
end
if confirm = options.delete("confirm")
- message = ":confirm option is deprecated and will be removed from Rails 4.1. " /
- "Use ':data => { :confirm => \'Text\' }' instead'."
+ message = ":confirm option is deprecated and will be removed from Rails 4.1. " \
+ "Use 'data: { confirm: \'Text\' }' instead'."
ActiveSupport::Deprecation.warn(message, caller)
options["data-confirm"] = confirm
@@ -541,8 +541,8 @@ module ActionView
options = options.stringify_keys
if confirm = options.delete("confirm")
- message = ":confirm option is deprecated and will be removed from Rails 4.1. " /
- "Use ':data => { :confirm => \'Text\' }' instead'."
+ message = ":confirm option is deprecated and will be removed from Rails 4.1. " \
+ "Use 'data: { confirm: \'Text\' }' instead'."
ActiveSupport::Deprecation.warn(message, caller)
options["data-confirm"] = confirm