databases/rubygem-attr_json 2.5.0 MidnightBSD
Serialized json-hash-backed ActiveRecord attributes
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- databases, rubygems
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 |
|---|---|---|
| MidnightBSD | databases/rubygem-attr_json | 2.5.0 |
| FreeBSD | databases/rubygem-attr_json | 2.6.0 |
| DragonFly | databases/rubygem-attr_json | 2.5.0 |
Install
Binary package:
mport install attr_json
From mports:
cd /usr/mports/databases/rubygem-attr_json && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= attr_json>0:databases/rubygem-attr_json
Dependencies
As this port's Makefile names them.
Build 1
rubygem-activerecord72>=6.0.0<8.1: databases/rubygem-activerecord72
Runtime 1
rubygem-activerecord72>=6.0.0<8.1: databases/rubygem-activerecord72
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/attr_json-2.5.0.gem | 49664 | 9fa8b0892d9f59109fadc494c4d73e820438e9480288b4265d6a72598ca84de8 |
Master sites 1
- RG