Actions
Refactor #22089
closed![Author: Anonymous](/images/anonymous.png?1697023634)
scope "without" on TaxableTaxonomy blows up with Rails 5.2
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."
Updated by Anonymous about 7 years ago
- Blocks Tracker #21834: Rails 5.2 upgrade tasks added
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/foreman/pull/5129 added
Updated by Tomer Brisker about 7 years ago
- Translation missing: en.field_release set to 296
Updated by Anonymous about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 85ecc9b81493fc0811df6ce080e825c3321054fe.
Actions