method

new

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

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, value, type, database_default)
public

No documentation available.

# File activerecord/lib/active_record/attribute/user_provided_default.rb, line 6
      def initialize(name, value, type, database_default)
        @user_provided_value = value
        super(name, value, type, database_default)
      end