Method: NoBrainer.eager_load!

Defined in:
lib/nobrainer.rb

.eager_load!Object



52
53
54
55
56
57
58
# File 'lib/nobrainer.rb', line 52

def eager_load!
  # XXX This forces all the NoBrainer code to be loaded in memory.
  # Not to be confused with eager_load() that operates on documents.
  # We assume that NoBrainer is already configured at this point.
  super
  NoBrainer::QueryRunner.stack # load the code for the current stack
end