[RDBO] (make_classes)[0]->meta->$method not used in perl_class_definition

2006-10-23 Thread Ask Bjørn Hansen
Hi, We have a script that generates our classes for us, using the Loader and a bit of custom code to tweak the generated class to our needs. It goes something like this: my $loader = Rose::DB::Object::Loader->new(...); for my $class ($loader->make_classes) { my $meta = $class->meta;

Re: [RDBO] (make_classes)[0]->meta->$method not used in perl_class_definition

2006-10-23 Thread Randal L. Schwartz
> "Ask" == Ask Bjørn Hansen <[EMAIL PROTECTED]> writes: Ask> Bug, missing feature or am I doing something wrong? :-) If I recall correctly what John IM'ed me one day, once ->make_classes is called, the meta data has already been "used" to create everything else that is interesting. You'll n

[RDBO] Rose::DateTime and DateTime::Locale 0.31

2006-10-23 Thread Lucian Dragus
Rose::DateTime v0.531 will fail to initialize with the latest versions of DateTime (v0.35) and DateTime::Locale (v0.31). I've modified a bit Rose/DateTime/Util.pm: --- Rose/DateTime/Util.pm2006-10-03 16:52:41.0 +0300 +++ ./lib/Ro

Re: [RDBO] (make_classes)[0]->meta->$method not used in perl_class_definition

2006-10-23 Thread John Siracusa
On 23 Oct 2006 02:59:30, Randal L. Schwartz wrote: > If I recall correctly what John IM'ed me one day, once ->make_classes is > called, the meta data has already been "used" to create everything else that > is interesting. You'll need to "initialize" again the parts of anything you > change that

Re: [RDBO] Rose::DateTime and DateTime::Locale 0.31

2006-10-23 Thread John Siracusa
Applied, thanks. -John - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.

Re: [RDBO] Rose::DateTime and DateTime::Locale 0.31

2006-10-23 Thread John Siracusa
On 10/23/06, John Siracusa <[EMAIL PROTECTED]> wrote: > Applied, thanks. Also released to CPAN as 0.532. -John - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integ

[RDBO] feature request: not not_found (found?)

2006-10-23 Thread Jonathan
this might require reading all the way through... I'm wishing for something like !$obj->not_found perhaps $obj->found ? Rose Docs: not_found Returns true if the previous call to load failed because a row in the database table with the specified primary or unique

Re: [RDBO] feature request: not not_found (found?)

2006-10-23 Thread John Siracusa
On 10/23/06 11:31 PM, Jonathan wrote: > I'm wishing for something like > !$obj->not_found > perhaps > $obj->found ? Er, so why not just add this to your common object base class? sub found { !shift->not_found } Any I missing something here? -John

Re: [RDBO] feature request: not not_found (found?)

2006-10-23 Thread Jonathan
On Oct 23, 2006, at 11:41 PM, John Siracusa wrote: > Er, so why not just add this to your common object base class? > > sub found { !shift->not_found } > > Any I missing something here? a) I wanted to make sure that not_found did what i thought it did ( according to source , it seems to ) b)

Re: [RDBO] feature request: not not_found (found?)

2006-10-23 Thread John Siracusa
On 10/23/06 11:51 PM, Jonathan wrote: > a) I wanted to make sure that not_found did what i thought it did > ( according to source , it seems to ) > b) i have it doing that already. it's just weird having a double > negative... it seems odd that found isn't in there already The success case is cle

[RDBO] docs typo: rose::db::object::helpers

2006-10-23 Thread Jonathan
the section that should probably be: init_with_yaml YAML currently reads init_with_json YAML i'd imagine they're functionally equivalent... but there seems to be init_with_json and init_with_yaml methods -