From: Kennedy Clark Date: Tue, 16 Feb 2010 19:33:32 +0000 (+0000) Subject: Better integrate the use of "-r" into the flow. X-Git-Tag: v5.8005~42 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=f2bbfc36c84341b93dd37dceb879a94743a90b18 Better integrate the use of "-r" into the flow. Move comment about styles for setting stash to earlier ch to be in sync with always using the "new style" Other small/misc updates --- diff --git a/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod b/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod index cd3f0c4..8506531 100644 --- a/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod +++ b/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod @@ -68,8 +68,8 @@ functionality, will be addressed in Chapter 9. Although this chapter of the tutorial will show you how to build CRUD functionality yourself, another option is to use a "CRUD builder" type -of tool to automate the process. You get less control, but it's quick -and easy. For example, see +of tool to automate the process. You get less control, but it can be +quick and easy. For example, see L, L, and L. @@ -96,7 +96,7 @@ Edit C and enter the following method: =cut - sub url_create : Local { + sub url_create :Local { # In addition to self & context, get the title, rating, & # author_id args from the URL. Note that Catalyst automatically # puts extra information after the "// to kill -it. Then restart the server: +Make sure the development server is running with the "-r" restart +option: - $ DBIC_TRACE=1 script/myapp_server.pl + $ DBIC_TRACE=1 script/myapp_server.pl -r Note that new path for C appears in the startup debug output. -B: You can use C