2023-12-15 blog.kiprosh.comRuby's Global Scope is Not Really GlobalThis means that whatever you do in the top-level, you're essentially just monkey-patching the Object class.
2025-02-27 blog.kiprosh.comRails 7.1 allows templates to set strict localsRails 7.1 adds the ability to define the local variables a template can accept. This helps in precompiling templates during application startup rather than at runtime. To achieve this, we have to add a locals magic comment inside the partial.