cerebris/jsonapi-resources — pull request #37 by arantir (2014-11-10 22:05:26+00:00)
Title: Fix include associations which might be nil.

Fixes the issue #36
has_one association should return nil is source model's one is nil. Or I think so.
You can try the test without other changes to reproduce the exact issue I had encountered to find better solutions if possible.