4 ms·
why is it a problem anyway?
by jordinl 15y ago
why is it a problem anyway?
- obiefernandez 15y agoUse of instance variables to communicate state to views is known to lead to implicit and tight coupling between controller and templates (and become a nightmare to maintain over time) DHH disagrees with this point of view because he considers templates to be methods of the Controller optimized for generating text. Hence use of instance variables is not a problem.