Actions
Refactor #21036
closedDon't use class as class_name in associations
Updated by Anonymous over 7 years ago
- Blocks Tracker #20948: Rails 5.1 upgrade tasks added
Updated by Anonymous over 7 years ago
- Subject changed from Don't use class name in associations to Don't use class as class_name in associations
Updated by Anonymous over 7 years ago
- Related to Refactor #20956: Passing a class as a value in an Active Record query is deprecated added
Updated by Anonymous over 7 years ago
Rails 5.1 says:
Passing a class to the `class_name` is deprecated and will raise an ArgumentError in Rails 5.2. It eagerloads more classes than necessary and potentially creates circular dependencies. Please pass the class name as a string.
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/4862 added
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 9681a099bcecd86f5b44de4dd7db5c4232048443.
Updated by Stephen Benjamin almost 7 years ago
- Related to Bug #23019: Don't pass class object to :class_name in relations added
Actions