On this page
class ActiveRecord::StatementInvalid
Superclass for all database execution errors.
Wraps the underlying database error as original_exception
.
Attributes
original_exception[R]
Public Class Methods
Calls superclass method
# File activerecord/lib/active_record/errors.rb, line 66
def initialize(message, original_exception = nil)
super(message)
@original_exception = original_exception
end
© 2004–2016 David Heinemeier Hansson
Licensed under the MIT License.