-
#### Expected behavior vs actual behavior
With the current master branch, I tried to deserialize like [in the doc](https://github.com/rails-api/active_model_serializers/blob/88d4fe5b5e58db4c1fc1a60c4…
-
#### Expected behavior vs actual behavior
Suppose that we have:
``` ruby
#taken from tests
class RelationshipAuthor < ::Model; end
class RelationshipAuthorSerializer < ActiveModel::Serializer
type…
-
I have the following models:
``` ruby
class Product < ApplicationRecord
belongs_to :platform
end
class Software < Product
end
class Platform < ApplicationRecord
has_many :products
end
```
and …
-
#### Expected behavior vs actual behavior
When I run specs to test my controller, specs fails because '*' is not a method of the parent model class.
#### Steps to reproduce
1. Install rails 5.0.0beta…
-
We were profiling our application last night with ruby-prof to find out where we could improve the speed of our api calls and found two things in jsonapi resources I think would be an easy fix to incr…
-
New Ember projects use `JSONAPIAdapter` by default and expect API responses to match the [JSON API spec](http://jsonapi.org/). But getting Rails to serialize models according to this format is pretty …
-
#### Background
I have an application that uses the JSON API format with an endpoint that returns a polymorphic collection. Some of the records in the collection have relationships to the same record…
-
Hi bro,
I'm trying integrate jsonapi resources to my engine but have a issue.
I added the resources and controller follow the guide and routes file.
`
require 'jsonapi/routing_ext'
StaticPages::Eng…
-
I'm working on an app where I use ember + rails and [JSONAPI Resources](https://github.com/cerebris/jsonapi-resources) gem to handle communication between backend and frontend.
I've put some models i…
-
Not best practice but it is possible to have validation errors set in an ActiveRecord after_save block raising an ActiveRecord::RecordInvalid exception - as outlined at http://tech.taskrabbit.com/blog…