active_model_serializers/lib
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
..
action_controller Add config.serializer_lookup_enabled that defaults true 2015-11-30 00:20:58 -06:00
active_model Fix bug displaying nil for relationship link href 2016-02-15 09:26:53 +01:00
active_model_serializers ensure that generators get configured correctly 2016-01-25 09:01:25 -08:00
generators/rails Only load generators when needed 2016-01-15 01:52:27 -06:00
grape Grape formatter feature requested in #1258 2015-12-10 10:06:40 +00:00
active_model_serializers.rb Require ActiveSupport's string/inflections 2016-01-31 13:45:58 -08:00