Categories: None [Edit]

associate_jsonb

https://rubygems.org/gems/associate_jsonb
https://github.com/SampsonCrowley/associate_jsonb
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

Total

Ranking: 56,294 of 192,692
Downloads: 19,800

Daily

Ranking: 97,916 of 192,666
Downloads: 7

Depended by

RankDownloadsName

Depends on

RankDownloadsName
29976,634,844rspec
44740,994,370rails
63638,477,459zeitwerk
108439,957,726pg
300168,322,079mutex_m

Owners

#GravatarHandle
1iconSampsonCrowley