X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FFAQ.pod;h=8ce7befbbd8ad3f601f5487986579380526bf61f;hb=34d28dfd33574ce30aca69fb8700b61111d97b92;hp=0194a579843db76acb82189f4b9a40e8f13d4eb9;hpb=8e40e7efd2ac07a1b3aae3dd0734320b03b7e9df;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/FAQ.pod b/lib/Catalyst/Manual/FAQ.pod index 0194a57..8ce7bef 100644 --- a/lib/Catalyst/Manual/FAQ.pod +++ b/lib/Catalyst/Manual/FAQ.pod @@ -4,13 +4,37 @@ Catalyst::Manual::FAQ - Frequently Asked Questions =head1 DESCRIPTION -Lalala... +Frequently Asked Questions -=head1 ANSWERS +=head2 How do I regenerate the helper scripts? -=head1 AUTHOR +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? + +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