Joe Woodward

Results 37 comments of Joe Woodward

what ever happened to this. It seems like flow control is still managed through exceptions. Am I missing something?

> @ghiculescu thanks. Aside from testing this myself, I need to think some more about the breaking change and how this can affect other apps, and a game plan for...

Might make sense to make this customizable too. I use form objects and attach exceptions to an `attr_accessor :exception` which should also be attached to `/data` if this interpretation of...

No worries @beauby, open source is hard work. It's like a second job :D. I'm happy you made these gems in the first place, they're really good. I was trying...

Been investigating and although this seems like it would be useful for debugging it's actually against the RFC6901 definition. A pointer can only point to a JSON key and cannot...

Actually I think it should reference `'/data/attributes'` http://jsonapi.org/examples/#error-objects-source-usage ```json { "errors": [ { "source": { "pointer": "" }, "detail": "Missing `data` Member at document's top level." } ] } ```...

https://github.com/jsonapi-rb/jsonapi-rails/pull/94

EDIT: I wrote this out but now I actually think this first method is bad BAD: I'm wondering if maybe the validates methods should be i.e. `validates :email, presence: {...

This could handle everything aside from `id` I believe http://jsonapi.org/format/#error-objects