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 # Returns a json representation of the serializable
# object including the root. # object including the root.
def as_json(args={}) 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 end
def serialize_object def serialize_object