Module: Oink::InstanceTypeCounter
- Defined in:
- lib/oink/rails/instance_type_counter.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/oink/rails/instance_type_counter.rb', line 7 def self.included(klass) ActiveRecord::Base.send(:include, Oink::Instrumentation::ActiveRecord) klass.class_eval do around_filter :report_instance_type_count end end |
Instance Method Details
#before_report_active_record_count(instantiation_data) ⇒ Object
15 16 |
# File 'lib/oink/rails/instance_type_counter.rb', line 15 def before_report_active_record_count(instantiation_data) end |