rails/jbuilder — pull request #48 by SamSaffron (2012-07-24 03:44:03+00:00)
Title: The errors I am getting when my view blows up is making me want to kill clowns

Since the source is "sourced" twice JbuilderHandler it is causing all the lines in the error messages to be totally bogus.

This patch keeps the lines aligned that in turn ensure you get the correct error line numbers.

It does slightly change stuff by adding a local, nonetheless I think it is safe.