acts_as_list_mongoid 0.2.4.1
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.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
mongoid
>= 2.0.1
mongoid_embedded_helper
>= 0.2.5