ActiveRecord::StatementInvalid

Superclass for all database execution errors.

Wraps the underlying database error as cause.

Methods
N
Class Public methods
new(message = nil)
# File activerecord/lib/active_record/errors.rb, line 98
def initialize(message = nil)
  super(message || $!.try(:message))
end