Sha256: 0d53b60dbe8264f88b20cfd0a23b911e05ba5446caa689ab3241ef3c87ab67be
Contents?: true
Size: 524 Bytes
Versions: 38
Compression:
Stored size: 524 Bytes
Contents
module ActionView #:nodoc: # = Action View Raw Output Helper module Helpers #:nodoc: module RawOutputHelper # This method outputs without escaping a string. Since escaping tags is # now default, this can be used when you don't want Rails to automatically # escape tags. This is not recommended if the data is coming from the user's # input. # # For example: # # <%=raw @user.name %> def raw(stringish) stringish.to_s.html_safe end end end end
Version data entries
38 entries across 38 versions & 1 rubygems