aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorsnusnu <gamsnjaga@gmail.com>2010-03-17 19:10:20 +0100
committerJeremy Kemper <jeremy@bitsweat.net>2010-03-17 15:14:35 -0700
commit644219a680c97cea206e2029dbbbb19d35fd8047 (patch)
tree5679f056fe889df3ff75e5511590dbf0da7348fa /activesupport/lib
parent6416a35f4b3290a93145d40045147fc01d36e756 (diff)
downloadrails-644219a680c97cea206e2029dbbbb19d35fd8047.tar.gz
rails-644219a680c97cea206e2029dbbbb19d35fd8047.tar.bz2
rails-644219a680c97cea206e2029dbbbb19d35fd8047.zip
Require AS singleton_class code in AS output_safety
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/string/output_safety.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb
index 5babc297c1..3ee5bcaab4 100644
--- a/activesupport/lib/active_support/core_ext/string/output_safety.rb
+++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb
@@ -1,4 +1,5 @@
-require "erb"
+require 'erb'
+require 'active_support/core_ext/object/singleton_class'
class ERB
module Util