Skip to content

rails extracted source noise #196

@axlekb

Description

@axlekb

Hi folks!

Updated to rails 7.1. Now when I write bad code, the "Extracted Source" section in default rails error page showsruby go-between instead of legible slim code.

For example, there are now:

  1. Semicolons to start and end every line
  2. Widespread @output_buffer.safe_concat(<div>slim to HTML here</div)

Before I spent time digging deeper, I was wondering if anyone knew about what may have caused this change, and/or if the proper place to attempt to get this back to the previous output it is here or in rails.

BEFORE

image

AFTER

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions