aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorIain Beeston <iain.beeston@gmail.com>2016-10-03 08:56:01 +0100
committerIain Beeston <iain.beeston@gmail.com>2016-10-03 08:56:01 +0100
commit1e6aab94d561c60c358cf33675a6a1373d11b97f (patch)
tree1a1b9e0ea59581d7386a5167e8f5800391e59baf /activemodel/lib
parent21ecf42730de2004a95d913038c1f417c24496be (diff)
downloadrails-1e6aab94d561c60c358cf33675a6a1373d11b97f.tar.gz
rails-1e6aab94d561c60c358cf33675a6a1373d11b97f.tar.bz2
rails-1e6aab94d561c60c358cf33675a6a1373d11b97f.zip
Corrected comments referring to ActiveModel::Attributes
Should be ActiveRecord::Attributes (ActiveModel::Attributes does not exist)
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/type.rb b/activemodel/lib/active_model/type.rb
index 313f17830f..0d3349e236 100644
--- a/activemodel/lib/active_model/type.rb
+++ b/activemodel/lib/active_model/type.rb
@@ -27,7 +27,7 @@ module ActiveModel
delegate :add_modifier, to: :registry
# Add a new type to the registry, allowing it to be referenced as a
- # symbol by ActiveModel::Attributes::ClassMethods#attribute. If your
+ # symbol by ActiveRecord::Attributes::ClassMethods#attribute. If your
# type is only meant to be used with a specific database adapter, you can
# do so by passing +adapter: :postgresql+. If your type has the same
# name as a native type for the current adapter, an exception will be