Rails 7.1 allows templates to set strict locals

Rails 7.1 adds the ability to define the number of locals a template can accept. To achieve this, add a locals magic comment inside the partial.