I’m lookin for an equilvalent to SQL ‘… on delete restrict’. To
deleting a parent record if there are related children records.
the :dependent => options I see
:dependent => :destroy and :dependent => :nullify,
but not a :dependent => :restrict?
What is the best solution in this case?
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson