Module: PlantWatchdog::ActiveRecordConnections

Defined in:
lib/plantwatchdog/db.rb

Instance Method Summary collapse

Instance Method Details

#connect_to_active_record(cfg, logger) ⇒ Object

Establishes an ActiveRecord connection



22
23
24
# File 'lib/plantwatchdog/db.rb', line 22

def connect_to_active_record cfg,logger
  conn=connect(cfg,logger)
end