Fixed typo (RT#99132)
[catagits/Catalyst-Manual.git] / lib / Catalyst / Manual / Tutorial / 04_BasicCRUD.pod
index 5cf0952..f43cecd 100644 (file)
@@ -789,6 +789,9 @@ cascading delete operation via the DBIC_TRACE output:
     SELECT me.id, me.title, me.rating FROM book me WHERE ( ( me.id = ? ) ): '6'
     DELETE FROM book WHERE ( id = ? ): '6'
 
+If you get the error C<file error - books/delete.tt2: not found> then you
+probably forgot to uncomment the template line in C<sub list> at the end of
+chapter 3.
 
 =head2 Fixing a Dangerous URL
 
@@ -964,7 +967,7 @@ Next, we should re-run the DBIC helper to update the Result Classes with
 the new fields:
 
     $ script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
-        create=static components=TimeStamp dbi:SQLite:myapp.db \
+        create=static component=TimeStamp dbi:SQLite:myapp.db \
         on_connect_do="PRAGMA foreign_keys = ON"
      exists "/home/catalyst/dev/MyApp/script/../lib/MyApp/Model"
      exists "/home/catalyst/dev/MyApp/script/../t"