Recently, I decided to try a new gem for pagination and noticed quite an intresting construction:
<%== pagy_nav(@pagy) %>
I'd be prone to think it's a typo, but it repeats further:
<%== render partial: 'pagy/nav', locals: {pagy: @pagy} %>
Tried to google it with no result.