Class

ActiveRecord::RecordNotSaved

Inheritance
< ActiveRecord::ActiveRecordError < StandardError

Raised by ActiveRecord::Base.save! and ActiveRecord::Base.create! methods when record cannot be saved because record is invalid.