Fixes regression from 754c82a9 which broke subscription mailer.
Note that it seems that on Codidact production, the subscription emails are not working at all. This is likely because the scheduled tasks are not actually added to the server's crontab (scheduling utility), or because cron is itself not scheduled by the host OS. To add jobs to the crontab, run bundle exec whenever --update-crontab
Fixes regression from 754c82a9 which broke subscription mailer.
Note that it seems that on Codidact production, the subscription emails are not working at all. This is likely because the scheduled tasks are not actually added to the server's crontab (scheduling utility), or because cron is itself not scheduled by the host OS. To add jobs to the crontab, run
bundle exec whenever --update-crontab