Flying nationally, I take a few joints rolled and placed at the back of my cigarette pack. I throw the cigarettes along with my keys and change in the bowl when I go through security. Never had a problem.
I wouldn't take a chance flying internationally.