Architecture choice — polymorphic Feedback model
Deciding to extract candidate feedback into a dedicated polymorphic model — argued and settled before production to avoid a costly refactor once data had landed.
Architecture
Polymorphisme
Ruby on Rails
Dette technique
Architecture decision, a prerequisite of the 'My applications' epic: replacing the candidate_feedback string column with a polymorphic Feedback model (feedbackable, kind, value, unique index), with no UX change. Settled before production — the feature still living on epic branches — driven by an upcoming 2nd feedback type and avoiding a costly refactor once data had landed.