Sha256: 2136f3519d1a1b73e8dc36321f018860ab08e82899ab190b8e19f5a69f680efe

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true
module Mongoload
  module RelationsMetadataWithOptions
    def auto_include?
      fetch(:auto_include, true)
    end

    def fully_load?
      fetch(:fully_load, false)
    end
  end
end

::Mongoid::Relations::Metadata.include ::Mongoload::RelationsMetadataWithOptions

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoload-0.0.3 lib/mongoload/patches/relations_metadata.rb