Adding will_paginate to Gemfile
Setting up records/index to use will_paginate for only html requests