Release calendarTop 250 moviesMost popular moviesBrowse movies by genreTop box officeShowtimes & ticketsMovie newsIndia movie spotlight
    What's on TV & streamingTop 250 TV showsMost popular TV showsBrowse TV shows by genreTV news
    What to watchLatest trailersIMDb OriginalsIMDb PicksIMDb SpotlightFamily entertainment guideIMDb Podcasts
    OscarsBest Of 2025Holiday Watch GuideGotham AwardsCelebrity PhotosSTARmeter AwardsAwards CentralFestival CentralAll events
    Born todayMost popular celebsCelebrity news
    Help centerContributor zonePolls
For industry professionals
  • Language
  • Fully supported
  • English (United States)
    Partially supported
  • Français (Canada)
  • Français (France)
  • Deutsch (Deutschland)
  • हिंदी (भारत)
  • Italiano (Italia)
  • Português (Brasil)
  • Español (España)
  • Español (México)
Watchlist
Sign in
  • Fully supported
  • English (United States)
    Partially supported
  • Français (Canada)
  • Français (France)
  • Deutsch (Deutschland)
  • हिंदी (भारत)
  • Italiano (Italia)
  • Português (Brasil)
  • Español (España)
  • Español (México)
Use app
Gunsmoke
S7.E17
All episodesAll
  • Cast & crew
  • User reviews
  • Trivia
IMDbPro

Cody's Code

  • Episode aired Jan 20, 1962
  • TV-PG
  • 1h
IMDb RATING
7.7/10
231
YOUR RATING
Gunsmoke (1955)
Western

