mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved]
This commit is contained in:
parent
6356066006
commit
835fd07b48
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ module ActiveModel
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue