Rails 6 adds support to persist timezones of Active Job
This blog is part of our Rails 6 series. Rails 6.0 was recently released.When a job is enqueued in Rails 6 using Active Job, the current timezone of a job is preserved and then this preserved timezone is restored when the job is finished executing.Let’s take an example of sale at Amazon.Amazon would like to remind users across different timezones about its upcoming sale by sending an email. This task of sending a reminder would be processed as a background job.
Rails 6 adds support to persist timezones of Active Job #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper