json_sti 0.1.2
A common argument against STI in rails is that the tables eventually get cluttered with class specific columns. By keeping all subtype specific attrs in json, you completely avoid table bloat while keeping all the advantages of AR and a relational database
Gemfile:
=
instalar:
=
dependencias de Runtime (7):
activerecord
>= 4.2.0, < 7
activerecord_json_validator
~> 1.3.0
activesupport
>= 4.2.0, < 7
faker
~> 2.7
pg
~> 1.1
pry-byebug
~> 3.7
zeitwerk
~> 2.2