We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3e09f commit 6a8174fCopy full SHA for 6a8174f
1 file changed
app/models/work.rb
@@ -379,18 +379,18 @@ def destroy_chapters_in_reverse
379
380
after_destroy :clean_up_assignments
381
def clean_up_assignments
382
- self.challenge_assignments.each { |a|
+ self.challenge_assignments.each do |a|
383
a.creation = nil
384
a.save!
385
- }
+ end
386
end
387
388
after_destroy :clean_up_claims
389
def clean_up_claims
390
- self.challenge_claims.each { |a|
+ self.challenge_claims.each do |a|
391
392
393
394
395
396
########################################################################
0 commit comments