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
1 changed files with 1 additions and 1 deletions

View File

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