Module: RailsMetrics::ORM::ActiveRecord::ClassMethods

Defined in:
lib/rails_metrics/orm/active_record.rb

Instance Method Summary collapse

Instance Method Details

#connections_idsObject


54
55
56
# File 'lib/rails_metrics/orm/active_record.rb', line 54

def connections_ids
  self.connection_pool.connections.map(&:object_id)
end