Checkout
Personalized AI apps
Build multi-agent systems without code and automate document search, RAG and content generation
Start free trial
Question

Concerns - Why do we use concerns?

Answer

It is common practice to use the word "concerns" to group together reusable modules that contain the common logic of several classes. The 'Post' and 'Comment' models, which stand in for blog posts and their comments, are perfect examples of this in action.