method

original_exception

rails latest stable - Class: ActiveRecord::StatementInvalid

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

original_exception()
public

No documentation available.

# File activerecord/lib/active_record/errors.rb, line 109
    def original_exception
      ActiveSupport::Deprecation.warn("#original_exception is deprecated. Use #cause instead.", caller)
      cause
    end