- Assuming a rails project with the Livestock, Agriculture, Fish farming and improvement.
- Being these inherit the properties of a model called Activity and are considered Activity types.
- The templates do not accurately inherit specific methods or behaviors, in case only the inherited properties access
- But some models have properties other than inherited and others not, for example Agriculture, in addition to the inherited ones, has the Agricultural Group properties and Agricultural Type.
Having this in mind comes my doubts: 1ª Is it a favorable scenario for the use of the Single Table Inheritance (STI) technique? In the case of models that have only the inherited properties, how can I avoid creating a new persistence table or model?.