Exceptions occur sometimes on assigning gon variables. 

I think better not assign variable when somehow Request.gon is unavailable than generate an exception and show 500 to end user. We have experienced those bugs and they are quite annoying. I cannot reproduce that manually though.