-
Hello.
I tried add some custom links with following code:
``` ruby
class ProfileResource < JSONAPI::Resource
...
def custom_links(options)
{ some_link_name: "some_url" }
end
...
end
```
But them…
-
**What you're trying to accomplish**
Recently due to security warning, we switched our private dependencies to use HTTPS for fetching from Github. Since then bundle check is failing constantly on a p…
-
It's very common to see a pattern like this in a Rails controller (I'm using `jsonapi-utils` methods in the code):
``` ruby
if model.save
jsonapi_render json: model
else
jsonapi_render json: mode…
-
Hi -
Trying to learn the ins and outs of JSON API, so I'm working through Adolfo Builes e-book. My apologies if this is not the appropriate place but I'm not able to get a hold of the author and I'm…
-
When using the JSONAPI Adapter to deserialize incoming parameters, `has_many` relationships with empty `data` arrays are deserialized incorrectly.
For example, in the `articles_controller.rb`, the `a…
-
**macOS 10.12.2 Beta**
docker version
Docker version 1.12.3, build 6b644ec
docker-compose
docker-compose version 1.8.1, build 878cff1
docker-py version: 1.10.3
CPython version: 2.7.9
Op…
-
per #63, and the json-api spec,
`The members data and errors MUST NOT coexist in the same document.`
So I'm opening this issue to discuss a way forward.
@fotinakis I read that you don't want to bi…
-
We are getting a lot of `MyModel(#70207742803840) expected, got MyModel(#70207749007680)` errors lately. This usually happens when models are loaded during the Rails boot process. They might be unload…
senny updated
8 years ago
-
So I got this scenario that I wanted to load an `attribute :output`, if the resource requested a `POST` request. This `output method` does is connect to an external api and gives back result, but when…
-
I have a text column in one of my models which I use to store serialized text in the form of a hash.
[The code to perform this](http://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Serial…