class ActiveRecord::StatementInvalid
Superclass for all database execution errors.
Wraps the underlying database error as cause
.
Public Class Methods
# File activerecord/lib/active_record/errors.rb, line 100 def initialize(message = nil) super(message || $!.try(:message)) end
Calls superclass method
© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.