<%# available local variables: page: the page number of this page page_url: url to this page current_page: the page number of currently displayed page num_pages: total number of pages per_page: number of items to fetch per page remote: data-remote -%> <%# this kind of works even though looks a bit hackish... -%> <%= render :partial => 'kaminari/page_link', :locals => @_partial_renderer.instance_variable_get('@locals') %>