mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
99e52ae7b1
When a SyntaxError is detected in a template we raise this exception. On a first request to the server the exception we get a NameError since the exception is not required from `active_view/template/error.rb` yet. However later on it gets required and a second request will succeed. On the first request we see the rails "Something Wen Wrong" page and not the expected syntax error in template error page with the webconsole and stacktrace. By autoloading the constant we fix this issue. Co-authored-by: Gannon McGibbon <gannon.mcgibbon@gmail.com> |
||
---|---|---|
.. | ||
action_view | ||
action_view.rb |