aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/README.rdoc
diff options
context:
space:
mode:
authorT.J. Schuck <tj@getharvest.com>2014-01-03 17:02:31 -0500
committerT.J. Schuck <tj@getharvest.com>2014-01-03 17:02:31 -0500
commit72bb3fc297a3548e6748867bfb55a077b7b7728c (patch)
tree4e6c0d2a5ce1893c517bda5319c77397d80834e3 /activemodel/README.rdoc
parent19b2188e6c53a0c2ce43567950ff699e58b33798 (diff)
downloadrails-72bb3fc297a3548e6748867bfb55a077b7b7728c.tar.gz
rails-72bb3fc297a3548e6748867bfb55a077b7b7728c.tar.bz2
rails-72bb3fc297a3548e6748867bfb55a077b7b7728c.zip
Change all "can not"s to the correct "cannot".
Diffstat (limited to 'activemodel/README.rdoc')
-rw-r--r--activemodel/README.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/README.rdoc b/activemodel/README.rdoc
index a399fe9051..4c00755532 100644
--- a/activemodel/README.rdoc
+++ b/activemodel/README.rdoc
@@ -109,7 +109,7 @@ behavior out of the box:
attr_reader :errors
def validate!
- errors.add(:name, "can not be nil") if name.nil?
+ errors.add(:name, "cannot be nil") if name.nil?
end
def self.human_attribute_name(attr, options = {})
@@ -118,7 +118,7 @@ behavior out of the box:
end
person.errors.full_messages
- # => ["Name can not be nil"]
+ # => ["Name cannot be nil"]
{Learn more}[link:classes/ActiveModel/Errors.html]