Store in a single table all your models
https://github.com/igorkasyanchuk/mechanical
A very simple way to define the schema of your DB in a single file. Simply define your models and attributes and use them as a regular AR model.
If you need another attribute - just add it in the same file and restart the server.
Created as an experiment :), uses metaprogramming+STI+postgres+jsonb
Post a comment