Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8012813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:26:50+00:00 2026-06-04T19:26:50+00:00

Usually using word Group as a model name is nice and easy, but my

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:26:51+00:00Added an answer on June 4, 2026 at 7:26 pm

    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 the User.

    • TaskType. Type is too general a name, so I’d compromise: call the class TaskType but use types as the association name so you can write the arguably nicer some_task.types:

      class Task
        has_many :types, :class_name => :TaskType
        ...
      end
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I usually either end up using [range]%s/word/another_word/gc or do it manually. I wonder if
Usually I was doing something like that (just a example): using (Stream xmlStream =
I usually tend to define the model layer of my apps using POJO's, such
i'm usually using Win32 API in c#.NET. But not declare all in one application.
I usually using git for versioning, but right now I am stuck with sources
I was usually using Storable with nstore , but now I have a module
Usually using Visual Studio's debugger is a breeze. Scanning through Locals quickly shows the
Most of the posts that I read pertaining to these utilities usually suggest using
I usually create a pixel format using wglChoosePixelFormatARB() with these arguments (among others): WGL_DOUBLE_BUFFER_ARB
I am using Codeigniter for a project and i usually call a series of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.