]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
Merge pull request #3 from jjn1056/master
authorjjn1056 <jjn1056@yahoo.com>
Mon, 16 May 2011 19:30:22 +0000 (12:30 -0700)
committerjjn1056 <jjn1056@yahoo.com>
Mon, 16 May 2011 19:30:22 +0000 (12:30 -0700)
(I'm merging this since I can't find any case where it hurts, it's actually not correct syntax at all, just we got away with it in the past when DBIC was more lax)

Hey, there's a test which is broken when trying to install this with the latest DBIC, fixed attached

t/lib/DBSchema/Result/Personality.pm

index 3284fa1c979c29c697c9738b83aca7fd60619338..b4d2ac938c499659ec3265618e2e90e39ef26295 100644 (file)
@@ -9,7 +9,7 @@ __PACKAGE__->load_components( "PK::Auto", "Core" );
 __PACKAGE__->table("personality");
 __PACKAGE__->add_columns( "user_id" => { data_type => 'integer' }, );
 __PACKAGE__->set_primary_key("user_id");
-__PACKAGE__->has_one( 'user', 'DBSchema::Result::User', {'user_id' => 'foreign.id'}, );
+__PACKAGE__->has_one( 'user', 'DBSchema::Result::User', {'foreign.id' => 'self.user_id'}, );
 
 1;
 
This page took 0.021871 seconds and 4 git commands to generate.