[Bps-public-commit] r15281 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 20 05:41:16 EDT 2008


Author: sartak
Date: Wed Aug 20 05:41:15 2008
New Revision: 15281

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Record.pm

Log:
 r69854 at onn:  sartak | 2008-08-20 05:41:03 -0400
 Better error when register_reference on a record class


Modified: Prophet/trunk/lib/Prophet/Record.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Record.pm	(original)
+++ Prophet/trunk/lib/Prophet/Record.pm	Wed Aug 20 05:41:15 2008
@@ -114,7 +114,7 @@
             @args
         );
     } elsif ( $foreign_class->isa('Prophet::Record') ) {
-
+        die "One-to-one relationships are not yet implemented";
     } else {
         die "Your foreign class ($foreign_class) must be a subclass of Prophet::Record or Prophet::Collection";
     }



More information about the Bps-public-commit mailing list