rails / 7.0.0 / activerecord / notnullviolation.html /

class ActiveRecord::NotNullViolation

Parent:
ActiveRecord::StatementInvalid

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

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.