I'm pretty new to rails, and am a little confused about the proper naming convention for controllers. The 2nd edition of the Agile books says to name them singularly. So, for my 'items' table I would have an item_controller.rb file containing an ItemController class.

However, running 'script/generate scaffold item' generates an items_controller.rb file with an ItemsController class.


_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to