How to model Spot Welds

While connecting two plates I always use Rigid Contraints . Is it the correct way of modelling spot welds?

Or is there any other option to model spot welds?