They arrange a double date without revealing that Jack is to be married. Jack has an affair with Stephanie while Miles and Maya connect. Miles accidentally tells Maya that Jack is to be married.Enraged by the dishonesty, Maya dumps Miles and tells Stephanie, who breaks Jack’s nose.Upon finding out his manuscript has been rejected again, Miles makes a scene at a wine tasting room, and Jack hooks up with another woman. To explain the broken nose to his fiancée, Jack runs Miles’s car into a tree. At the wedding, Miles facesthe fact that his ex-wife will never return to him. Alone, he drinks his prized wine, a 1961 Château Cheval Blanc from a disposable coffee cup at a fast-food restaurant. Later, he receives a message from Maya,who says she enjoyed his manuscript and invites him to visit. The last scene in the movie shows Miles back in Santa Ynez, knocking on Maya’s door.
Src : wiki