There is too much confusion and misinformation about ratholing. Some have advocated silly methods like using duct tape on the bottom of your drink; others have even gotten harrassed by security. Proper ratholing can be very effective with no chance of getting caught. I might regret this post and bust it, but here goes ...
"Ratholing" is secretly removing your own chips to reduce recorded wins. ("Railing" is removing other people's chips - quite illegal!). The purpose is to increase longevity or comps.
1) Unless you play a lot at one place, you don't need to rathole!
Casinos understand fluctuations, and 50 hours of wins won't faze them. Most sophisticated places in Vegas don't tie comps to losses.
2) Don't rathole at an empty table!
The staff count the rack. You must use chips in play so your loss can be attributed to another player. If you are the only player with black chips then you won't fool them after they count the rack. Instead you should bet mixes of black and green, slowly pocketing the green and breaking down more black. It is best to rathole when another player leaves with chips so he will be recorded with your loss.
3) Use a friend.
If you desperately need a loss then play briefly with a friend. Your friend should carry extra chips and add them to his stack while you subtract them from your own. Your anonymous friends will be attributed with gains while you get recorded losses. This may be necessary if you are playing something really strong (like holecarding) where wins can get suspiciously large.
Whenever you rathole, cash out the "correct" number of chips at the cage in case they call to confirm. Then you or a friend can secretly cash the small-denomination chips later.
4) The moves ... if you must ...
Remember - bad ratholing is worse than no ratholing. Some pits will get very uptight if the rack is missing chips. It is useless to openly put chips in your pocket because that fools nobody.
But unsophisticated places (usually outside Vegas) may give more comps and less heat to "losers". If they are unsophisticated about comps then they are probably unsophisticated about chip accounting. In this case you should rathole like you vote in Chicago - early and often! Unsophisticated places typically have plenty of ploppies who offer cover by pocketing their own chips.
Avoid going to your pockets too much or doing "suspicious" activities with your chips. You want your stacks to remain openly on the table and gradually shrink. Just keep a couple denominations in different random stacks (green/red or black/green).
The "move": Grab a stack of chips from above to bet with your _left_ hand. As you grab, jam 2-4 chips into your palm, raise your hand, and pluck a few to bet with your fingertips. Reach forward to bet the visible chips and then let your left hand drop casually into your lap with the palmed chips. THIS IS INVISIBLE FROM THE SKY. Play with your right hand, and casually drop the chips into a left pocket while getting cigarettes. The removal and disposal of chips are completely natural. You will slowly "lose" small chips and continually buy more. You only need to do this 2-3 times in an hour session.
You can practice palming by walking around all day with palmed chips. Brush your teeth, drive a car, and play the fiddle with them. After a couple days palming will be second nature.
At the end of a session you should color up and shove all your chips to the dealer, casually flashing open palms. The manager will then record your "cash out" and you can walk away with up to a dozen hidden chips. Frequent short sessions will show huge losses. This may reduce heat and help you accumulate comps with a losing lifetime record.

