paginator in html and ruby