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–2019 David Heinemeier Hansson
Licensed under the MIT License.