* Name the created after timestamp and remove temporary variables The logic used to calculate the live at time, the week ago time, then compare them to find the more recent value. Move all of this logic to a method (there's a guard to exit if the setting is nil, so this should be safe). * Mark method private This is not part of the public api (for workers, this should be `#perform` alone). Mark it private |
||
|---|---|---|
| .. | ||
| send_welcome_notifications_worker.rb | ||