rename occurences of belongs_to in documentation
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class.pm
index 66d4e59..90fc819 100644 (file)
@@ -11,7 +11,7 @@ our $VERSION;
 # $VERSION declaration must stay up here, ahead of any other package
 # declarations, as to not confuse various modules attempting to determine
 # this ones version, whether that be s.c.o. or Module::Metadata, etc
-$VERSION = '0.08208';
+$VERSION = '0.08209';
 
 $VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
 
@@ -165,7 +165,7 @@ See L<DBIx::Class::ResultSource> for docs on defining result classes.
 
   1;
 
-A result class to represent a CD, which belongs to an artist, in
+A result class to represent a CD, which refers to an artist, in
 MyApp/Schema/Result/CD.pm:
 
   package MyApp::Schema::Result::CD;
@@ -175,7 +175,7 @@ MyApp/Schema/Result/CD.pm:
   __PACKAGE__->table('cd');
   __PACKAGE__->add_columns(qw/ cdid artistid title year /);
   __PACKAGE__->set_primary_key('cdid');
-  __PACKAGE__->belongs_to(artist => 'MyApp::Schema::Result::Artist', 'artistid');
+  __PACKAGE__->refers_to(artist => 'MyApp::Schema::Result::Artist', 'artistid');
 
   1;