I found this on the rails wiki http://www.kryogenix.org/code/browser/sorttable/
Looked farily easy, class and id for the table. Dropped the JS in to
application.js.
Problem is it’s putting the sort link on the first row of data and not
on
Anyone know how to fix it ?
Here’s a bit of my table:
........................
<% for position in @positions %>