Barney was a moron for not putting a ring on her finger.
IIRC, they got married in the movie sequel..........