upgrade hash syntax

This commit is contained in:
Tee Parham
2013-05-29 21:59:17 -06:00
parent b686b73edf
commit 74ba9dc76c
7 changed files with 24 additions and 24 deletions

View File

@@ -52,7 +52,7 @@ module ActiveModel
end
serializer ||= DefaultSerializer
serializable = serializer.new(item, options.merge(:root => nil))
serializable = serializer.new(item, options.merge(root: nil))
if serializable.respond_to?(:serializable_hash)
serializable.serializable_hash