Skip Menu |

This queue is for tickets about the Catalyst-Manual CPAN distribution.

Report information
The Basics
Id: 100767
Status: resolved
Priority: 0/
Queue: Catalyst-Manual

People
Owner: ether [...] cpan.org
Requestors: athlete [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 5.9009



Subject: typos in commans for create models
Hello! This example $ script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \ create=static component=TimeStamp dbi:SQLite:myapp.db \ on_connect_do="PRAGMA foreign_keys = ON" does not add new components (in this case, TimeStamp). I looked at the documentation DBIx::Class::Schema::Loader::Base and found only 'components' option https://metacpan.org/pod/DBIx::Class::Schema::Loader::Base#components Also, I found the commit in which these changes occur: fix typos in example commands (RT#89475)
On 2014-12-07 03:22:24, ATHLETE wrote: Show quoted text
> Hello! > This example > > $ script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \ > create=static component=TimeStamp dbi:SQLite:myapp.db \ > on_connect_do="PRAGMA foreign_keys = ON" > > does not add new components (in this case, TimeStamp). I looked at the > documentation DBIx::Class::Schema::Loader::Base and found only > 'components' option > https://metacpan.org/pod/DBIx::Class::Schema::Loader::Base#components > > Also, I found the commit in which these changes occur: > > fix typos in example commands (RT#89475)
That was my fault; it should be "... components=TimeStamp ...". Will be released in 5.9009 today.