method

resolve_defaults

rails latest stable - Class: ActiveSupport::CurrentAttributes

Method not available on this version

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

resolve_defaults()
private

No documentation available.

# File activesupport/lib/active_support/current_attributes.rb, line 232
      def resolve_defaults
        defaults.each_with_object({}) do |(key, value), result|
          if value != NOT_SET
            result[key] = Proc === value ? value.call : value.dup
          end
        end
      end