Possible file naming inconsistency (w/ example/suggestion)


im currently reading awdwr se, programming ruby se, and rails recipes.
while i’m still learning, i wanted to ask about a file naming
convention which seems inconsistent to me. i’m hoping someone can
either explain why i’m wrong or direct me to a place to report this as
a bug.

example (from the table on page 236 for whomever has awdwr se) :
controller file - app/controllers/store_controller.rb
layout file - app/views/layouts/store.rhtml

why isn’t the layout file “store_layouts.rhtml” or, preferrably, why
isn’t the controller file simply “store.rb”? (as it seems to violate
“DRY” to state controller in 2 places. likewise with the helper file