On Jan 31, 2008 3:44 PM, Sam Tregar <[EMAIL PROTECTED]> wrote: > $meta->column(status => {type => 'varchar', > default => 'normal', > length => 32, > check_in => ['good', 'normal', > 'in_review', 'blocked' > ] > } > ); > > This produces an error: > > # Error: Can't locate object method "values" via package > "Rose::DB::Object::Metadata::Column::Varchar" at > /usr/lib/perl5/site_perl/5.8.5/Rose/DB/Object/Metadata/Column.pm line 519.
I'm assuming it only produces that error when it tries to emit the Perl code for that class into a .pm file, right? If so, I think I have the fix in SVN. Give it a spin and let me know if it solves your problem. https://rose.svn.sourceforge.net/svnroot/rose/trunk/modules/Rose-DB-Object -John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object