mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Mutate hash while building it
This commit is contained in:
parent
155e99cedc
commit
13340790c5
@ -324,7 +324,7 @@ module AMS
|
||||
{
|
||||
id: id.to_s,
|
||||
type: type
|
||||
}.merge({
|
||||
}.merge!({
|
||||
attributes: attributes,
|
||||
relationships: relations,
|
||||
links: resource_links_object
|
||||
|
||||
Loading…
Reference in New Issue
Block a user