I'm new to rails and I'm following along the depot sample application
in Agile Web Development with Rails
From what I understand I should not need to restart the server after
making changes to the model as long as I am in dev mode.
I got stuck on the part where you need to update the add_product
function in cart.rb in order for it to not insert the same product
twice but just increase the quantity.
For about an hour I was wondering why nothing changed and I tried all
sorts of stuff until I decided to give restarting the server a try. And
that did the trick
But isn't that unnecessarry when running in dev mode?