Two families were joined together to reunite a lost wedding ring with its owner thanks to the power of social media.