-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Description
With the release of 6.1.2, started getting the following error:
Uncaught exception: undefined method `deprecators' for <...>
/.rvm/gems/ruby-2.7.6/gems/activeresource-6.1.2/lib/active_resource/railtie.rb:26:in `block in <class:Railtie>'
/.rvm/gems/ruby-2.7.6/gems/railties-6.1.7.6/lib/rails/initializable.rb:32:in `instance_exec'
/.rvm/gems/ruby-2.7.6/gems/railties-6.1.7.6/lib/rails/initializable.rb:32:in `run'
/.rvm/gems/ruby-2.7.6/gems/railties-6.1.7.6/lib/rails/initializable.rb:61:in `block in run_initializers'
/.rvm/rubies/ruby-2.7.6/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
We backed down to 6.1.1 and our application starts as expected. Looks to be some new logic in the railtie initialization.
07db0e8#diff-5bddb168eb3f657b2137a0416a2a4670a601ee8c5ed41cd0aacd01e4a95a83bcR26
To remain passive, should this be updated to the following?
app.deprecators[:active_resource] = ActiveResource.deprecator if app.respond_to?(:deprecators)
Or is there some now required configuration introduced in this patch version release?
Metadata
Metadata
Assignees
Labels
No labels