Method: MongoRecord::LogDevice.connection=

Defined in:
lib/mongo_record/log_device.rb

.connection=(val) ⇒ Object

Set the database connection. If the connection is set to nil, then $db will be used.



57
58
59
# File 'lib/mongo_record/log_device.rb', line 57

def connection=(val)
  @@connection = val
end