Actions
Refactor #9486
closedpool.rb lazy_accessor tech debt
Description
File is overwhelmingly bad, having grown over the years into a big pile of crud. @jsherrill suggested updating things to properly use lazy_accessor. A lot of these attributes will/should move into the model directly for scoped search as well.
lazy_accessor :remote_data, :pool_derived, :product_name, ... :initializer => (lambda do |pool| attributes = {} pool.remote_data['attributes'].map do |attribute| attributes[attribute[:name].camel_case] = attribute['value'] end end)
Updated by Eric Helms over 9 years ago
- Tracker changed from Bug to Refactor
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release deleted (
31)
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 114
Updated by Thomas McKay about 6 years ago
- Status changed from Assigned to Rejected
Old issue, a lot changed since then
Updated by Jonathon Turel about 4 years ago
- Target version changed from Katello Backlog to Katello Recycle Bin
Actions