[Rails] ActionController::Base doc confusion

Bob Sidebotham bob.sidebotham at gmail.com
Wed Dec 1 21:21:48 GMT 2004


The example in ActionController::Base's documentation ends (after the
class defiinition) with:

  GuestBookController.template_root = "templates/"
  GuestBookController.process_cgi

I'm not sure why these are shown along with the definition--surely
these calls are normally made by the framework? In any event, the
presence of this code, and the slightly cryptic reference to
process_cgi in the descriptive text below was/is a source of confusion
for me. I guess it would help if it said, somewhere, "the framework
will arrange to call your controller's process_cgi method when ...".

Bob

P.S. Where should I send comments like these? Is this the right place?
I don't want to use up too much bandwidth on trivia... (on the other
hand, I do think that clarity of documentation is important...).


More information about the Rails mailing list