Actions
Refactor #260
closedSwitch family implemetation to use STI
Description
The home grown class inheritance stuff in family is confusing.
Switch to using a set of classes based upon the Operatingsystem
Updated by Paul Kelly over 14 years ago
- Status changed from New to Feedback
- Branch set to refactor/260-family-with-sti
Updated by Paul Kelly over 14 years ago
By adding a 'type' field to the operatingsystem record and then managing this field manually we can make Rails cast the record to the required family class.
Updated by Paul Kelly over 14 years ago
Added OS before_filter to deduce the family, if not set
OS DB entries can now contain a null type
@@families promoted to Operatingsystem::FAMILIES
Included mods suggested by Ohad
Updated by Paul Kelly over 14 years ago
Rebased
Centralized Family name and os membership list into a single hash
Added test in unattended controller that detects if a os has no family
simplified deduce_family
tests pass
Updated by Paul Kelly over 14 years ago
- Status changed from Feedback to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 2c83f7442b4588f0e65531f735b844457ea7d41c.
Updated by Ohad Levy over 14 years ago
- Status changed from Ready For Testing to Closed
Actions