fix rails 4 i18n bug in production