BSD Ports

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

SystemPortVersion
MidnightBSDdatabases/rubygem-attr_json2.5.0
FreeBSDdatabases/rubygem-attr_json2.6.0
DragonFlydatabases/rubygem-attr_json2.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

Runtime 1

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
FileSizeSHA256
rubygem/attr_json-2.5.0.gem496649fa8b0892d9f59109fadc494c4d73e820438e9480288b4265d6a72598ca84de8
Master sites 1
  • RG