No release in over 3 years
Low commit activity in last 3 years
This gem provides the integration between Midnight::BusinessLogic and the ODM officially supported by MongoDB Inc., Mongoid
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Midnight::Mongoid

What is it?

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.

Installation

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

Maintainer

  • Sarun Rattanasiri ( GitLab, GitHub, midnight_w[a]gmx[.]tw )

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/midnight-wonderer/midnight-mongoid.

License

Midnight::Mongoid is released under the 3-clause BSD License.