class NullByteError
Ruby on Rails edge
Since edgeRaised 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.
Inherits from
Methods (inherited)
From ActiveRecord::AdapterError
(1)
- self. new