class ActiveRecord::StatementInvalid

Superclass for all database execution errors.

Wraps the underlying database error as cause.