ActiveRecord::StatementInvalid

class ActiveRecord::StatementInvalid

Parent:
ActiveRecord::ActiveRecordError

Superclass for all database execution errors.

Wraps the underlying database error as original_exception.

Attributes

original_exception[R]

Public Class Methods

new(message, original_exception = nil) Show source
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.

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部