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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D48be99143e13e40d1c44a4da63a53f4?d=identicon&s=25 Mongeta 99 (raimon)
on 2009-01-26 13:58
Hello,

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?

thanks,

r.
This topic is locked and can not be replied to.