During a traffic stop, a police car was attacked with a civilian passenger on a "ride-along" in the car.