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

  • Home
  • SEARCH
  • 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 508245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:53:15+00:00 2026-05-13T06:53:15+00:00

I’m working on a project with developers who have not worked with Ruby OR

  • 0

I’m working on a project with developers who have not worked with Ruby OR Rails before.

They have created a schema that is too complicated, in my opinion. The schema has 117 tables, and obtaining the simplest piece of information would require traversing/joining 7 tabels…and of course, there’s no “main” table that serves as a sort of key between them. The schema renders many of the rails tools like ‘find’ method, and many of the has_many/belongs to relationships almost useless. And coding for all of these relationships will likely be more time-consuming than we have the money to code for.

THE QUESTION:

Assuming you are VERY convinced (IMHO…hehe) that the schema is not ideal, and there are multiple ways to represent the domain, how would you argue FOR simplifying the schema (aside from what I’ve already said)?

  • 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-05-13T06:53:15+00:00Added an answer on May 13, 2026 at 6:53 am

    I’ll stand up in 2 roles here

    • DBA: Database admin/designer.
    • Dev: Application developer.

    I assume the DBA is a person who really know all the Database tricks. Reaallyy Knows.


    DBA:
    Database is the key of the application and should have predefined structure in order to serve its purpose well and with best performance.
    If you cannot use random schema (which is reasonably normalised and good) then the tools are wrong.

    Dev:
    The database is just a data store, so we need to keep it simple and concentrate on the application.

    DBA:
    Database is not a store it is the core of the application. There is no application without database.

    Dev:
    No. The application is the core. There is no application without the front-end and the business logic applied to it.

    And the war begins…


    Both points are valid and it is always trade off.

    If the database will ONLY be used by RoR, then you can use it more like a simple store.
    If the DB can be used by other application OR it will be used with large amount of data and high traffic it must enforce some best practices.

    Generally there is no way you can disagree with DBA.
    But they can understand your situation and might allow you to loose the standards a bit so you could be more productive.

    So you need to work closely, together.

    And you need to talk to each other to explain and prove the point why database should be like this or that.
    Otherwise, the team is broken and project can be failure with hight probability.


    ActiveRecord is a very handy tool. But it cannot do everything for you. It does not provide Database structure by default that you expect exactly. So it should be tuned.

    On the other side. If DBA can accept that all PKs are Auto incremented integers that would make Developer’s life easier (ActiveRecord does it by default).

    On the other side, if developers would accept some of DBA constraints it would make DBA’s life easier.


    Now to answer your question:

    how would you argue FOR simplifying the schema

    Do not argue. Meet the team and deliver the message and point on WHY it should be done.
    Maybe it really shouldn’t and you don’t know all the things, maybe they are not aware of something.

    You could agree on the general structure of the database AND try to describe it using RoR migrations as a meta language.

    This way they would see the general picture, and you would use your great ActiveRecords.
    And also everybody would be on the same page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 288k
  • Answers 288k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer With Flex 4, everything is in the Skins. CSS is… May 13, 2026 at 5:25 pm
  • Editorial Team
    Editorial Team added an answer Your function is vulnerable to SQL injection. You should validate… May 13, 2026 at 5:25 pm
  • Editorial Team
    Editorial Team added an answer LocationManager can return a last known location but this is… May 13, 2026 at 5:25 pm

Related Questions

I want use html5's new tag to play a wav file (currently only supported
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I've got a string that has curly quotes in it. I'd like to replace
In order to apply a triggered animation to all ToolTip s in my app,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.