Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails extracted source noise #196

Open
axlekb opened this issue Nov 13, 2023 · 0 comments
Open

rails extracted source noise #196

axlekb opened this issue Nov 13, 2023 · 0 comments

Comments

@axlekb
Copy link

axlekb commented Nov 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant