Fixed: RS example code was broken
Matt Phillips [Thu, 17 Mar 2011 01:00:44 +0000 (21:00 -0400)]
lib/DBIx/Class/ResultSet.pm

index 77ff966..8f894a0 100644 (file)
@@ -94,7 +94,7 @@ another.
       year => $request->param('year'),
     });
 
-    $self->apply_security_policy( $cd_rs );
+    $cd_rs = $self->apply_security_policy( $cd_rs );
 
     return $cd_rs->all();
   }