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))

0 Responses to “will_paginate without losing params”



  1. No Comments Yet

Leave a Reply




Last Regedor’s twitts

Last Regedor's bookmarks