tramway-event 1.12.9 → 1.12.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/tramway/event/event.rb +1 -1
- data/lib/tramway/event/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a03638173015428239ff38e7a724bf2ae2ba65aca674a2a08ec7f98059637102
|
4
|
+
data.tar.gz: a2728d9c40e602b19889c2e0f5e7460b2cb75f5d6e7602759198898c3f7d8dee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2242f1acfe0c9794b839b02c75a70ab14c51b78342457f7d552df554e9d2112c69b89df590b90cbb39f80c8046dcd3f099c7e048dd0a20ee521a528b3e00b328
|
7
|
+
data.tar.gz: 417412652cbd4a05db2f934a297ebd271120245c596aeaab401559c1b797822f9b32d6248c1394141b2c22e9329a28160383cfc0ad7c98c34ec5734db5ec8f8f
|
@@ -14,7 +14,7 @@ class Tramway::Event::Event < ::Tramway::Core::ApplicationRecord
|
|
14
14
|
has_many :participants, class_name: 'Tramway::Event::Participant'
|
15
15
|
has_many :participant_form_fields, -> { order(position: :asc) }, class_name: 'Tramway::Event::ParticipantFormField'
|
16
16
|
has_many :sections, class_name: 'Tramway::Event::Section'
|
17
|
-
has_many :partakings, as: :part, class_name: 'Tramway::Event::Partaking'
|
17
|
+
has_many :partakings, as: :part, class_name: 'Tramway::Event::Partaking', dependent: :destroy
|
18
18
|
has_many :partnerships, class_name: 'Tramway::Partner::Partnership', as: :partner
|
19
19
|
has_many :organizations, as: :partners, through: :partnerships, class_name: 'Tramway::Partner::Organization'
|
20
20
|
has_many :actions, -> { order(id: :asc) }, class_name: 'Tramway::Event::Action'
|