Fixed a typo in the POD
moltar [Wed, 8 Jun 2011 17:04:19 +0000 (13:04 -0400)]
lib/DBIx/Class.pm

index 6310697..01f9500 100644 (file)
@@ -155,7 +155,7 @@ See L<DBIx::Class::ResultSource> for docs on defining result classes.
   __PACKAGE__->table('artist');
   __PACKAGE__->add_columns(qw/ artistid name /);
   __PACKAGE__->set_primary_key('artistid');
-  __PACKAGE__->has_many(cds => 'MyApp::Schema::Result::CD');
+  __PACKAGE__->has_many(cds => 'MyApp::Schema::Result::CD', 'artistid');
 
   1;