 In the original screenplay Charlie Kaufman included a short  conversation between Joel (Jim Carrey (qv)) and Clementine  (Kate Winslet (qv)) about the album "Rain Dogs" by  Tom Waits (qv) during one of the opening scenes on the train.  During this conversation Joel says he remembers buying the album and  liking it, but he cant remember anything about it. While the  dialogue was stripped from the film, during the fast shots of Stan  (Mark Ruffalo (qv)) showing Joel the items he has brought in that  remind him of Clementine a copy of the CD "Rain Dogs" can be seen  for just a moment. Also the "blue ruin" reference comes from a lyric  on the same album.