1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Corrected comments referring to ActiveModel::Attributes

Should be ActiveRecord::Attributes (ActiveModel::Attributes does not exist)
This commit is contained in:
Iain Beeston 2016-10-03 08:56:01 +01:00
parent 21ecf42730
commit 1e6aab94d5

View file

@ -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