Preheat the oven to *350. Mix the first seven ingredients in a small bowl.
Cut each rack in several pieces and rub the spices over all the rib sections. You can leave the ribs whole if you like the way they look better—I just think they are easier to handle on the grill in smaller pieces! Pour 4 cups of water and 1 teaspoon of liquid smoke in a roasting pan.
Place the ribs in the pan, top up. Tightly cover the pan with foil and bake for 2 hours. Remove from the oven and rest until ready to grill.
Meanwhile, add 1 tablespoon oil to a saucepan over medium heat. Add the garlic and sauté for 1-2 minutes. Then add the rest of the ingredients for the BBQ sauce to the saucepan. Simmer for at least 30 minutes, stirring occasionally.
Heat a grill over medium-low heat. Brush the ribs completely with BBQ sauce. Place them on the grill and cook for 20 minutes, turning and brushing every 5 minutes until the desired “bark” has developed.
Ut's fun to make your own BBQ sauce. But in a pinch, buy a bottled variety you like and simmer for a few minutes with the coffee granules!