Exception: ActiveRecord::NotNullViolation

Inherits:
StatementInvalid show all
Defined in:
activerecord/lib/active_record/errors.rb

Overview

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

Instance Attribute Summary

Attributes inherited from StatementInvalid

#binds, #sql

Method Summary

Methods inherited from StatementInvalid

#initialize

Constructor Details

This class inherits a constructor from ActiveRecord::StatementInvalid