Naya Rivera tied the knot with Ryan Dorsey on the day she had planned to marry Big Sean.

The 'Glee' actress and rapper Sean ended their engagement in a bitter split in April and just three months later, Naya married longtime friend Ryan on July 19 in a surprise ceremony.

However, she and actor Ryan did have another reason for marrying on that day, with a friend telling Us Weekly: ''July 19th is also Ryan's birthday, making this an even more joyous occasion.''

And while Naya's surprise wedding shocked fans, her friends were even more bemused, as she didn't tell many of them that she was even dating Ryan.

A source said: ''Naya didn't tell most of her friends that she was marrying Ryan Dorsey, let alone that she was dating him! The whole thing is a complete surprise.''

While the blushing bride was tying the knot in Cabo San Lucas, Mexico, her former fiance was nearby in Punta Mita, recording with Kanye West.

Naya, 27, has already changed her name to Naya Rivera Dorsey on Twitter and Instagram.

A source told E! News: ''She's telling everyone she's really in love. She seems to believe it.''

The insider confirmed that her friends were truly shocked, saying: ''Even people who know her really well had no idea she was getting married.

''No one gets the timing, [she was devastated after the split from Big Sean].''