databases/rubygem-attr_json 2.5.0 DragonFly
Serialized json-hash-backed ActiveRecord attributes
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- databases, rubygems
- Package size
- 40.5 KiB, 153.1 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | databases/rubygem-attr_json | 2.5.0 |
| FreeBSD | databases/rubygem-attr_json | 2.6.0 |
| MidnightBSD | databases/rubygem-attr_json | 2.5.0 |
| HardenedBSD | databases/rubygem-attr_json | 2.6.0 |
| GhostBSD | databases/rubygem-attr_json | 2.6.0 |
Install
Binary package:
pkg install rubygem-attr_json
From DPorts:
cd /usr/dports/databases/rubygem-attr_json && make install clean
Dependencies
Run dependencies 3
No port depends on this one.