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: 55,914 of 187,239
Downloads: 18,766

Daily

Ranking: 32,719 of 187,224
Downloads: 12

Depended by

RankDownloadsName

Depends on

RankDownloadsName
27919,404,019rspec
43671,311,427rails
71555,746,390zeitwerk
107398,480,488pg
393114,311,106mutex_m

Owners

#GravatarHandle
1iconSampsonCrowley