Replace more Commercials with Materials

This commit is contained in:
Michael Ball 2020-01-27 13:40:36 -08:00
parent 3eeaebbdc8
commit 8a6bb87983
18 changed files with 50 additions and 50 deletions

View file

@ -39,7 +39,7 @@ class Commercial < ApplicationRecord
commercial = event.commercials.new(url: url)
unless commercial.save
errors[:validation_errors] << "Could not create commercial for event with ID #{event.id} (" + commercial.errors.full_messages.to_sentence + ')'
errors[:validation_errors] << "Could not create materials for event with ID #{event.id} (" + commercial.errors.full_messages.to_sentence + ')'
end
end
errors