ActiveRecord::NotNullViolation

Raised when a record cannot be inserted or updated because it would violate a not null constraint.