ActiveSupport::ProxyObject has been deprecated on Rails main i.e. 7.2.0.alpha. The recommended alternative is Ruby's BasicObject:
Delayed::Compatibility.proxy_object_class
DEPRECATION WARNING: ActiveSupport::ProxyObject is deprecated and will be removed in Rails 7.3.
Use Ruby's buildin BasicObject instead.
(called from <module:Delayed> at /rails/vendor/bundle/ruby/3.2.0/gems/delayed_job-4.1.11/lib/delayed/message_sending.rb:2)
which has been around since Ruby 1.9.
There's some additional functionality that ActiveSupport::ProxyObject has over BasicObject, but from what I can tell, those aren't being used in this specific case.
ActiveSupport::ProxyObject
has been deprecated on Rails main i.e.7.2.0.alpha
. The recommended alternative is Ruby'sBasicObject
:which has been around since Ruby 1.9.
There's some additional functionality that
ActiveSupport::ProxyObject
has overBasicObject
, but from what I can tell, those aren't being used in this specific case.