Code with Jason cover image

169 - Rails Concerns with Jorge Manrubia of 37signals

Code with Jason

00:00

The Complexity of Incineration

Incineration is how we call deleting data for good. When you go to the concern, you have a one line that which is essentially invoking the system. But if you look into incinerate, it's quite different if you have like all the incineration of system as a big method or as a bunch of methods injected into recording directly. That's one scenario where you are probably suffering like the problems related to the fat model anti-pattern in rails. I argue that combining object orientation with this approach can be desirable because it lets you write very comprehensive code when you are interacting with the system.

Play episode from 31:15
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app