Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: ActionView::Helpers::RawOutputHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

These similar methods exist in v4.2.7:

raw(stringish) public

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 %>

Show source
Register or log in to add new notes.