diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-18 20:06:01 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-18 20:06:01 +0000 |
commit | 56b8b11ff2b673005ad2044672f2eb215a905bba (patch) | |
tree | 40eb44d5dc922b8cc87f4705c0a428ce3c9a2345 /app/models | |
parent | 8185939b2629581dd9264dbbc37f859e19436f31 (diff) |
Fixed the problem with the select method...
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/organisation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/organisation.rb b/app/models/organisation.rb index aa67564..89ad982 100644 --- a/app/models/organisation.rb +++ b/app/models/organisation.rb @@ -1,3 +1,3 @@ class Organisation < ApplicationRecord - has_many :events + has_many :events, dependent: :destroy end |