Single Table Inheritance

Download ruby-on-rails eBook

Introduction

Single Table Inheritance (STI) is a design pattern which is based on the idea of saving the data of multiple models which are all inheriting from the same Base model, into a single table in the database.

Related Examples

Stats

45 Contributors: 5
Monday, March 27, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook