提交 b9d98597 编写于 作者: A Aaron Patterson

we don't need to to_s the column

上级 9d0a6532
......@@ -7,7 +7,7 @@ def self.build_from_hash(klass, attributes, default_table)
table = default_table
if column.is_a?(Symbol) && klass.attribute_alias?(column)
column = klass.attribute_alias(column.to_s)
column = klass.attribute_alias(column)
end
if value.is_a?(Hash)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册