rename occurences of belongs_to in documentation
[dbsrgits/DBIx-Class.git] / examples / Schema / MyDatabase / Main / Result / Cd.pm
index 6a465a1..f9f65e1 100644 (file)
@@ -11,7 +11,7 @@ __PACKAGE__->add_columns(qw/ cdid artist title/);
 
 __PACKAGE__->set_primary_key('cdid');
 
-__PACKAGE__->belongs_to('artist' => 'MyDatabase::Main::Result::Artist');
+__PACKAGE__->refers_to('artist' => 'MyDatabase::Main::Result::Artist');
 __PACKAGE__->has_many('tracks' => 'MyDatabase::Main::Result::Track');
 
 1;