Forum: Ruby on Rails possible file naming inconsistency (w/ example/suggestion)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
flowandcrash (Guest)
on 2007-01-17 21:58
(Received via mailing list)
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
/app/helpers/store_helper.rb)

thanks
This topic is locked and can not be replied to.