diff --git a/app/models/concerns/cable_ready/updatable.rb b/app/models/concerns/cable_ready/updatable.rb index 3c01f0a1..2d383937 100644 --- a/app/models/concerns/cable_ready/updatable.rb +++ b/app/models/concerns/cable_ready/updatable.rb @@ -6,7 +6,7 @@ module CableReady module Updatable extend ::ActiveSupport::Concern - mattr_accessor :debounce_adapter, default: MemoryCacheDebounceAdapter.instance + mattr_accessor :debounce_adapter, default: ::CableReady::Updatable::MemoryCacheDebounceAdapter.instance included do |base| if defined?(ActiveRecord) && base < ActiveRecord::Base diff --git a/lib/cable_ready/updatable/memory_cache_debounce_adapter.rb b/app/models/concerns/cable_ready/updatable/memory_cache_debounce_adapter.rb similarity index 100% rename from lib/cable_ready/updatable/memory_cache_debounce_adapter.rb rename to app/models/concerns/cable_ready/updatable/memory_cache_debounce_adapter.rb diff --git a/lib/cable_ready.rb b/lib/cable_ready.rb index 88533bde..ad984a52 100644 --- a/lib/cable_ready.rb +++ b/lib/cable_ready.rb @@ -17,8 +17,6 @@ require "cable_ready_helper" module CableReady - autoload :MemoryCacheDebounceAdapter, "cable_ready/updatable/memory_cache_debounce_adapter" - class << self def config CableReady::Config.instance