Exception: ActiveRecord::InvalidForeignKey

Inherits:
WrappedDatabaseException show all
Defined in:
lib/active_record/errors.rb

Overview

Raised when a record cannot be inserted or updated because it references a non-existent record.

Instance Attribute Summary

Attributes inherited from WrappedDatabaseException

#original_exception

Method Summary

Methods inherited from WrappedDatabaseException

#initialize

Constructor Details

This class inherits a constructor from ActiveRecord::WrappedDatabaseException