Sha256: 68fa1bf8807e66a4be6eeef870829a10b5c2ffd29e1b1e3981f9102e44a943ff

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

# frozen_string_literal: true

ActiveSupport.on_load(:mongoid) do
  require 'orm_adapter/base'
  require 'orm_adapter/adapters/mongoid'

  Mongoid::Document::ClassMethods.send :include, Kingsman::Models
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kingsman-0.1.1 lib/kingsman/orm/mongoid.rb
kingsman-0.1.0 lib/kingsman/orm/mongoid.rb