mirror of https://github.com/rails/rails
- [ci skip] `regardless` is usually followed by `of` and not by `if .. or not`.
This commit is contained in:
parent
406a2380b8
commit
51d6a59329
|
@ -40,8 +40,8 @@ module ActiveModel
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue