Nick Tonkin

Results 10 comments of Nick Tonkin

I have also encountered the following errors with the test: `Can't locate object method "undefined" via package "Test::More::done_testing" (perhaps you forgot to load "Test::More::done_testing"?).` `Can't locate object method "undefined" via...

Also I note that Test2 is in the mix somehow... ``` Test2::API::CODE(0x7fed0a1b84c0)(/Users/ntonkin/.perlbrew/libs/perl-5.32.1@meta/lib/perl5/Test2/API.pm:71): 71: INIT { eval 'END { test2_set_is_end() }; 1' or die $@ } ``` (however testing shows that...

Hello @JJ I'm sorry you are struggling. Note that by default the Dancer2 `file` logger will create a directory and files within your appdir. _If you're using the file logging...

Hi @JJ **What's wrong with what you showed** `set 'engine' => 'logger';` ... this is meaningless. `say setting('log_dir');` ... there is no such top-level setting. `set 'content_type' => 'application/json';` ......

`set log_dir => '/tmp'` sets a top-level config key, but that's not where the one you want to override is.

Hi JJ `set` sets top-level configuration values. I don;t know if it can be used to set subvalues. But `config` returns a hashref which you can change. `config->{engines}{logger}{File}{file_name} = 'new.log';`...

@LorenzoTa Work is under way to use the `.dancer` file to identify the root dir of the app and remove the need for FindBin etc.

Hi @bigpresh, PR [raised here](https://github.com/PerlDancer/Dancer/pull/1164) :-) I didn't add support for YAML::XS in session management, just reading config and serialization. So now I can have in-line comments in my YAML,...

Hi, Thanks for creating a test file. Unfortunately it does not run: ``` [App:15978] error @2017-11-04 10:23:11> Route exception: Can't get a database connection without settings supplied! Please check you've...

Hi, `last_insert_id` is not supported by every DBI driver, and support is inconsistent among those that offer it. This is how I do it for a MySQL DB: ``` get...