Fix build in 1.8.7

This commit is contained in:
Santiago Pastorino 2013-05-22 14:24:22 -07:00
parent f533fa24df
commit ee846f39af

View File

@ -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