Refactor #22089

scope "without" on TaxableTaxonomy blows up with Rails 5.2
Pull request:
Fixed in Releases:
Found in Releases:
Description
app/models/taxable_taxonomy.rb defines a scope named "without". Since Rails 5.0 (https://github.com/rails/rails/commit/c7a37c10ade8372c712be01a7e4ddbe8785c5139) there's a "without" in ActiveSupport and Rails 5.2 does check this now and fails:
You tried to define a scope named "without" on the model "TaxableTaxonomy", but ActiveRecord::Relation already defined an instance method with the same name."
Related issues
Associated revisions
History
#1
Updated by Anonymous over 4 years ago
- Blocks Tracker #21834: Rails 5.2 upgrade tasks added
#2
Updated by The Foreman Bot over 4 years ago
- Assignee set to Anonymous
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5129 added
#3
Updated by Tomer Brisker over 4 years ago
- Legacy Backlogs Release (now unused) set to 296
#4
Updated by Anonymous over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset 85ecc9b81493fc0811df6ce080e825c3321054fe.
Fixes #22089 - remove unused scope