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.

Required Ruby Version

>= 3.0.2

Authors

Derek Yu

Versions

  1. 0.1.0 January 20, 2022 (10.5 KB)

Pushed by

SHA 256 checksum