X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FFAQ.pod;h=8ce7befbbd8ad3f601f5487986579380526bf61f;hb=e112461ad1af391bfdc158350bba343a2624c892;hp=37481ab36175e92480591b29018de0284477a61d;hpb=45374ac6977e9464410a8c7518fb26ab812258cb;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/FAQ.pod b/lib/Catalyst/Manual/FAQ.pod index 37481ab..8ce7bef 100644 --- a/lib/Catalyst/Manual/FAQ.pod +++ b/lib/Catalyst/Manual/FAQ.pod @@ -8,11 +8,33 @@ 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. -=head1 AUTHOR + 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? + +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 +Danijel Milicevic, C =head1 COPYRIGHT