In bootstrap theme, href attributes are unnecessary.
And page and gap classes are missing.
remove unused href and add classes
I believe it is intended to be that way since bootstrap does not use gap or page classes on the pagination li's by default.
I agree that we can remove the href attributes, but why remove the rails_helper methods? Perhaps we can leverage them even further with something like this:
<%= content_tag :li, link_to( raw(t 'views.pagination.truncate')), class: :disabled %>
why did you remove the helper ?
I think that link_to helper cannot omit href.