Use of will_paginate gem in Rails 4 (pagination)