will_paginate without losing params
I'm sure you like will_paginate, it seams magic! But I was having the issue, that I simply solved like that:
will_paginate(@reports, :params => params.except(:page))