Cody is a well-liked citizen of Dodge. He's building a house and getting married. When he befriends a stranger, his perfect life is turned upside down.Cody is a well-liked citizen of Dodge. He's building a house and getting married. When he befriends a stranger, his perfect life is turned upside down.Cody is a well-liked citizen of Dodge. He's building a house and getting married. When he befriends a stranger, his perfect life is turned upside down.

  • Director
    • Andrew V. McLaglen
  • Writers
    • John Meston
    • Norman MacDonnell
  • Stars
    • James Arness
    • Dennis Weaver
    • Milburn Stone
  • See production info at IMDbPro
  • IMDb RATING
    7.7/10
    231
    YOUR RATING
    • Director
      • Andrew V. McLaglen
    • Writers
      • John Meston
      • Norman MacDonnell
    • Stars
      • James Arness
      • Dennis Weaver
      • Milburn Stone
    • 4User reviews
  • See production info at IMDbPro
  • See production info at IMDbPro
  • Photos

    Top Cast25

    Edit
    James Arness
    James Arness
    • Matt Dillon
    Dennis Weaver
    Dennis Weaver
    • Chester
    Milburn Stone
    Milburn Stone
    • Doc
    Amanda Blake
    Amanda Blake
    • Kitty
    Gloria Talbott
    Gloria Talbott
    • Rose
    Anthony Caruso
    Anthony Caruso
    • Cody
    Wayne Rogers
    Wayne Rogers
    • Brack
    Robert Knapp
    Robert Knapp
    • Dukes
    Kenneth Becker
    • Koger
    • (as Ken Becker)
    Ollie O'Toole
    Ollie O'Toole
    • Postmaster
    Bob Gravage
    • Citizen
    • (as Robert Gravage)
    Richard Bartell
    • Hank
    • (uncredited)
    John Breen
    • Townsman
    • (uncredited)
    Rudy Doucette
    • Townsman
    • (uncredited)
    George Ford
    George Ford
    • Townsman
    • (uncredited)
    Herman Hack
    Herman Hack
    • Townsman
    • (uncredited)
    Tom Hennesy
    Tom Hennesy
    • Art
    • (uncredited)
    Fred McDougall
    • Fred
    • (uncredited)
    • Director
      • Andrew V. McLaglen
    • Writers
      • John Meston
      • Norman MacDonnell
    • All cast & crew
    • Production, box office & more at IMDbPro

    User reviews4

    7.7231
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10

    Featured reviews

    7Kamandi73

    It Could have been Chester

    This story seems to be tailor-made for Chester. The lovable loser whose girl leaves him for another guy is something Chester has done many times before. Instead, Anthony Caruso plays that role, as Cody Durham. Caruso appeared on Gunsmoke fourteen times. He was usually a gunslinger, bandit, highwayman.

    Cody has been building a home for a while. He is a nice guy, but he seems a bit slow and trusting of strangers. Cody is engaged to a saloon girl who is much younger than him, Rose Loring. Rose is played by Gloria Talbott, who had a long history as a hussy and temptress in many Western TV shows. Talbott was fifteen years younger than Cody/ Caruso. She appeared on Gunsmoke three times.

    Why a beautiful woman like Rose/Talbott would want to be with a poor, fat, middle-aged dim-wit like Cody is never explained. There is really no backstory, even though this is an hour-long episode. She just happens to be engaged to Cody, but she is entertaining men at the Longbranch Saloon. Cody is a carpenter who is building their home. When it is finished, they are going to get married.

    Along comes Wayne Rogers, as Brack. Rogers is seventeen years younger than Anthony Caruso. Rogers gets into a fight with Sam Dukes (Robert Knapp). Knapp was on Gunsmoke seven times.

    Dukes sees Rose when he gets off the stage, and decides that he is going to force himself on her, one way or another. Knapp buys Rose a couple of drinks, and gets fresh and nasty. Brack is drinking at the bar, and sees Knapp abusing Rose, so he stops Knapp. A few seconds later, Marhal Dillon stops them from having a gunfight, and takes away Dukes' gun.

    Later Dukes attacks Brack in a dark alley, and Brack shoots him, not realizing that Dukes is unarmed. The town folks and Dillon chase Brack around when he goes on the run, and a local cowpoke shoots Brack in the shoulder.

    Brack finds Caruso's home by accident, and Caruso gives him a place to hide, and tends to his gunshot wound. Rogers does a really good job of playing a nice guy, and so does Caruso. They are both convincing as nice guys who become friends thanks to the Brack getting shot.

    Gloria Talbott starts hanging around Brack when her boyfriend Cody is working. She wants to help out, but like any true Western hussy, she gets the hots for Wayne Rogers. Like any young, red-blooded American, Brack falls for Rose too. A sad end to what could have been a nice story.

    This tragic ending goes against the character of Cody/Caruso. He was a good, peace-loving carpenter, who just wanted a place to live with the woman he loved. I felt bad for Cody. The episode did a good job of creating tension, and sadness over the betrayal.

    Related interests

    John Wayne and Harry Carey Jr. in The Searchers (1956)
    Western

    Storyline

    Edit

    Did you know

    Edit
    • Trivia
      Guest stars Anthony Caruso and Wayne Rogers share the same birthday, April 7th, with Caruso being born in 1916 and Rogers in 1933
    • Goofs
      The newspaper in Dodge City KS in the 1870's was the Dodge City Times. Matt Dillon is seen standing in front of a building that is supposed to be the Dodge City Bulletin. There's no record of a newspaper called the Bulletin.
    • Soundtracks
      The Old Trail
      by Rex Koury and Glenn Spencer

      Aspen Fair Music, Incorporated (ASCAP)

    Top picks

    Sign in to rate and Watchlist for personalized recommendations
    Sign in

    Details

    Edit
    • Release date
      • January 20, 1962 (United States)
    • Country of origin
      • United States
    • Language
      • English
    • Filming locations
      • Stage 5 & Stage 6, Paramount Sunset Lot, 5800 Sunset Blvd, Los Angeles, California, USA(Dodge City Western Street)
    • Production companies
      • Arness Production Company
      • Arness Production Company
      • CBS Television Network
    • See more company credits at IMDbPro

    Tech specs

    Edit
    • Runtime
      • 1h(60 min)
    • Color
      • Black and White
    • Aspect ratio
      • 1.33 : 1
      • 4:3

    Contribute to this page

    Suggest an edit or add missing content
    • Learn more about contributing
    Edit page

    More to explore

    Recently viewed

    Please enable browser cookies to use this feature. Learn more.
    Get the IMDb App
    Sign in for more accessSign in for more access
    Follow IMDb on social
    Get the IMDb App
    For Android and iOS
    Get the IMDb App
    • Help
    • Site Index
    • IMDbPro
    • Box Office Mojo
    • License IMDb Data
    • Press Room
    • Advertising
    • Jobs
    • Conditions of Use
    • Privacy Policy
    • Your Ads Privacy Choices
    IMDb, an Amazon company

    © 1990-2025 by IMDb.com, Inc.