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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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)

dependencias de Runtime (7):

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

dependencias de Development (4):

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

Propietarios:

Subida por:

Autores:

  • Andrew Max

SHA 256 checksum:

b17db3da7e5b937ad1209f85b4babed0aaaa07b0f07da75f3b00c2ecbefb7e6f

Total de descargas 5.017

Para esta versión 1.959

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: