aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-07-09 18:44:53 -0300
committerAaron Patterson <aaron.patterson@gmail.com>2016-08-11 12:16:45 -0700
commit5aabcf25caefbe84f656256a9d3e7fc0c9e14ecc (patch)
treea290600aa1735ba209c7cc7adc3cdd47083d6674
parentebc3639139d21eeb8452edb28ce62530cc075198 (diff)
downloadrails-5aabcf25caefbe84f656256a9d3e7fc0c9e14ecc.tar.gz
rails-5aabcf25caefbe84f656256a9d3e7fc0c9e14ecc.tar.bz2
rails-5aabcf25caefbe84f656256a9d3e7fc0c9e14ecc.zip
Include missing module in tag_helper
Since 6857415187810f1289068a448268264d0cf0844f we are using #safe_join to join the content when an Array is given, so we must include the dependent module here to make sure it's available when this module is used alone. This was making Simple Form tests to fail with current master due to the missing dependency.
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index 34741b8d79..6b659a7c00 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -10,6 +10,7 @@ module ActionView
module TagHelper
extend ActiveSupport::Concern
include CaptureHelper
+ include OutputSafetyHelper
BOOLEAN_ATTRIBUTES = %w(disabled readonly multiple checked autobuffer
autoplay controls loop selected hidden scoped async