Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Includes:
DRb::DRbUndumped
Defined in:
lib/kameleon/ext/active_record/shared_single_connection.rb,
lib/kameleon/utils/debug_console.rb

Constant Summary collapse

@@shared_connection =
nil

Class Method Summary collapse

Class Method Details

.connectionObject



34
35
36
# File 'lib/kameleon/ext/active_record/shared_single_connection.rb', line 34

def self.connection
  @@shared_connection || retrieve_connection
end