projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4b12b3c
)
small tweak to ResultSetManager (still doesn't work perfectly)
David Kamholz [Tue, 7 Feb 2006 19:16:39 +0000 (19:16 +0000)]
lib/DBIx/Class/ResultSetManager.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSetManager.pm
b/lib/DBIx/Class/ResultSetManager.pm
index
c3ab98d
..
5891d7f
100644
(file)
--- a/
lib/DBIx/Class/ResultSetManager.pm
+++ b/
lib/DBIx/Class/ResultSetManager.pm
@@
-31,7
+31,7
@@
sub _register_attributes {
if ($attrs->[0] eq 'ResultSet') {
no strict 'refs';
my $resultset_class = $self->_setup_resultset_class;
- *{"$resultset_class\::$meth"} = *{"$self\::$meth"};
+ *{"$resultset_class\::$meth"} = $self->can($meth);
undef *{"$self\::$meth"};
}
}