Permalink
Browse files

Make use of safe_concat on TextHelper concat

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent 86f0287 commit b10bf834b77fa296b7c4a00908eb3696e785b9e3 @spastorino spastorino committed with jeremy May 23, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/core_ext/string/output_safety.rb
@@ -96,6 +96,7 @@ def to_yaml(*args)
end
class String
+ alias safe_concat concat
alias_method :add_without_safety, :+
def as_str

0 comments on commit b10bf83

Please sign in to comment.