Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make use of safe_concat on TextHelper concat

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
commit b10bf834b77fa296b7c4a00908eb3696e785b9e3 1 parent 86f0287
@spastorino spastorino authored jeremy committed
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.