Make your model acts as a list. This acts_as extension provides the capabilities for sorting and reordering a number of objects in a list. The class that has this specified needs to have a +position+ column defined as an integer on the mapped database table.
Required Ruby Version
None
Authors
Kristian Mandrup, Others
Versions
- 0.1.0 June 20, 2010 (12.5 KB)