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
-
0.1.0
-
source
- 0.1.0 source January 20, 2022 (10.5 KB)
-