Skip to content

Instantly share code, notes, and snippets.

@msouth
Created June 11, 2013 15:59
Show Gist options
  • Save msouth/5758138 to your computer and use it in GitHub Desktop.
Save msouth/5758138 to your computer and use it in GitHub Desktop.
dancer -a Minimal::Reproduce; edit the .pm file to look like this; perl Makefile.PL; make; make test; fails because simple_crud() tries to connect to database and doesn't know how
package Minimal::Reproduce;
use Dancer ':syntax';
use Dancer::Plugin::SimpleCRUD;
our $VERSION = '0.1';
get '/' => sub {
template 'index';
};
simple_crud(
record_title=>'Cluster',
db_table=>'cluster',
prefix=>'/cluster',
sortable => 1,
);
true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment