http://www.seriouseats.com/recipes/2014/09/apricot-glazed-barbecue-pork-ribs-recipe.html
For the Sauce: Heat oil in a medium saucepan over medium heat until shimmering. Add onion and cook until softened, about 5 minutes. Add garlic and cook until fragrant, about 30 seconds.
Add apricot preserves, ketchup, honey, vinegar, soy sauce, Worcestershire sauce, jalapeño jam, chipotles, adobo sauce, and mustard and stir to combine. Bring to a boil, then reduce heat to low and simmer, stirring occasionally, until sauce has thickened slightly, about 20 minutes.
Puree sauce with an immersion blender, or transfer sauce to the jar of a regular blender, and process until smooth. Season with salt and pepper to taste. Let cool to room temperature, transfer to a jar or container, and refrigerate until ready to use; sauce can be made in advance and refrigerated for up to 2 weeks.
For the Rub: Mix together rub ingredients in a small bowl.
For the Ribs: Remove membrane from back of each rack of ribs and trim meat of excess fat. Generously season ribs all over with rub mixture.
Fire up a smoker or grill to 225°F, adding chunks of smoking wood when at temperature. When the wood is ignited and producing smoke, place the ribs in smoker or grill, meaty side up, and smoke until the ribs have turned a deep mahogany color, 2-3 hours. Spray ribs with apple juice and continue smoking, spraying the ribs with apple juice every 45-60 minutes, until they bend slightly when lifted from one end, about 2-3 hours longer; during the last 30 minutes of cooking, brush top of each rack with sauce. Remove from smoker, slice, and serve.