app/models/mini_scheduler/stat.rb in mini_scheduler-0.16.0 vs app/models/mini_scheduler/stat.rb in mini_scheduler-0.17.0

- old
+ new

@@ -1,14 +1,13 @@ # frozen_string_literal: true if defined?(ActiveRecord::Base) module MiniScheduler class Stat < ActiveRecord::Base + self.table_name = "scheduler_stats" - self.table_name = 'scheduler_stats' - def self.purge_old - where('started_at < ?', 1.months.ago).delete_all + where("started_at < ?", 1.months.ago).delete_all end end end end