🚨 Rails 8 Breaking Change
`stringify_keys` now stringifies all keys, not just symbols! 😮
This could break things silently if you’re not careful.
#rubyonrails#activesupport
✨Don't Overcomplicate Refactoring ✨
Simple reflexes can boost code readability!
➡️ Store roles and permissions in a hash for lookups
➡️ Use with_indifferent_access for string/symbol keys
➡️ Use Hash#fetch for lookups and error handling
#rubyonrails
Did you know you can implement a complete Configuration pattern with `ActiveSupport::Configurable`? 🤩
We also use the `configure` macro to set default values elegantly.
#rubyonrails
No more slow bundle installs! 🤯
Use the `MAKE` environment variable and the `nproc` command to dramatically speed up your `bundle install`!
#rubyonrails