This is a perfect use case for a project I'm starting. I'm running into a little issue where the sidekiq worker runs over and over on the same original image. I'm not quite sure whats going on, but if anyone can help why it keeps running that would be great. I haven't modified the 'gallery-after' code at all either.
You'll need to set the time zone to the current user's time zone. It's probably setting it to Heroku's UTC time.
Before creating the calendar, set the time zone in the controller.
Well, turns out that the after_save was causing the worker to spin up over and over. As I said above, the solution is to put this within your model.
A little late to the game, but I did this as an elegant solution.
I'm also looking into this. Might just implement my own and I'll share my findings.
even though the id is different its actually the same job running over and over.
This is a perfect use case for a project I'm starting. I'm running into a little issue where the sidekiq worker runs over and over on the same original image. I'm not quite sure whats going on, but if anyone can help why it keeps running that would be great. I haven't modified the 'gallery-after' code at all either.