method

new

rails latest stable - Class: ActiveRecord::NoDatabaseError::AttributeAssignmentError

Method deprecated or moved

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

new(message = nil, exception = nil, attribute = nil)
public

No documentation available.

# File activerecord/lib/active_record/errors.rb, line 355
    def initialize(message = nil, exception = nil, attribute = nil)
      super(message)
      @exception = exception
      @attribute = attribute
    end