search for: update_all_syndications

Displaying 1 result from an estimated 1 matches for "update_all_syndications".

2007 Jun 19
0
recycled objects and gc problem
...my models. I do this to help ease testing of these methods. Is my woker causing the recycled object errors? class GrabFeedWorker < BackgrounDRb::Worker::RailsBase require ''net/http'' require ''simple-rss'' def do_work(args) Space.find(args[:space]).update_all_syndications if args[:space] Feed.find(args[:feed]).update_feed if args[:feed] self.delete end end GrabFeedWorker.register -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070619/7722678a/attachment.html