RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: bingobob
Ryan, Thanks a million (yet again) I've used this method in a few apps it really adds a useful and dynamic feature.
I'm using it in one case to allow users to sort names. It's working fine but I'd like to add a bit more to it in that I'd like to style the Number 1 name differently. This is easy for me to do on page refresh but it'd be smashing if the Name in question got styled dynamically as it was dragged to the top of the list by the user i.e. without the user pressing F5 or CMD+R, depending on your religon!