Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved]
This commit is contained in:
parent
6356066006
commit
835fd07b48
|
@ -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 New Issue