Change production settings as in rails 4