0000 proposal through if DO NOT MERGE --> Proposal
Created by: RobertDober
DO NOT MERGE -> Proposal
At at least 4 places we have this denormalized model:
Grandchild ---------------------------> (1) Grandparent
+ (1)
| ^
| |
+ ----> (0/1) Parent ------------------------+
for Grandchild at least in {ComplianceControl, ComplianceCheck, Referential} (via Workbench towards Organisation.
The belongs_to_through_if helper would
- assure validation of consistency
- take away some boilerblate
- be expressive about the fact that we want this disnormalized design and did not just forget about the redundancy
Of course much room for improvement
- name ;)
- more options
- Ur ideas
Thx in advance