Why it works: Ginger and nutmeg match in chemistry and in kitchens. They rank in the top 5% of all ingredient pairs, and cooks put them together in 3,324 recipes. Both carry estragole, which smells anise, licorice. The science ↓
Rock Cakes
Ingredients
Directions
The book says “a quick oven”. The 400°F (200°C) in the steps is the modern equivalent, not the book's own figure.
Prepare
Preheat the oven to 400°F (200°C).
In a large bowl, rub the butter into the flour until well combined.
Add the sugar, ginger, and nutmeg, and mix well.
Beat in the eggs until the mixture is smooth.
Shape and bake
Use a fork to pull the mixture into small cake shapes.
Place the cakes on a baking sheet and bake until golden.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Photo for illustrative purposes only · Contact us to use it
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Ginger + nutmegtop 5% of all pairsSmell alikestrongCooked together3,324 recipes
Shared aroma: estragole (anise, licorice).
-
Flour + nutmegtop 8% of all pairsSmell alikemoderateCooked together18,623 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + buttertop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Flour + sugartop 15% of all pairsSmell alikemoderateCooked together92,116 recipes
Shared aroma: phenylacetaldehyde (hawthorne, honey).
-
Flour + gingertop 15% of all pairsSmell alikemoderateCooked together8,564 recipes
Shared aroma: isobutyraldehyde (malty, green).
Flour and butter barely smell alike, yet cooks put them together in 124,287 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- All-purpose flour
- Provides the structure that holds the cakes together as they bake.
- Unsalted butter
- Rubbed into the flour to add richness and a tender, crumbly texture.
- Granulated sugar
- Adds sweetness and helps the cakes brown as they bake.
- Eggs
- Bind the mixture and add moisture and structure to the cakes.
The step that matters
Beat in the eggs until the mixture is smooth. Eggs must be fully incorporated so the batter binds evenly. Lumps or separated egg can leave uneven texture and pockets in the baked cakes.
Swap the ginger
How well each one fits the dish's main ingredients (flour, butter, sugar, nutmeg, egg):
- Cinnamonfits better
- Cardamomfits better
- Allspicefits better
- Gingerthe original
Fit is the average pairing score against flour, butter, sugar, nutmeg, egg. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
More rock cakes recipes
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.

Ginger Cookies213 recipes
Ginger Cake93 recipes
Soft Ginger Bread85 recipes
Soft Ginger Cake56 recipes