module RecordsCount

Constants

VERSION

Public Class Methods

do_work!() click to toggle source
# File lib/records_count.rb, line 57
def RecordsCount.do_work!
  ActiveSupport::Notifications.subscribe('instantiation.active_record') do |name, start, finish, id, payload|
    RecordsCount::Warning.new(start, finish).print
    RecordsCount::Message.new(payload).print
  end
end