On Fri, 2006-12-22 at 10:55 -0800, Dylan Vanderhoof wrote:
Upgrading to 0.06 broke my code using C::P::Email that was written
nearly identically to the docs.
I've the same problem, all the e-mail sending facilities are broken in
my app... I would appreciate to know whether I should adapt my code
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 24, 2006 5:32 AM
Subject: [Catalyst] SchemaLoader?
Hello,
I have read the POD documentation of the myapp_create.pl and
I have seen:
myapp_create.pl model SomeDB DBIC::SchemaLoader dbi:SQLite:/tmp/my.db
I
On Fri, 2006-12-22 at 10:55 -0800, Dylan Vanderhoof wrote:
Downgraded for now, but it'd be nice to see that fixed since my package
manager keeps wanting to upgrade and I have to talk sternly to it to get
it to stop. =)
I just saw that, although 0.07 did not fix the problem, the latest
versions
From: Hermida, Leandro [EMAIL PROTECTED]
There is no Catalyst::Helper::Model::DBIC::SchemaLoader. Use the
DBIC::Schema helper with the create option in order to generate a model
from a DBIx::Class::Schema::Loader setup. See the
Catalyst::Helper::Model::DBIC::Schema docs for information on
On Sun, Dec 24, 2006 at 04:07:37PM +0100, Sébastien Wagener wrote:
On Fri, 2006-12-22 at 10:55 -0800, Dylan Vanderhoof wrote:
Downgraded for now, but it'd be nice to see that fixed since my package
manager keeps wanting to upgrade and I have to talk sternly to it to get
it to stop. =)
I
Hi,
I need to access the same database in more controller modules, using the
following line in every subroutine and every module:
my $schema = $c-model('DB');
Is it possible to define it only in one place and make it available in the
entire application?
Thanks.
Octavian
Octavian Rasnita said:
I need to access the same database in more controller modules, using the
following line in every subroutine and every module:
my $schema = $c-model('DB');
Is it possible to define it only in one place and make it available in the
entire application?
Sorry, I don't
Octavian Rasnita said:
I want to test the application using a certain database, and if all works
right, I want to use it with another one, and I don't want to need
creating another Catalyst application just because I have changed the
database.
[...]
and just change the name of the db in
On 12/24/06, Octavian Rasnita [EMAIL PROTECTED] wrote:
Attempt to free unreferenced scalar: SV 0x237e190, Perl interpreter:
0x274324 at
D:/usr/site/lib/DBIx/Class/Schema/Loader/Base.pm line 501.
These errors are not usually errors per se - just warnings. And
everything ends up working
From: Robert 'phaylon' Sedlacek [EMAIL PROTECTED]
Umm, why don't you just have two config files with different DSNs to your
schema? During development, my config has a dbi:SQLite:... DSN in it,
and the production server uses a postgres one.
Finally I think I will need to use such a config
From: Nilson Santos Figueiredo Junior [EMAIL PROTECTED]
These errors are not usually errors per se - just warnings. And
everything ends up working correctly. Either way, reinstalling a newer
DBI version should do away with some of those.
Hi,
I've made a mistake. I thought that if I could use
Octavian Rasnita said:
From: Jonas Alves [EMAIL PROTECTED]
Or you can just use $c-model() and define the default_model
parameter in the config file.
That's it! Thank you.
Beware though that this probably means you can't access a DBIC resultset
directly via $c-model('DB::Foo');
--
#
Octavian Rasnita said:
Finally I think I will need to use such a config file, although the yaml
format is not very friendly.
From the Catalyst::Plugin::ConfigLoader POD:
This module will attempt to load find and load a configuration
file of various types. Currently it supports YAML,
Beware though that this probably means you can't access a DBIC resultset
directly via $c-model('DB::Foo');
Ok, but how?
Thanks.
Octavian
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
Octavian Rasnita said:
Beware though that this probably means you can't access a DBIC resultset
directly via $c-model('DB::Foo');
Ok, but how?
Um, how _what_? It would be very helpful if you'd write whole questions,
not assuming that I know what is on your mind. We both seem to be
On 12/25/06, Octavian Rasnita [EMAIL PROTECTED] wrote:
Can you tell me what version of perl do you have? I use ActivePerl 5.8.8
build 819.
Same here.
Have you tried updating DBI itself (not DBIx::Class), using the CPAN
shell, as I've said before? That usually does away with those
unreferenced
16 matches
Mail list logo