will_paginate was not properly initialised, closes #6