method

materialize

rails latest stable - Class: ActiveRecord::LazyAttributeHash

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

materialize()
protected

No documentation available.

# File activerecord/lib/active_record/attribute_set/builder.rb, line 96
      def materialize
        unless @materialized
          values.each_key { |key| self[key] }
          types.each_key { |key| self[key] }
          unless frozen?
            @materialized = true
          end
        end
        delegate_hash
      end