Maybe there are too many questions in my mind and I should just hold them off, but should I make attempts to understand the “flow” of a rails web application when I am around page 80 in AWDwR3?
For example, in order to understand exactly when the various validators are called, I installed ruby-debug and added “debugger” just before validates_numericality_of on page 81 in the Product model. I see that this gets called when I am just “Show”ing the product (e.g. http://localhost:3000/products/4). It’s counter-intuitive to me that just showing (not updating) a product should result in a call to model validation.
Can someone please explain?