Feature request: keep current_locale when sending email with ActiveJob

17 views
Skip to first unread message

William Lee

unread,
May 25, 2015, 7:20:51 AM5/25/15
to rubyonra...@googlegroups.com

I am using Active_job and sidekiq to send emails asynchronously. 

But my current_locale is lost when performing the sending. 

I set the I18n.locale by the url patterns of every request.


I used to use Sidekiq, which provide a plugin to store the current_locale, and use it when sending.

But I am now upgrading to Rails 4.2.1, ActiveJob seems it doesn't provide a solution like this.

Reply all
Reply to author
Forward
0 new messages