Shared scope via module

This is a short entry but I am pretty sure that I’ll be reviewing this post soon or latter because I find myself trying to avoid repeating scopes every now and then.

And the solution is as easy as moving the scope to a concern:

And include it in the models as needed:

So now we can write:

Note to myself: Just remember to respect the naming conventions about concerns and the use of the past tense in the module when writing “included”.