Permalink
Browse files

Fix spelling error in ActiveModel::Conversion docs. [#4826 state:reso…

…lved]
  • Loading branch information...
1 parent 6356066 commit 835fd07b48da7a753a1f22b3889d611946234349 @pahanix pahanix committed Jun 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/conversion.rb
@@ -30,7 +30,7 @@ def to_model
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

0 comments on commit 835fd07

Please sign in to comment.