How to place search params in URL?

Posted by sa125 on Stack Overflow See other posts from Stack Overflow or by sa125
Published on 2010-05-30T08:32:01Z Indexed on 2010/05/30 8:42 UTC
Read the original article Hit count: 452

Hi - How do I get a form to submit it's params in the url, such that the rendered page will contain the query (rails 2.3)?

Something like this:

example.com/search?name=john&age=25&city=atlanta

Simple, I know, but I'm not sure how to do it... :)

thanks.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about search