aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/inheritance.rb
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 /activerecord/lib/active_record/inheritance.rb
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 'activerecord/lib/active_record/inheritance.rb')
-rw-r--r--activerecord/lib/active_record/inheritance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/inheritance.rb b/activerecord/lib/active_record/inheritance.rb
index f144d84946..949e7678a5 100644
--- a/activerecord/lib/active_record/inheritance.rb
+++ b/activerecord/lib/active_record/inheritance.rb
@@ -16,7 +16,7 @@ module ActiveRecord
# instance of the given subclass instead of the base class.
def new(*args, &block)
if abstract_class? || self == Base
- raise NotImplementedError, "#{self} is an abstract class and can not be instantiated."
+ raise NotImplementedError, "#{self} is an abstract class and cannot be instantiated."
end
if (attrs = args.first).is_a?(Hash)
if subclass = subclass_from_attrs(attrs)