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 7.1 strict locals? #958

Open
ibrahima opened this issue Oct 2, 2024 · 0 comments
Open

Rails 7.1 strict locals? #958

ibrahima opened this issue Oct 2, 2024 · 0 comments

Comments

@ibrahima
Copy link

ibrahima commented Oct 2, 2024

Hi! I was trying to use Rails 7.1's strict locals feature, but it didn't seem to work with the / comment delimiter. Do y'all have any ideas on whether it should work with Slim, or if something needs to be done to add support for it to Slim? Thanks!

Ahh, looks like it looks for the string # locals: specifically, so I found that if you write your comment like

/ # locals: (foo:)

it works!

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