Leadformance/hstore_translate

"Random" problem on fallback heroku

Closed this issue · 1 comments

We are facing kind of a funny problem on heroku, here is the context:

We putted the site in staging mode with i18n.fallbacks = true.
then when we tried to print a translated field in the view, only the local.to_s was printed (in our case: en-US).

The problem solved itself when we finally tried to switch the i18n.fallbacks to false.

Here is the funny part, the problem happened today, (no config changed) and the only "fix" that we were able to do was to switch again i18n.fallbacks' value (now to true), after that, we could change the i18n.fallbacks value without problem.

I know its a long shot but we honnestly don't know what to do anymore :/

we are using RAILS 4 on heroku without any cache.

Ok, it seems that on heroku we juste need to do:

heroku restart --a {your-application}

And everything goes fine then.
Sorry for the issue.