Introduction
The has_one relationship links two models so one model owns exactly one related model. It helps organize data clearly.
When a user has exactly one profile.
When a car has exactly one engine.
When a company has exactly one headquarters address.
When an order has exactly one payment detail.