Start with Google.
But if you go around giving five dollar bills to every homeless man you see, you have to know that, eventually, at least one of them is going to use them to buy drugs. You'd have to be ridiculously ignorant not to know that. By the same token, if you go around baking cakes for weddings, you have to know eventually one of them will be for a second wedding. You might not know the SPECIFIC wedding, but you have to know that's going to happen. So how is that any better?
The point of giving something to someone in charity, or doing something for someone in business, is not what the receiver is going to do with it. If I gave food to a homeless guy, is it my responsibility if he actually sticks it in his mouth? He could trade it for drugs, too.
In the Catholic faith, for it to be a sin, you have to know that a sin is being committed. Willful ignorance is not true ignorance, either.
Just to show the distinctions, you know the thing about designating a driver if you're going to go drinking? Here's two scenarios, which is the sin?
A. After work, two buddies go out for a few. The driver gives his friend his keys, saying "I'm planning on tying one on here, get me home."
B. After work, two buddies go out for a few. The driver realizes he's had one or two too many, and gives his keys to his friend, saying "I'm too drunk, get me home."
But who gets to decide what is and isn't a 'religious ritual'? Is there some preset list of religious rituals to choose from?
The powers that be. Not saying that's the way it should be, but that's the way it is.