I have the same problem.
I don't know why "<% javascript "pagination" %>" is not work.
But
I fixed by: Add pagination javascript lib:
<%= javascript_include_tag 'pagination' %>
into EITHER header OR view
Reason: Without this javascript lib or this one was added before.
I have the same problem.
I don't know why "<% javascript "pagination" %>" is not work.
But
I fixed by: Add pagination javascript lib:
<%= javascript_include_tag 'pagination' %>
into EITHER header OR view
Reason: Without this javascript lib or this one was added before.