[Bast-commits] r9183 -
ironman/branches/mk-ii/Perlanet-IronMan/lib/Perlanet
idn at dev.catalyst.perl.org
idn at dev.catalyst.perl.org
Thu Apr 15 15:43:19 GMT 2010
Author: idn
Date: 2010-04-15 16:43:19 +0100 (Thu, 15 Apr 2010)
New Revision: 9183
Modified:
ironman/branches/mk-ii/Perlanet-IronMan/lib/Perlanet/IronMan.pm
Log:
Changing populate to create
Modified: ironman/branches/mk-ii/Perlanet-IronMan/lib/Perlanet/IronMan.pm
===================================================================
--- ironman/branches/mk-ii/Perlanet-IronMan/lib/Perlanet/IronMan.pm 2010-04-15 15:04:38 UTC (rev 9182)
+++ ironman/branches/mk-ii/Perlanet-IronMan/lib/Perlanet/IronMan.pm 2010-04-15 15:43:19 UTC (rev 9183)
@@ -157,7 +157,7 @@
try {
# Do that whole insert thing...
- $self->schema->resultset('Post')->populate( [ {
+ $self->schema->resultset('Post')->create( {
feed_id => $post->feed->id,
author => $post->_entry->author,
tags => join(",", @tags),
@@ -168,7 +168,7 @@
summary_filtered => $self->clean($summary),
body => $post->_entry->content->body,
body_filtered => $self->clean($post->_entry->content->body),
- } ] );
+ } );
}
catch {
More information about the Bast-commits
mailing list