EdinburghUniversityTheatreCompany / black_lightning

MIT License
3 stars 4 forks source link

Strict locals #308

Closed mickzijdel closed 2 weeks ago

mickzijdel commented 2 weeks ago

Add strict locals to all partials. This is Rails 7.1 feature that means you can only pass defined locals to a partial and set defaults for locals, like a function. It reduces errors because of typos significantly, as you can see, it even helped me catch some errors.

leon0241 commented 2 weeks ago

merge conflicts :(

mickzijdel commented 2 weeks ago

Boo :( I can merge them if you approve.