Project

General

Profile

Actions

Refactor #22089

closed

scope "without" on TaxableTaxonomy blows up with Rails 5.2

Added by Anonymous over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Blocks Foreman - Tracker #21834: Rails 5.2 upgrade tasksClosed

Actions
Actions #1

Updated by Anonymous over 6 years ago

Actions #2

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Anonymous
  • Pull request https://github.com/theforeman/foreman/pull/5129 added
Actions #3

Updated by Tomer Brisker over 6 years ago

  • translation missing: en.field_release set to 296
Actions #4

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF