Ruby on Rails 5.2.3
Class
ActiveRecord::NotNullViolation
<
ActiveRecord::StatementInvalid
activerecord/lib/active_record/errors.rb
Raised when a record cannot be inserted or updated because it would violate a not null constraint.