Rails parameters get lost because of jQuery link

The mistake is that your links aren’t updated because you are only re-rendering your content section. You could re-render a large part of the page, including the links. The railscast takes a slightly different approach - he users extra hidden fields in the bits of the page that are re-rendered so that even though the link doesn’t have the previously selected order/sort in it, it can be retrieved from the form

Fred

Wow, I never would have thought of that. Thank you so much, you made my day =).