3 ms·
I think this is a responsibility that lies in the model. What if you decide to allocate tickets through a different model? You have to remember to include this
by jvans 13y ago
I think this is a responsibility that lies in the model. What if you decide to allocate tickets through a different model? You have to remember to include this policy everywhere. Another approach i think is reasonable is creating a class for this on the model level.
https://gist.github.com/jvans1/9745395 https://gist.github.com/jvans1/9745395