Re: [Dbix-class] DBIc-Class-ResultSet

2006-04-10 Thread Brandon Black
On 4/10/06, Kjell Arne Arvesen <[EMAIL PROTECTED]> wrote: > As I use the Catalyst framework and totally fell in love with it, I use > a DBIC::Schema class for Catalyst that looks like the following: > > Here is my Catalyst::Model::DBIC::Schema inherited class: > > __PACKAGE__->config( > schema_

Re: [Dbix-class] DBIc-Class-ResultSet

2006-04-10 Thread Kjell Arne Arvesen
Matt S Trout wrote: >Kjell Arne Arvesen wrote: > > >>Matt S Trout wrote: >> >>I've even tried to do a $user->email("doh") and then call the update >>method. Still nothing happens. >> >> > >Define "nothing happens" :) > > >If you turn on debugging in Storage::DBI you should at least see th

Re: [Dbix-class] DBIc-Class-ResultSet

2006-04-09 Thread Matt S Trout
Kjell Arne Arvesen wrote: > Matt S Trout wrote: > > I've even tried to do a $user->email("doh") and then call the update > method. Still nothing happens. Define "nothing happens" :) If you turn on debugging in Storage::DBI you should at least see the UPDATE being issued. My next thought is th

Re: [Dbix-class] DBIc-Class-ResultSet

2006-04-09 Thread Kjell Arne Arvesen
Matt S Trout wrote: >Kjell Arne Arvesen wrote: > > >>Hiya. >> >>I've created an instance of DBIx::Class::ResultSet for a table class >>called user where I have the following method: >> >>Example: >>sub update_email { >>... >>my $rs = $self->search({...}); # This returns a proper results

Re: [Dbix-class] DBIc-Class-ResultSet

2006-04-08 Thread Matt S Trout
Kjell Arne Arvesen wrote: > Hiya. > > I've created an instance of DBIx::Class::ResultSet for a table class > called user where I have the following method: > > Example: > sub update_email { > ... > my $rs = $self->search({...}); # This returns a proper resultset > my @users = $rs->al

[Dbix-class] DBIc-Class-ResultSet

2006-04-08 Thread Kjell Arne Arvesen
Hiya. I've created an instance of DBIx::Class::ResultSet for a table class called user where I have the following method: Example: sub update_email { ... my $rs = $self->search({...}); # This returns a proper resultset my @users = $rs->all; #Returns an array containing all the data f