changed the way will_paginate is called to be like that of the will_paginate documentation
Removed random debug statement