Project

General

Profile

Actions

Refactor #3962

closed

Operating system children overwrites class method

Added by Marek Hulán almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I think overwriting #class method is wrong (maybe except proxy objects). It's hard to debug problems and it causes unexpected problems. I propose to use #becomes instead.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #345: unable to save associated operatingsystemsClosedOhad Levy07/08/2010Actions
Has duplicate Foreman - Bug #3819: Add proper STI to Operatingsystem subtypesDuplicate12/05/2013Actions
Actions

Also available in: Atom PDF