FreeBSD.software
Home/databases/rubygem-attr_json

rubygem-attr_json

2.6.0databases

Serialized json-hash-backed ActiveRecord attributes

ActiveRecord attributes stored serialized in a json column, super smooth. Typed and cast like Active Record. Supporting nested models, dirty tracking, some querying (with postgres jsonb contains), and working smoothy with form builders. Use your database as a typed object store via ActiveRecord, in the same models right next to ordinary ActiveRecord column-backed attributes and associations. Your json-serialized attr_json attributes use as much of the existing ActiveRecord architecture as we can.

$pkg install rubygem-attr_json
github.com/jrochkind/attr_json
Origin
databases/rubygem-attr_json
Size
154KiB
License
MIT
Maintainer
sunpoet@FreeBSD.org
Dependencies
3 packages
Required by
0 packages

Dependencies (3)