最終話 https://guides.rubyonrails.org/getting_started.html#extracting-a-concern Concerns are a great way to organize features of your Rails application. As you add more features to the Product, the class will become messy. Instead, we can use Concerns to extract each feature out into a self-contained module like Product::Notifications which contains all the functionality for handling subscribers and how notifications are sent. Extracting code into concerns also helps make features reusable. For example, we could introduce a new model that also needs subscriber notifications. This module could be used in multiple models to provide the same functionality.
https://guides.rubyonrails.org/getting_started.html#extracting-a-concern Put chubby models on a diet with concerns – Signal v. Noise https://signalvnoise.com/posts/3372-put-chubby-models-on-a-diet-with-concerns Helping devs understand concerns faster - A May Of WTFs - Ruby on Rails Discussions https://discuss.rubyonrails.org/t/helping-devs-understand-concerns-faster/74619 I disagree - I think we're talking about two competing philosophies. DHH / stand... | Hacker News https://news.ycombinator.com/item?id=7438038 Buckblog: Skinny Controller, Fat Model https://weblog.jamisbuck.org/2006/10/18/skinny-controller-fat-model 人は Fat Model を恐れサービスを求め ドメインモデルは貧血に至る - @ledsun blog https://ledsun.hatenablog.com/entry/2022/04/08/000748