Stub total_pages on array for will_paginate