RubyGems Navigation menu

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:
= 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:

b17db3da7e5b937ad1209f85b4babed0aaaa07b0f07da75f3b00c2ecbefb7e6f

Total downloads 4,999

For this version 1,951

License:

MIT

Required Ruby Version: >= 0

Links: