X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FFAQ.pod;h=8ce7befbbd8ad3f601f5487986579380526bf61f;hb=0ba80bce27a56d366c8d44c254332dd83f9ba0f9;hp=25d7fcc05c176eb52d1af9b590618103386cb7ed;hpb=f35d8959054e04af834ff015214ae76108aa5b19;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/FAQ.pod b/lib/Catalyst/Manual/FAQ.pod index 25d7fcc..8ce7bef 100644 --- a/lib/Catalyst/Manual/FAQ.pod +++ b/lib/Catalyst/Manual/FAQ.pod @@ -8,18 +8,29 @@ Frequently Asked Questions =head2 How do I regenerate the helper scripts? -Create a new app with the same name and copy scripts/ to app directory +Outside your apps dir run the C script with the same name, and the +C<-scripts> switch. + + catalyst.pl -scripts Foo + +To overwrite (instead of creating C<.new> files) use the C<-force> switch. =head2 I have added tables to my DB - how to autogenerate the classes? Just run the _create.pl script again with the same parameters, it will ignore the existing classes and create missing ones based on your DB layout. -=head2 What is the difference between $c->forward and $c->response->redirect ? +=head2 What is the difference between $c->forward and $c->response->redirect? Forward will modify the flow control and neither reset the context object nor end the request cycle while a redirect will. See L. +=head2 How can I get rid of those timer comments when using TT as my view? + +This config line in MyApp::V::TT will disable this for you: + + __PACKAGE__->config->{CONTEXT} = undef; + =head1 AUTHORS Sebastian Riedel, C