Flowdock
method

message

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionView::WrongEncodingError
message() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/template/error.rb, line 19
    def message
      @string.force_encoding(Encoding::ASCII_8BIT)
      "Your template was not saved as valid #{@encoding}. Please "        "either specify #{@encoding} as the encoding for your template "        "in your text editor, or mark the template with its "        "encoding by inserting the following as the first line "        "of the template:\n\n# encoding: <name of correct encoding>.\n\n"        "The source of your template was:\n\n#{@string}"
    end
Register or log in to add new notes.