In the 1974–1980 US TV series "The Rockford Files", Jim Rockford kept his gun in a cookie jar. In the second season, Rockford specifically uses a third-generation Colt Detective Special. He gets this gun out of the cookie jar in his trailer where it is normally kept hidden.

James Scott Rockford (Jim Rockford) is a fictional character on the TV series, and he is played by James Garner. He is a struggling private investigator operating in the greater Los Angeles, CA area. Rockford is the principal character of the series, and Garner was the only actor to appear in every episode of the series.

Rockford’s investigative style is to use his wits and a good measure of deception to get useful information from those he interviews. When he is working a case, Rockford doesn't normally carry a gun or any type of weapon. He specializes in cold cases, missing person cases, and small-time insurance scams. He refuses to handle domestic violence cases. He doesn't try to be any type of well-meaning hero!

More Info: crimereads.com