SortHelper problem

This is obviously because SortHelper is remembering the last chosen column to sort by, and the description column doesn't exist in TableB.

So is SortHelper only designed to assist with sorting just the one table per application (which seems silly to me), or am I missing something here?

On the SortHelper2 page there's a snippet at the bottom where the dev mentions multiple tables and how to get the code to do them.

"I have modified this to work with sorting on multiple tables. Email me if you need the code, don't feel like cleaning it up if no one wants it. (Oregon State University) -George"

http://wiki.rubyonrails.org/rails/pages/SortHelper2

Hi Paul,

I've posted my update to the SortHelper online: http://montanaharkin.net/2007/08/02/rails-sorthelper2-multiple-table-coumn-sorting/

Cheers, George