Registry / orm / attr-json

attr-json

JSON →
library2.6.0rbrubygemsunverified

ActiveRecord attributes stored serialized in a JSON column with typing, casting, nested models, dirty tracking, and querying support.

gem install attr_json
INSTALL
IMPORT
SIG · ATTR-JSON
A
attr-json
ormrubyv2.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AttrJson
require 'attr_json'

Define a JSON-backed attribute on an ActiveRecord model.

require 'attr_json' class MyModel < ActiveRecord::Base attr_json :settings, :string, default: 'default' end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
42
Amazon
1
Resources
attr-json — gem install attr-json · libregistry