attr_json
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.
Ecosystem
gem.coop
gem.coop
Latest Release
5 months ago
2.6.0
5 months ago
Versions
25
25
Downloads
1,631,035 total
1,631,035 total
Loading...
Readme
Loading...
Links
| Registry | gem.coop |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:gem/attr_json?repository_url=https://gem.coop
spec |
| License | MIT |
| First Release | almost 8 years ago |
| Last Synced | 1 day ago |
Repository
Rankings on gem.coop
Overall
Top 0.9%
Downloads
Top 2.7%