Removing rust from nuts and bolts

Just was wondering if anyone has used a rock tumbler/vibrator to remove rust.
If so what medium do you recommend