提交 3e842559 编写于 作者: S Santiago Pastorino

attributes_before_type_cast are just the value of @attributes

上级 896e25e9
......@@ -13,7 +13,7 @@ def read_attribute_before_type_cast(attr_name)
# Returns a hash of attributes before typecasting and deserialization.
def attributes_before_type_cast
Hash[attribute_names.map { |name| [name, read_attribute_before_type_cast(name)] }]
@attributes
end
private
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册