method

hook_attribute_type

rails latest stable - Class: ActiveModel::AttributeRegistration::ClassMethods

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

hook_attribute_type(attribute, type)
private

Hook for other modules to override. The attribute type is passed through this method immediately after it is resolved, before any type decorations are applied.