Module: ActiveRecordInstanceCount
- Defined in:
- lib/active-record-instance-count.rb,
lib/active-record-instance-count/version.rb,
lib/active-record-instance-count/utils/hash_utils.rb,
lib/active-record-instance-count/instrumentation/active_record.rb
Defined Under Namespace
Modules: HashUtils, Instrumentation
Classes: Middleware
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.extended_active_record! ⇒ Object
7
8
9
|
# File 'lib/active-record-instance-count/instrumentation/active_record.rb', line 7
def self.extended_active_record!
@_extended_active_record = true
end
|
.extended_active_record? ⇒ Boolean
3
4
5
|
# File 'lib/active-record-instance-count/instrumentation/active_record.rb', line 3
def self.extended_active_record?
@_extended_active_record
end
|