This gem extends ActiveRecord to add additional functionality to JSONB - use PostgreSQL JSONB data for associations - thread-safe single-key updates to JSONB columns using `jsonb_set` - extended `table#references` for easy migrations and indexes - virtual JSONB foreign keys using check constraints (NOTE: real foreign key constraints are not possible with PostgreSQL JSONB) Inspired by activerecord-jsonb-associations, but for use in Rails 6+ and ruby 2.7+ and with some unnecessary options and features (HABTM) removed and some additional features added
Required Ruby Version
>= 2.7
Authors
Sampson Crowley
Versions
- 6.1.4.1.1 September 19, 2021 (20.5 KB)
- 0.0.10 September 24, 2020 (20 KB)
- 0.0.9 August 13, 2020 (19.5 KB)
- 0.0.8 August 12, 2020 (19.5 KB)
- 0.0.7 August 04, 2020 (20 KB)