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,860 of 197,051
Downloads: 20,339

Daily

Ranking: 36,311 of 197,010
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
291,024,975,886rspec
45795,583,722rails
63708,250,657zeitwerk
110475,180,083pg
264209,312,546mutex_m

Owners

#GravatarHandle
1iconSampsonCrowley