Skip Menu |

This queue is for tickets about the EntityModel CPAN distribution.

Report information
The Basics
Id: 69968
Status: resolved
Priority: 0/
Queue: EntityModel

People
Owner: Nobody in particular
Requestors: metaperl@gmail.com (no email address)
Cc:
AdminCc:

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



Subject: undefined database field bound in sample code
In the USAGE section ( https://metacpan.org/module/EntityModel#USAGE ), the sample table is defined like so: create table test ( id int, name varchar(255) ); but then the source code sets a url column: my $tbl = Entity::Test->create({ name => 'Test', url => '/there' })->commit; which is impossible for the given database schema.
Finally had the time to pick up some RTs... This should be fixed in 0.100, thanks for the report! cheers, Tom On Tue Aug 02 13:50:14 2011, TBONE wrote: Show quoted text
> In the USAGE section ( https://metacpan.org/module/EntityModel#USAGE ), > the sample table is defined like so: > > create table test ( id int, name varchar(255) ); > > but then the source code sets a url column: > > my $tbl = Entity::Test->create({ name => 'Test', url => '/there' > })->commit; > > which is impossible for the given database schema.