In the very first paragraph http://rails.rubyonrails.com/classes/ActionController/Base.html says: > Also note that it’s the final call to process_cgi that actually initiates > the action performance. It will extract request and response objects from > the CGI Requests refering to the line: > GuestBookController.process_cgi just after the GuestBookController'' class is defined. I don''t get this. I''ve never included such a line and (grep''ing) can''t find any such call... yet my app works fine. Is this d.d. (documentation detritus)? If not, can anyone explain? craig
Dispatcher calls this method. Look into <app>/public directory where all dispatch scripts are defined. Cheers, Kent On Apr 9, 2005 3:43 PM, craig duncan <craig-duncan-ihVZJaRskl1bRRN4PJnoQQ@public.gmane.org> wrote:> In the very first paragraph > http://rails.rubyonrails.com/classes/ActionController/Base.html says: > > > Also note that it''s the final call to process_cgi that actually initiates > > the action performance. It will extract request and response objects from > > the CGI Requests > > refering to the line: > > > GuestBookController.process_cgi > > just after the GuestBookController'' class is defined. I don''t get this. > I''ve never included such a line and (grep''ing) can''t find any such call... yet my app > works fine. Is this d.d. (documentation detritus)? If not, can anyone explain? > > craig > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Kent Sibilev wrote:> Dispatcher calls this method. Look into <app>/public directory where > all dispatch scripts are defined. > > Cheers, > Kent > > On Apr 9, 2005 3:43 PM, craig duncan <craig-duncan-ihVZJaRskl1bRRN4PJnoQQ@public.gmane.org> wrote: > >>In the very first paragraph >>http://rails.rubyonrails.com/classes/ActionController/Base.html says: >> >> > Also note that it''s the final call to process_cgi that actually initiates >> > the action performance. It will extract request and response objects from >> > the CGI Requests >> >>refering to the line: >> >> > GuestBookController.process_cgi >> >>just after the GuestBookController'' class is defined. I don''t get this. >>I''ve never included such a line and (grep''ing) can''t find any such call... yet my app >>works fine. Is this d.d. (documentation detritus)? If not, can anyone explain? >> >>craigYou must be seeing something i''m not because i have no such call to `process_cgi'' anywhere in my rails-created directory tree (i find-grep''d everything). I also grep''d the gem hierarchy for some "magical" invocation but don''t see anything there either. So i still wonder if this isn''t outdated documentation (continuing to be irritatingly persistent about this possibility). craig