Class

ActiveRecord::StatementInvalid

Inheritance
< ActiveRecord::ActiveRecordError < StandardError

Raised when SQL statement cannot be executed by the database (for example, it‘s often the case for MySQL when Ruby driver used is too old).