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

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:

=

Total downloads 5,234

For this version 1,617

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: