On 12/21/07 8:39 PM, Adam Prime wrote:
> sub init_convention_manager {
> my $self = shift;
>
> my $cm = $self->SUPER::init_convention_manager(@_);
>
> $cm->singular_to_plural_function(\&Lingua::EN::Inflect::Number::to_PL);
> $cm->plural_to_singular_function(\&Lingua::EN::Infle
Ted Zlatanov wrote:
> I couldn't find an example in the docs of how to set up
> Rose::DB::Object::Loader with a properly pluralizing convention manager.
> I tried the following, but I keep getting a class called "Currencie"
> from a table called "currencies" for example. I must be missing
> someth
At 6:20 PM -0500 12/21/07, John Siracusa wrote:
>On 12/21/07 3:43 PM, Ted Zlatanov wrote:
>> I've set up all the right things in a Rose::DB class to support this.
>> Now I find myself with the need for four class hierarchies to handle
>> slightly different things in those four environments. Ins
On 12/18/07 1:38 AM, Danny Liang wrote:
> Is it possible to add triggers/coderef callbacks to
> load/insert/update/delete methods for objects and get_* methods for
> object manager classes similar to the way adding trigger to columns
> (i.e. on_set, on_save, etc.)?
There are no convenience methods
On 12/21/07 3:43 PM, Ted Zlatanov wrote:
> I've set up all the right things in a Rose::DB class to support this.
> Now I find myself with the need for four class hierarchies to handle
> slightly different things in those four environments. Instead, I'm
> wondering if I can have:
>
> DB/auto/prod/
On 12/21/07 4:21 PM, Ted Zlatanov wrote:
> On Fri, 21 Dec 2007 15:59:58 -0500 Hans Dieter Pearcey <[EMAIL PROTECTED]>
> wrote:
> HDP> On Fri, Dec 21, 2007 at 02:56:07PM -0600, Ted Zlatanov wrote:
>>> I couldn't find an example in the docs of how to set up
>>> Rose::DB::Object::Loader with a proper
On Fri, 21 Dec 2007 15:59:58 -0500 Hans Dieter Pearcey <[EMAIL PROTECTED]>
wrote:
HDP> On Fri, Dec 21, 2007 at 02:56:07PM -0600, Ted Zlatanov wrote:
>> I couldn't find an example in the docs of how to set up
>> Rose::DB::Object::Loader with a properly pluralizing convention manager.
>> I tried t
On Fri, Dec 21, 2007 at 02:56:07PM -0600, Ted Zlatanov wrote:
> I couldn't find an example in the docs of how to set up
> Rose::DB::Object::Loader with a properly pluralizing convention manager.
> I tried the following, but I keep getting a class called "Currencie"
> from a table called "currencies
I couldn't find an example in the docs of how to set up
Rose::DB::Object::Loader with a properly pluralizing convention manager.
I tried the following, but I keep getting a class called "Currencie"
from a table called "currencies" for example. I must be missing
something.
Ted
package My::DB::Met
Let's say I have two DB domains: prod/dev and two DB types: a/b. All
four combinations have 99% of the same data structure but need different
login info and some slightly different fields (e.g. the table 'cats' in
dev-a has an extra timestamp column).
I've set up all the right things in a Rose::D
10 matches
Mail list logo