I'm using Rails 4.2.1, Kaminari 0.16.3 and slim as my template language.
In development mode everything is okay. The pagination navigation is generated correctly, but when I run server in production mode, = paginate @articles
generates a string instead of html. So it's escape tags and show them like regular text
<span class="page current">1</span><span class="page"><a rel="next" href="/airsoft-blog/airsoft-gadgets-and-ammunition-reviews?page=2">2</a></span><span class="next"><a rel="next" href="/airsoft-blog/airsoft-gadgets-and-ammunition-reviews?page=2">старее</a></span>
It's running on a thin server and Ruby 2.2.1. This happens the first time.