Looking for ruby-on-rails Answers? Try Ask4KnowledgeBase
Looking for ruby-on-rails Keywords? Try Ask4Keywords

Ruby on RailsSingle Table Inheritance


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.