class ActiveRecord::InvalidForeignKey
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.