class ActiveRecord::InvalidForeignKey

Parent:
ActiveRecord::WrappedDatabaseException

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

© 2004–2020 David Heinemeier Hansson
Licensed under the MIT License.