kaminari pagination in a rails engine monkeypatch, see: https://github.com/amatsuda/kaminari/issues/323