lib/refile/backgrounder/activerecord.rb in refile-backgrounder-0.0.3 vs lib/refile/backgrounder/activerecord.rb in refile-backgrounder-0.0.4
- old
+ new
@@ -6,10 +6,10 @@
super name, **options
return unless background
attr_accessor :_skip_refile_backgrounder
after_save(unless: :_skip_refile_backgrounder) do |record|
- worker.perform_later record, name.to_s, metadata
+ worker.perform_later record, name.to_s
end
end
end
end