Programming Ruby on Rails

How to add next and previous pagination without any gem in Rails