Skip to content

midnight-wonderer/midnight-mongoid

Repository files navigation

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.