active_model_serializers/lib/active_model
Yohan Robert 3cbc0541c1 Fix bug displaying nil for relationship link href
When using the relationship link with a block, calling "meta" without "href", e.g.
has_one :bio do
  link :related do
    meta id: 1
  end
end

results in in a nil "href", e.g.
{ links: { posts: { related: { href: nil, meta: { id: 1 } }  } } }.
According to JSONAPI, we should be able to use meta without href
(http://jsonapi.org/format/#document-links).
2016-02-15 09:26:53 +01:00
..
serializer Fix bug displaying nil for relationship link href 2016-02-15 09:26:53 +01:00
serializable_resource.rb Clean up notification code with some meta-prog 2015-11-10 03:09:24 -06:00
serializer.rb Merge branch 'beauby-resource-level-meta' 2016-02-08 18:00:51 -06:00