Commit Graph

8 Commits

Author SHA1 Message Date
barnold 390850ec75 Conform to change of database name. 2022-10-10 12:50:11 +01:00
barnold 92a01126a4 More parameter checking and a custom not-found page. 2022-09-20 11:33:08 +01:00
barnold 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
barnold ca7f54311b Put back a little logging. 2022-09-16 11:47:41 +01:00
barnold 368b9483bd Add a missing "use", oops. 2022-09-16 11:10:29 +01:00
barnold 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
barnold 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
barnold 7c42f38daa Try putting db access into a model. 2022-09-15 13:48:38 +01:00