Closed JanStevens closed 4 years ago
I'm not sure yet exactly why binding_of_caller
affects this kind of error. But ActionView::Template::Error
is presented correctly by Better Errors as of release 2.7.1 when binding_of_caller
is included. If you're not using binding_of_caller
you'll see a duplicate backtrace frame.
The
binding_of_caller
gem causes the stack trace to be limited and it becomes less relevant since it just errors out on the viewExample without binding of a caller
With binding of a caller
As you can see this is a bit annoying figuring out where it went wrong. It now just shows its in the index view while I need to know the full stack trace