RubyGems Navigation menu

json_sti 0.1.1

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:

d11038475db7e0a1b0c42a654ee8cc5f508811034261fd1414fb6e57ca32d010

Total downloads 5,017

For this version 1,508

License:

MIT

Required Ruby Version: >= 0

Links: