Commit Graph

7 Commits

Author SHA1 Message Date
92a01126a4 More parameter checking and a custom not-found page. 2022-09-20 11:33:08 +01:00
6ea53c5657 More on rows-per-page...
Added helpers and updated MyModel with a view to making rows-per-page
a user preference.
2022-09-19 10:04:57 +01:00
ca7f54311b Put back a little logging. 2022-09-16 11:47:41 +01:00
368b9483bd Add a missing "use", oops. 2022-09-16 11:10:29 +01:00
7d951ba450 Use Book::Schema, becoming dependent on dbix-tutorial...
See dbix-tutorial's INSTALL for how to make it usable from here.
2022-09-16 11:02:47 +01:00
6790782acf Add some db resilience...
Replace the dbh attribute with a get_dbh method.  The method checks
whether the connection is good before returning it.
2022-09-15 21:06:00 +01:00
7c42f38daa Try putting db access into a model. 2022-09-15 13:48:38 +01:00