jsonapi-rails icon indicating copy to clipboard operation
jsonapi-rails copied to clipboard

Rails gem for fast jsonapi-compliant APIs.

Results 33 jsonapi-rails issues
Sort by recently updated
recently updated
newest added
trafficstars

I have a need to set a cache key based on attributes in my model, but I'm unable to access these from the serializer. Is there already a way to...

Working through implementing includes I have discovered what appears to be a bug. All my other code like this works as expected and the only difference I can find is...

How is the 'posts.**' option used in rails?

I work on an app where one of our API clients would like to customize an error message shown to the user. The server is using jsonapi-rails (version 0.3.1), with...

Hi there, I do find the default values for jsonapi_cache and default initializers, but is it possible to add some documentation? I have a very static json and it would...

Currently have strong params in place and when a request comes through without a compliant structure I end up raising `ActionController::ParameterMissing` because my strong params doesn't have anything to work...

I don't have a solid mental model for what's happening when I'm trying to set a class -> serializable class mapping. I've got two classes: ``` class Relationship < ApplicationRecord...

Hi, When my model is invalid I render the response (from controller) like this: `render jsonapi_errors: activity.errors, status: :unprocessable_entity` It serializes the model error as following: ``` { "errors": [...

according to the [json api spec](http://jsonapi.org/format/#fetching-includes), endpoints must respond with a 400 if unsupported includes fields are requested. I can handle undefined activerecord associations on my end, but i'd like...

Closes https://github.com/jsonapi-rb/jsonapi-rails/issues/147