method

new

rails latest stable - Class: ActiveRecord::Attribute::Null

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.

new(name)
public

No documentation available.

# File activerecord/lib/active_record/attribute.rb, line 192
        def initialize(name)
          super(name, nil, Type.default_value)
        end