[Bps-public-commit] r15286 - in Prophet/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Wed Aug 20 08:49:20 EDT 2008
Author: sartak
Date: Wed Aug 20 08:49:20 2008
New Revision: 15286
Modified:
Prophet/trunk/ (props changed)
Prophet/trunk/lib/Prophet/Record.pm
Log:
r69865 at onn: sartak | 2008-08-20 08:49:13 -0400
The default property to examine for uuid is now the same as the accessor name
Modified: Prophet/trunk/lib/Prophet/Record.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Record.pm (original)
+++ Prophet/trunk/lib/Prophet/Record.pm Wed Aug 20 08:49:20 2008
@@ -116,6 +116,10 @@
} elsif ( $foreign_class->isa('Prophet::Record') ) {
return $class->register_record_reference(
$accessor => $foreign_class,
+
+ # default the lookup property to be the name of the accessor
+ by => $accessor,
+
@args
);
} else {
More information about the Bps-public-commit
mailing list