Use Globalize.locale= instead of Thread.current[:globalize_locale].

- good to follow upstream changes