i’ve figured out how to use the next and previous links with the
paginator class but now i’m trying to figure out how to display all the
page numbers in between. looking through the rails api, i found
paginator.each() but i’m not sure how to use it, or if that’s even what
i am looking for.
also, is there a way to limit the amount of pages like some sites do,
where they only show about 10 different page numbers at a time?