提交 51d6a593 编写于 作者: M Mohit Natoo

- [ci skip] `regardless` is usually followed by `of` and not by `if .. or not`.

上级 406a2380
......@@ -40,8 +40,8 @@ def to_model
self
end
# Returns an Array of all key attributes if any is set, regardless if
# the object is persisted or not. Returns +nil+ if there are no key attributes.
# Returns an Array of all key attributes if any of the attributes is set, whether or not
# the object is persisted. Returns +nil+ if there are no key attributes.
#
# class Person
# include ActiveModel::Conversion
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册