Comment on Passing Arrays and Nested Params to url_for in Rails by wfisk

Sun, 18 Mar 2007 13:10:28 -0700

Thanks, that was very useful.

On my index page I wanted to be able to filter the reuslts displayed and decided the sort order of the results.

On my edit/show page I wanted to have previous/next links which allows me to go to the next item in the list depending on the filter and sort order I chose on the index page.

I set up my filter as a hash, and your plugin allows me to pass this along as a param from page to page. Problem solved.

Thanks for all the work that you obviously put into it. It works great.