[dancer-users] Order of loading plugins

Naveed Massjouni naveedm9 at gmail.com
Fri Dec 28 13:19:35 GMT 2012


On Fri, Dec 28, 2012 at 8:17 AM, Naveed Massjouni <naveedm9 at gmail.com>wrote:

> my $dbconfig = schema->resultset('Config')->search({ env => 'production'
> });


Oops, that should have been:
    my $dbconfig = schema->resultset('Config')->single({ env =>
'production' });

-Naveed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20121228/ed08fcdd/attachment.htm>


More information about the dancer-users mailing list