Module: BrickLayer

Defined in:
lib/version.rb,
lib/brick_layer.rb,
lib/brick_layer/engine.rb

Defined Under Namespace

Modules: DataSetHelper, LayoutHelper, SiteHelper, ViewHelper Classes: Administrator, AdministratorsController, BaseController, DataSet, DataSetsController, Engine, FileUploader, ManagerController, Route, RoutesController, Search, ServeGridFsFile, SessionsController

Constant Summary collapse

VERSION =
"0.10.6"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (BrickLayer)

    the object that the method was called on



22
23
24
25
26
# File 'lib/brick_layer.rb', line 22

def self.setup
  Mongoid.config.preload_models = true
  
  yield self
end