Closed tavon closed 12 years ago
I refactored the wholesaler model to use nested attributes. This allows us to keep the controller skinny and very simple. Although there are some duplication in the controllers, I believe it's clearer and easier to maintain to keep them separate.
All tests are green.
This is awesome!! Thanks @tavon
I refactored the wholesaler model to use nested attributes. This allows us to keep the controller skinny and very simple. Although there are some duplication in the controllers, I believe it's clearer and easier to maintain to keep them separate.
All tests are green.