Usually using word Group as a model name is nice and easy, but my applicatoin is just getting little bit bigger and I was thinking about using UserGroup. This solves my problem, On the other hand making it 2 words creates code that is not visually satisfying @user.user_group or task.task_type .
What would be the other disadvantages of using names like these other than that?
I think we’ve all been there. My 2 cents:
UserGroup. In a web application most of the times a group is a group of users, so you may safely drop theUser.TaskType.Typeis too general a name, so I’d compromise: call the classTaskTypebut usetypesas the association name so you can write the arguably nicersome_task.types: