method

translate_location

rails latest stable - Class: ActionView::Template
translate_location(backtrace_location, spot)
public

Translate an error location returned by ErrorHighlight to the correct source location inside the template.