rename occurences of belongs_to in code and comments
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Relationship / BelongsTo.pm
index e2adbd8..bd6eb1b 100644 (file)
@@ -65,7 +65,7 @@ sub refers_to {
   # dunno
   else {
     $class->throw_exception(
-      'third argument for belongs_to must be undef, a column name, '.
+      'third argument for refers_to must be undef, a column name, '.
       'or a join condition'
     );
   }