Aggregate / Computed columns in Ecto Schemas

I was working with implementing a closure tree for replies on a comments table the other day and needed a way to represent the “parent” comment for rendering on the front end.


ja_serializer action_fallback controller

I’m not sure if I missed something going through the ja_serializer README, but I couldn’t find a consistent way to render JSONAPI errors.

I tossed together this fallback controller for ja_serializer using action_fallback that will…

CoryODaniel
CoryODaniel
Notes on SQL, ruby, elixir, tacos, and whiskey
More information
Followers
229
Elsewhere