diff --git a/activerecord/lib/active_record/attributes.rb b/activerecord/lib/active_record/attributes.rb index e1fd81e0ba..903a373bdc 100644 --- a/activerecord/lib/active_record/attributes.rb +++ b/activerecord/lib/active_record/attributes.rb @@ -12,6 +12,9 @@ module ActiveRecord end module ClassMethods + ## + # :call-seq: attribute(name, cast_type = nil, **options) + # # Defines an attribute with a type on this model. It will override the # type of existing attributes if needed. This allows control over how # values are converted to and from SQL when assigned to a model. It also