From: Hans F. <fu...@us...> - 2004-06-29 14:24:16
|
Update of /cvsroot/neelix/neelix/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29132/model Modified Files: model.rb Log Message: Delete now works, if you're running an up-to-date cvs tree of qtruby. The trick is the i.dispose call. If you have an older qtruby, it will do the delete in the db before crashing. Index: model.rb =================================================================== RCS file: /cvsroot/neelix/neelix/model/model.rb,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- model.rb 25 Jun 2004 04:27:18 -0000 1.12 +++ model.rb 29 Jun 2004 14:24:06 -0000 1.13 @@ -451,7 +451,6 @@ # remove any no longer used from the DB (old_cookbooks - @cookbooks).each do |cookbook| - puts cookbook @dbh.do("delete from cookbook where cookbook_id=?",cookbook.id) end end |