I read the naming conventions rails adopts at page 264 and was wondering if it misses the conventions about view folders. For example, look at the following two instances of script/generate: # script/generate scaffold product title:string # script/generate controller store index
The view folder for the product is in app/views/products/, whereas the view folder for store is in app/views/store. I am sure there is internal wiring to choose the view template for a controller, but I was not sure how the ambiguity was resolved.
(This is in-line with a n00b’s confusion with naming conventions as said in the book, so apologies if this is all too straightforward).