Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
3d4d024a
Verified
Commit
3d4d024a
authored
Oct 05, 2018
by
Kaspar Vollenweider
👻
Browse files
feat(semester_process_volunteer): complete model through relations for mission
parent
52215d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/semester_process_volunteer.rb
View file @
3d4d024a
...
...
@@ -9,6 +9,9 @@ class SemesterProcessVolunteer < ApplicationRecord
inverse_of:
'semester_processes'
,
optional:
true
has_many
:semester_process_volunteer_missions
,
dependent: :destroy
has_many
:assignments
,
through: :semester_process_volunteer_missions
has_many
:group_assignments
,
through: :semester_process_volunteer_missions
has_many
:semester_feedbacks
,
dependent: :destroy
has_many
:hours
,
dependent: :nullify
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment