From 1e6aab94d561c60c358cf33675a6a1373d11b97f Mon Sep 17 00:00:00 2001 From: Iain Beeston Date: Mon, 3 Oct 2016 08:56:01 +0100 Subject: Corrected comments referring to ActiveModel::Attributes Should be ActiveRecord::Attributes (ActiveModel::Attributes does not exist) --- activemodel/lib/active_model/type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model/type.rb') 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 -- cgit v1.2.3