diff options
author | Pavel Gorbokon <pahanix@gmail.com> | 2010-06-11 03:09:27 +0300 |
---|---|---|
committer | Pavel Gorbokon <pahanix@gmail.com> | 2010-06-11 03:09:27 +0300 |
commit | 835fd07b48da7a753a1f22b3889d611946234349 (patch) | |
tree | d0ddb45d4f9e48b1a5fc5e7a5f871c6863a10047 /activemodel/lib/active_model | |
parent | 63560660062d552d6bbebec007154f0c639bf865 (diff) | |
download | rails-835fd07b48da7a753a1f22b3889d611946234349.tar.gz rails-835fd07b48da7a753a1f22b3889d611946234349.tar.bz2 rails-835fd07b48da7a753a1f22b3889d611946234349.zip |
Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved]
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | 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 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 |