Forum: Ruby on Rails Advice on form_tag get post and will_paginate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mongeta 9. (Guest)
on 2009-01-26 14:58

I'm using a custom form for querying some data. The resulted rows can be
enormous, so I'm using will_paginate.

If I use a form_tag with Post, the URL is nicer, but I don't get the
params in the subsequent calls to will_paginate footers, as it only adds
the params automatically if the form is submitted using a get method.

Of course I can managa myself it adding the params option when creating
the will_paginate footer.

If I use a form_tag with the get method, the url gets 'dirty' full of
params and id's but the will_paginate and subsequent calls are easir and
simpler for my life.

how you are doing it?


This topic is locked and can not be replied to.