Should I split this model and table?

Posted by regedarek on Stack Overflow See other posts from Stack Overflow or by regedarek
Published on 2012-11-02T00:02:07Z Indexed on 2012/11/07 5:00 UTC
Read the original article Hit count: 116

I would like to create simple ResumeBank app.

Issue:

As user I would like to add only two Resumes. Forms for this both Resumes are different with only two fields. Resumes have 12 the same attributes but 2 are diferent.

Question:

Should I split that Resume model and tables to ex: PolishResume and EnglishResume, polish_remsumes and english_remsumes?

Or maybe should I use STI and create PolishResume < Resume and use one table.

What are disadvantages of splitting option?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails-3