RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Overflow012
Hello all,
I have one question. Method "destroy" belongs to any rails model, so if I call it means that I violate the MVC concepts. The right way would be remove the model from the controller. Am I wrong?
PD: sorry, my English isn't that good.
Thanks.
Hello all,
I have one question. Method "destroy" belongs to any rails model, so if I call it means that I violate the MVC concepts. The right way would be remove the model from the controller. Am I wrong?
PD: sorry, my English isn't that good.
Thanks.