module Mongoload::AutoIncludableModel

Public Instance Methods

auto_include_context() click to toggle source
# File lib/mongoload/patches/document.rb, line 15
def auto_include_context
  @auto_include_context ||= Mongoload::AutoIncludeContext.new.register_docs(self)
end
initialize_copy(other) click to toggle source
Calls superclass method
# File lib/mongoload/patches/document.rb, line 10
def initialize_copy(other)
  super
  @auto_include_context = nil
end
reload(*) click to toggle source
Calls superclass method
# File lib/mongoload/patches/document.rb, line 19
def reload(*)
  @auto_include_context = nil
  super
end