In the real Texas ranching culture (as opposed to Hollywood fantasy), “Rex” (for “Rexall Ranger”) is still a fairly common nickname/epithet for enthusiastic but unskilled wannabe cowboys.
Edited for spelling.