RubyGems Navigation menu

json_sti 0.1.0

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.2 - March 21, 2020 (7.5 KB)
  2. 0.1.1 - March 11, 2020 (7 KB)
  3. 0.1.0 - February 21, 2020 (7.5 KB)

Runtime Dependencies (7):

activerecord >= 4.2.0, < 7
activesupport >= 4.2.0, < 7
faker ~> 2.7
pg ~> 1.1
pry-byebug ~> 3.7
zeitwerk ~> 2.2

Development Dependencies (4):

bundler ~> 1.12
rake ~> 0.8.7
rspec ~> 3.5
rubocop ~> 0.77

Owners:

Pushed by:

Authors:

  • Andrew Max

SHA 256 checksum:

b3b0d16e47a57665b3909cdb8f417205d72b006c9c41ee75a5b4c4745d08cbae

Total downloads 5,017

For this version 1,550

License:

MIT

Required Ruby Version: >= 0

Links: