Here’s how to make a decorative rim like those typically found in pastry shops. Follow the instructions in “How to Line a Tart Pan” through step 7, then proceed with the steps shown below.
Supporting the inner wall of the rim with the forefinger of one hand, use a fork or pastry pinch (a tweezer-like instrument used to give a decorative edge to both tarts and quiches) to decorate the top edge.
Gently run your thumb along the outer top edge of the pan to ensure that the pastry remains on the inside of the pan when baked. This will prevent problems when unmolding.