Rails 6 adds support to persist timezones of Active Job
03-Sep-2020 1231
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 #rubydeveloper #rubyonrails #Rails #support #persist #timezones #Active #active https://rubyonrails.ba/link/rails-6-adds-support-to-persist-timezones-of-active-job