From 835fd07b48da7a753a1f22b3889d611946234349 Mon Sep 17 00:00:00 2001 From: Pavel Gorbokon Date: Fri, 11 Jun 2010 03:09:27 +0300 Subject: [PATCH] Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved] --- activemodel/lib/active_model/conversion.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/conversion.rb b/activemodel/lib/active_model/conversion.rb index 585c20dcdf..23724b2d95 100644 --- a/activemodel/lib/active_model/conversion.rb +++ b/activemodel/lib/active_model/conversion.rb @@ -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