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
unreference
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
non
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:
> 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, JS
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'
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
From: "Jonas Alves" <[EMAIL PROTECTED]>
Or you can just use $c->model() and define the "default_model"
parameter in the config file.
--
Jonas
That's it! Thank you.
Teddy
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mail
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 confi
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 correct
If I write the name of the database in more modules it will be harder to
change its name, but now I I think that I could use something like:
$c->model($c->config->{db});
and just change the name of the db in the application config.
Or you can just use $c->model() and define the "default_model"
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
Yes, sorry, I haven't explained very well, and I think I have found a
solution.
I have a few databases which are similar. Most of the tables are the same,
and in some of them I have more other tables or some tables redefined.
I want to test the application using a certain database, and if all w
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
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
___
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. =
On Sun, Dec 24, 2006 at 11:10:48AM +0100, Sébastien Wagener wrote:
> 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 b
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 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
versio
> 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
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 cod
20 matches
Mail list logo