 Ratajkowski began acting as a child in the San Diego area before she gained a recurring role on iCarly and later roles in major films . Her feature film debut was as the mistress of Ben Affleck 's character in the 2014 film Gone Girl . Ratajkowski 's 2015 roles included the films Entourage and We Are Your Friends ( her first leading role ) as well as the miniseries The Spoils Before Dying . 
