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
|
self
|
||||||
end
|
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
|
def to_key
|
||||||
persisted? ? [id] : nil
|
persisted? ? [id] : nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue