RubyGems Navigation menu

relation_to_json 0.1.0

RelationToJSON takes in a schema of attributes and associations together with an ActiveRecord::Relation object and produces an array of nested hashes corresponding to a JSON representation of each record.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 January 20, 2022 (10.5 KB)

Runtime Dependencies (1):

Development Dependencies (5):

activerecord ~> 7.0.0
bundler ~> 2.0
pry >= 0
pry-byebug >= 0
sqlite3 ~> 1.4.2

Owners:

Pushed by:

Authors:

  • Derek Yu

SHA 256 checksum:

=

Total downloads 1,512

For this version 1,512

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.2

Links: