Open andyw8 opened 9 months ago
Introduced in Rails 7.1:
https://github.com/rails/rails/pull/45602 https://masilotti.com/safer-rails-partials-with-strict-locals/
At a minimum, this would check for the presence of the <%# locals: ... %> magic comment in each partial.
<%# locals: ... %>
Introduced in Rails 7.1:
https://github.com/rails/rails/pull/45602 https://masilotti.com/safer-rails-partials-with-strict-locals/
At a minimum, this would check for the presence of the
<%# locals: ... %>
magic comment in each partial.