Module: Ext::Og::ModelsClassMethods

Defined in:
lib/ext/og.rb

Instance Attribute Summary collapse

Instance Attribute Details

#ogObject

Og setting.

Sqlite example

MyApp::Models.og = { :store => :sqlite }

MySQL example

MyApp::Models.og = { 
  :store => :mysql,
  :name => 'data',
  :hostname => 'localhost',
  :user => 'root',
  :pass => '1234'
}


55
56
57
# File 'lib/ext/og.rb', line 55

def og
  @og
end