mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-02 00:40:49 +02:00
Merge branch 'hotfix'
This commit is contained in:
commit
ff9d440b2c
|
@ -30,7 +30,7 @@ class Check < ApplicationRecord
|
|||
ERROR_DELAY_DAYS = 3
|
||||
|
||||
belongs_to :user
|
||||
has_many :logs, class_name: "CheckLog"
|
||||
has_many :logs, class_name: "CheckLog", dependent: :destroy
|
||||
has_many :notifications, validate: true, dependent: :destroy
|
||||
accepts_nested_attributes_for :notifications,
|
||||
allow_destroy: true,
|
||||
|
|
Loading…
Reference in a new issue