Diary of a Wimpy Kid: Rodrick Rules (sometimes known as Diary of a Wimpy Kid 2: Rodrick Rules) is a 2011 American comedy film based on Jeff Kinney's book of the same name with a couple elements from The Last Straw. The film stars Zachary Gordon and Devon Bostick. Robert Capron, Rachael Harris, Steve Zahn, and Peyton List also have prominent roles. The film was released on March 25, 2011 by 20th Century Fox. The film earned $72.4 million on a $21 million budget. It is the second film in the Diary of a Wimpy Kid film series preceded by 2010's Diary of a Wimpy Kid and followed by 2012's Diary of a Wimpy Kid: Dog Days.