| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Catalyst
Revision: 8357
Author: karpet
Date: 05 Sep 2008 00:51:16
Changes:add some debugging
Files:| ... | ...@@ -247,7 +247,7 @@ | |
| 247 | 247 | |
| 248 | 248 | $query->{OPTS} = \%opts; |
| 249 | 249 | |
| 250 | #carp "query: " . dump $query; | |
| 250 | $c->log->debug( "query: " . dump $query ) if $c->debug; | |
| 251 | 251 | |
| 252 | 252 | return $query; |
| 253 | 253 | } |
| ... | ...@@ -494,6 +494,7 @@ | |
| 494 | 494 | |
| 495 | 495 | sub read { |
| 496 | 496 | my ( $self, $c, $object ) = @_; |
| 497 | ||
| 497 | 498 | #$object->find; # TODO is this right? what about discard_changes()? |
| 498 | 499 | $c->log->error("TODO $object does not implement find() method"); |
| 499 | 500 | return $object; |