Anthony, the term Rackensacker predates the Mexican War. see this from the Dictionary of American Regional English – Amazon.com “Read Inside the Book”
I believe that I recall Arkansans being called Rackensackers on some occasions in the Mexican War. (Off the top of my head) I believe that Sgt. Jonathon Buhuop's "Narrative of the Central Division" (1847) uses the term.