d9dd1c59d0
We want to use error highlight with eval'd code, specifically ERB templates. Previously we could only get the information we needed by setting `keep_script_lines` to true. In Ruby 3.2 and error_highlight we added the ability to get this information without setting `keep_script_lines`. This change implements that new behavior for Rails. I removed the script line changes to support this in 3.1 because it is not in any released version. Ruby change: https://github.com/ruby/ruby/pull/6593 Erorr highlight change: https://github.com/ruby/error_highlight/pull/26 Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> |
||
---|---|---|
.. | ||
abstract_controller | ||
action_controller | ||
action_dispatch | ||
action_pack | ||
abstract_controller.rb | ||
action_controller.rb | ||
action_dispatch.rb | ||
action_pack.rb |