method

apply_pending_attribute_modifications

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.

apply_pending_attribute_modifications(attribute_set)
private

No documentation available.

# File activemodel/lib/active_model/attribute_registration.rb, line 81
        def apply_pending_attribute_modifications(attribute_set)
          if superclass.respond_to?(:apply_pending_attribute_modifications, true)
            superclass.send(:apply_pending_attribute_modifications, attribute_set)
          end

          pending_attribute_modifications.each do |modification|
            modification.apply_to(attribute_set)
          end
        end