• Jonne Haß's avatar
    Harden account deletion · fc1f2491
    Jonne Haß authored
    * Wrap it into a transaction
    * Use destroy over delete so dependent destroys get triggered
      and we thus don't fail on the foreign key constraits
    * Check if a photos status message actually exists before accessing
    * Add missing dependent destroys
photo.rb 3.52 KB