aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-21 20:22:18 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-21 20:27:24 -0700
commit4c52ba278b8e349bc18cb89086af765d0828f0af (patch)
tree5b06e9a44f696f009c350281891062643620e00c /actionpack/lib/action_view
parent8f3cbb477375071cfa2ca9b3b01d8a4e3034ccf5 (diff)
downloadrails-4c52ba278b8e349bc18cb89086af765d0828f0af.tar.gz
rails-4c52ba278b8e349bc18cb89086af765d0828f0af.tar.bz2
rails-4c52ba278b8e349bc18cb89086af765d0828f0af.zip
Move Safari response-padding fix to Rails2Compatibility. Should be a Rack concern.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/template/text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/text.rb b/actionpack/lib/action_view/template/text.rb
index 927a0d7a72..a86c3915c2 100644
--- a/actionpack/lib/action_view/template/text.rb
+++ b/actionpack/lib/action_view/template/text.rb
@@ -2,7 +2,7 @@ module ActionView #:nodoc:
class TextTemplate < String #:nodoc:
def initialize(string, content_type = Mime[:html])
- super(string)
+ super(string.to_s)
@content_type = Mime[content_type]
end