On this page
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 98
def initialize(message = nil)
super(message || $!.try(:message))
end
Calls superclass method
© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.