Registry / database / mongoid-orderable

mongoid-orderable

JSON →
library6.0.5rbrubygemsunverified

Enables Mongoid models to track and manage their position in a list.

gem install mongoid_orderable
INSTALL
IMPORT
SIG · MONGOID-ORDERABLE
M
mongoid-orderable
databaserubyv6.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mongoid::Orderable
require 'mongoid_orderable'

Add ordering to a Mongoid model and move an item to position 1.

require 'mongoid_orderable' class Item include Mongoid::Document include Mongoid::Orderable end item = Item.create! item.move_to! 1
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.0.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
mongoid-orderable — gem install mongoid-orderable · libregistry