Is there an elegant way to implement a sort asc and desc actions in the views/controller in rails?
What I have is the common index.html.erb view that lists all of my
I recently used a gem called sorted with good results in case you want to use a pre-packaged solution for this instead of rolling out your own.
sorted
https://github.com/mynameisrufus/sorted