1
0
Fork 0
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:
Pavel Gorbokon 2010-06-11 03:09:27 +03:00
parent 6356066006
commit 835fd07b48

View file

@ -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