It is the Mongoid integration of Midnight::BusinessLogic.
Midnight::BusinessLogic enables you to write your business logics without worrying about the underlying storage engine, but in real applications, you need some persistence layer anyway.
Midnight::Rails comes with the Active Record integration by default. This library provides an alternative of such integration, for those who powered their app with MongoDB or MongoDB like databases.
Add this line to your application's Gemfile:
gem 'midnight-mongoid'
# you probably also need Midnight::Rails
# for default integrations of something else apart from the Active Record
gem 'midnight-rails'
And then execute:
$ bundle
Bug reports and pull requests are welcome on GitHub at https://github.com/midnight-wonderer/midnight-mongoid.
Midnight::Mongoid is released under the 3-clause BSD License.