123456789_123456789_123456789_123456789_123456789_

Exception: ActiveRecord::NullByteError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: ActiveRecord::StatementInvalid
Defined in: activerecord/lib/active_record/errors.rb

Overview

Raised when a string containing a null byte (+\0+) is used in a statement against a database that cannot store it, such as a text column in PostgreSQL.

The underlying driver error is wrapped so that applications can rescue it and, for example, respond with a 400 Bad Request instead of an unhandled 500.

Class Method Summary

StatementInvalid - Inherited

AdapterError - Inherited

Instance Attribute Summary

Instance Method Summary

Constructor Details

This class inherits a constructor from ActiveRecord::StatementInvalid