From ad4be37b0a288981e7d0d1a47cda67a8581eb0bd Mon Sep 17 00:00:00 2001 From: Pavel Gorbokon Date: Thu, 10 Jun 2010 23:20:37 +0300 Subject: [PATCH] Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved] --- activemodel/lib/active_model/conversion.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/activemodel/lib/active_model/conversion.rb b/activemodel/lib/active_model/conversion.rb index 585c20d..23724b2 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 -- 1.7.1