If you’ve been working with Ruby for more than five minutes, you’ve probably heard about modules. They’re a great way to share behavior across multiple classes without getting tangled in inheritance chains that resemble an over-leveled Zubat spamming Confuse Ray. But let’s make it real. Instead of talking about include and extend in the abstract, […]| dominickm.com
As you dive deeper into Ruby on Rails, you might notice your models and controllers starting to bloat with methods and logic. This not only makes your code harder to read but also tougher to maintain. Enter Rails Concerns—a powerful tool to keep your code a little more on the DRY (Don’t Repeat Yourself) side […] The post Pallet Town: Rails Concerns appeared first on dominickm.com.| dominickm.com