Preheat the oven to 350°F (175°C).
Rub the pork ribs with canola oil and season generously with salt and pepper.
Heat a large, deep skillet over medium-high heat. Sear the pork ribs until they become golden on both sides (about 5 minutes per side), and then transfer them to a plate.
In the same skillet, add the onions, mushrooms, and carrots, and cook until they become softened (about 5 minutes).
Step 5: Add apple cider or apple juice, allspice, salt, pepper, and brown sugar to the skillet. Stir to combine.
Place the seared ribs in an oven-proof dish and top them with the cooked vegetables.
Pour sauerkraut over the dish, ensuring it evenly coats the ribs.
Cover the dish with aluminum foil and bake in the preheated oven for about 2 hours or until the ribs are tender and easily pull away from the bone.
Optionally, sprinkle caraway seeds over the dish before serving.
Serve the dish hot, accompanied by mashed potatoes or rye bread for a delicious meal.