method

source_location

rails latest stable - Class: ActionView::TemplateError

Method deprecated or moved

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

source_location()
private

No documentation available.

# File actionpack/lib/action_view/template_error.rb, line 91
      def source_location
        if line_number
          "on line ##{line_number} of "
        else
          'in '
        end + file_name
      end