There are several true-to-life storylines in this script. Ricki's daughter is played by Meryl Streep's real life daughter Mamie Gummer. In Diablo Cody's script, Julie (played by Mamie) and her husband Max divorce rather quickly. In reality, Mamie and her ex-husband Ben Walker also divorced quickly when he was 30 and she was just 29. The couple had been married for a year and a half.