The personal finance app for everyone (by everyone)
Ruby
Fix spellling
Rob Zolkosace7fb48eec6
diff --git a/app/models/account.rb b/app/models/account.rbindex 034aedb101..b3d34d28ec 100644--- a/app/models/account.rb+++ b/app/models/account.rb@@ -3,7 +3,7 @@ class Account < ApplicationRecordbelongs_to :family- delegated_type :accountable, types: %w[ Credit Depository Investment Loan OtherAsset OtherLiability Property Vehicle], dependant: :destroy+ delegated_type :accountable, types: %w[ Credit Depository Investment Loan OtherAsset OtherLiability Property Vehicle], dependent: :destroyscope :depository, -> { where(type: "Depository") }end