提交 835fd07b 编写于 作者: P Pavel Gorbokon

Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved]

上级 63560660
......@@ -30,7 +30,7 @@ def to_model
self
end
# Returns an Enumerable of all (primary) key attributes or nil if persisted? is fakse
# Returns an Enumerable of all (primary) key attributes or nil if persisted? is false
def to_key
persisted? ? [id] : nil
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册