3 changed files with 14 additions and 0 deletions
@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true |
||||
|
||||
module Chewy |
||||
class Strategy |
||||
class BypassWithWarning < Base |
||||
def update(...) |
||||
Rails.logger.warn 'Chewy update without a root strategy' unless @warning_issued |
||||
@warning_issued = true |
||||
end |
||||
end |
||||
end |
||||
end |
||||
Loading…
Reference in new issue