Make your Mongoid model acts as a list. This acts_as extension provides the capabilities for sorting and reordering a number of objects in a list. The instances that take part in the list should have a +position+ field of type Integer.

Required Ruby Version

None

Authors

Kristian Mandrup

Versions

  1. 0.2.5.1 January 19, 2012 (11.5 KB)
  2. 0.2.5 January 17, 2012 (10.5 KB)
  3. 0.2.4.1 December 06, 2011 (10.5 KB)
  4. 0.2.4 September 30, 2011 (12 KB)
  5. 0.2.2 November 27, 2010 (12 KB)
Show all versions (8 total)

SHA 256 checksum