lib/spoom/deadcode/plugins/active_model.rb in spoom-1.3.3 vs lib/spoom/deadcode/plugins/active_model.rb in spoom-1.4.0
- old
+ new
@@ -6,10 +6,10 @@
module Plugins
class ActiveModel < Base
extend T::Sig
ignore_classes_inheriting_from("ActiveModel::EachValidator")
- ignore_methods_named("validate_each")
+ ignore_methods_named("validate_each", "persisted?")
sig { override.params(send: Send).void }
def on_send(send)
return if send.recv