{"push_id":716141187,"size":1,"distinct_size":1,"ref":"refs/heads/action_mailer_message_delivery_respects_i18n_locale","head":"ca2387eb0145c0b8639f06ac7acb642fb3755c72","before":"15df5e27d266c75df07da941e692238f48044d7d","commits":[{"sha":"ca2387eb0145c0b8639f06ac7acb642fb3755c72","author":{"email":"3f5db82aca555720f05537b87913ab798e72d915@gmail.com","name":"Johannes Opper"},"message":"ActionMailer::MessageDelivery respects current I18n.locale\n\nWhen #deliver_now is called all translations within the\ngenerated email will be looked up for the current I18n\nlocale.\n\n    I18n.locale = ‘de’\n    mail.deliver_now # Generates german email, correct\n\nIn #enqueue_delivery the locale was not considered and\nthe resulting job uses the default locale.\n\n    I18n.locale = ‘de’\n    mail.deliver_later # Generate english email, incorrect\n\nIn order to achieve a consistent behaviour the current locale\nis now always passed to `ActionMailer::DeliveryJob`.","distinct":true,"url":"https://api.github.com/repos/xijo/rails/commits/ca2387eb0145c0b8639f06ac7acb642fb3755c72"}]}