add _parent back in. sorry, mst
groditi [Fri, 29 Feb 2008 21:20:41 +0000 (21:20 +0000)]
lib/Reaction/InterfaceModel/Reflector/DBIC.pm

index df59556..120ddb1 100644 (file)
@@ -332,7 +332,11 @@ class DBIC, which {
        domain_model   => $dm_name,
        orig_attr_name => $source,
        default        => sub {
-         $collection->new(_source_resultset => $_[0]->$dm_name->resultset($source));
+         $collection->new
+           (
+            _source_resultset => $_[0]->$dm_name->resultset($source),
+            _parent           => $_[0],
+           );
        },
       );