projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge 'trunk' into 'multicreate_fixes'
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Row.pm
diff --git
a/lib/DBIx/Class/Row.pm
b/lib/DBIx/Class/Row.pm
index
805c50b
..
a6f5f77
100644
(file)
--- a/
lib/DBIx/Class/Row.pm
+++ b/
lib/DBIx/Class/Row.pm
@@
-377,7
+377,7
@@
sub insert {
my $re = $self->result_source
->related_source($relname)
->resultset
- ->find_or_create($them);
+ ->create($them);
%{$obj} = %{$re};
MULTICREATE_DEBUG and warn "MC $self new $relname $obj";
}