If I have an error in a view's helper function, Rails will report the line from which the helper function was called. e.g. If I have in my view the line:
<%= bad_function %>
And in my helper file
def bad_function
non_existant_call
end
Then Rails would point me to the former ERB file as the source of the error. Is there any way to improve error reporting for views and helpers?
I am using Rails 2.3.8.