module ActiveRecord::Railties::ControllerRuntime
Public Instance Methods
append_info_to_payload(payload)
click to toggle source
Calls superclass method
# File lib/time_bandits/monkey_patches/active_record.rb, line 89 def append_info_to_payload(payload) super if ActiveRecord::Base.connected? payload[:db_runtime] = TimeBandits::TimeConsumers::Database.instance.consumed end end
cleanup_view_runtime()
click to toggle source
Calls superclass method
# File lib/time_bandits/monkey_patches/active_record.rb, line 83 def cleanup_view_runtime # this method has been redefined to do nothing for activerecord on purpose super end