From a9776131e3f25cec3387ac74f784d7fcf8daba30 Mon Sep 17 00:00:00 2001 From: Gleb Rysev <gr00314@surrey.ac.uk> Date: Wed, 12 May 2021 11:21:37 +0100 Subject: [PATCH] Fix for account cancel --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 35fd522..1889812 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -49,7 +49,7 @@ class User < ApplicationRecord user end has_many :habits, dependent: :destroy - has_many :goals, dependent: :destroy + has_many :goals has_many :push_subscriptions, dependent: :destroy has_many :auths -- GitLab