Quarter the washed and cleaned leek lengthways and cut across into thin strips.
Heat a high pan on medium heat and fry the leeks in the rapeseed oil for about 5 minutes. Salt the leek immediately, then season with grated nutmeg and black pepper. Let the steamed leek cool for a quarter of an hour.
Whisk the eggs with the milk in a large bowl and season with a pinch of salt. Stir in the wholemeal spelled flour and baking powder.
Cut the boiled ham into small pieces and stir thoroughly into the egg-milk-flour mixture with the cooled leek and the grainy cream cheese.
Grease a springform pan with margarine and pour in the batter.
Preheat the oven to 180 ° C top / bottom heat and bake the leek cake for about 45 minutes.