DEV Community

Discussion on: Build a Highly Performant Api with Rails 6 and fast_jsonapi

Collapse
 
ghostreef profile image
ghostreef

Rails doesn't render json api by default, so the first response you have up there isn't right. It isn't until you install the fast_jsonapi gem.

Also the serializer is missing "has_many :articles".