mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Fix build in 1.8.7
This commit is contained in:
parent
f533fa24df
commit
ee846f39af
@ -323,7 +323,7 @@ module ActiveModel
|
||||
# Returns a json representation of the serializable
|
||||
# object including the root.
|
||||
def as_json(args={})
|
||||
super(root: args.fetch(:root, options.fetch(:root, root_name)))
|
||||
super(:root => args.fetch(:root, options.fetch(:root, root_name)))
|
||||
end
|
||||
|
||||
def serialize_object
|
||||
|
||||
Loading…
Reference in New Issue
Block a user