Ah yes, Carlos is correct. I always explicitly pass the locale to
with_locale, so I assumed you are doing the same.

On Wed, Oct 22, 2014 at 5:11 PM, Carlos Antonio da Silva <
carlosantoniodasi...@gmail.com> wrote:

> You should probably be passing in the locale you want as an argument to
> your mailers, and set the locale there before actually creating the mail
> object/rendering the view.
>
> On Wed, Oct 22, 2014 at 1:07 PM, Mohamed Wael Khobalatte <
> wael.khobala...@gmail.com> wrote:
>
>> There shouldn't be any problem since deliver_later will simply invoke
>> your deliver_now at some point, and that should run as you expect.
>>
>> On Wed, Oct 22, 2014 at 2:31 PM, Igor Kapkov <igasg...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> previously if we needed in sending a mail in different locale we used
>>> `I18n.with_locale`. I didn't find any about that in sources and
>>> docs/guides. How it'll work with `deliver_later` and ActiveJob?
>>>
>>> Best Regards,
>>> Igas
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ruby on Rails: Core" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to rubyonrails-core+unsubscr...@googlegroups.com.
>>> To post to this group, send email to rubyonrails-core@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Mohamed Wael Khobalatte
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-core+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-core@googlegroups.com.
>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> At.
> Carlos Antonio
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Mohamed Wael Khobalatte

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to