config/initializers/observers.rb in calagator-1.1.0 vs config/initializers/observers.rb in calagator-2.0.0.pre.0

- old
+ new

@@ -1,2 +1,4 @@ -ActiveRecord::Base.observers << Calagator::CacheObserver +# frozen_string_literal: true + +ApplicationRecord.observers << Calagator::CacheObserver