public
Description: Tracks is a GTD(TM) web application, built with Ruby on Rails
Homepage: http://www.rousette.org.uk/projects/
Clone URL: git://github.com/bsag/tracks.git
Click here to lend your support to: tracks and make a donation at www.pledgie.com !
missed one taggings.user_id
lrbalt (author)
Thu Jan 08 05:25:06 -0800 2009
commit  6017c5d2eda54139728954aa182daf1d73de66ee
tree    bbb51c6798ffcb6d4be9b3595e0efd8c9f275436
parent  037c04e72f42b2d3476f0b2db6584fc4683be930
...
647
648
649
650
 
651
652
653
...
647
648
649
 
650
651
652
653
0
@@ -647,7 +647,7 @@ class TodosController < ApplicationController
0
           @tag = Tag.new(:name => @tag_name)
0
         end
0
         tag_collection = @tag.todos
0
-        @not_done_todos = tag_collection.find(:all, :conditions => ['taggings.user_id = ? and state = ?', current_user.id, 'active'])
0
+        @not_done_todos = tag_collection.find(:all, :conditions => ['todos.user_id = ? and state = ?', current_user.id, 'active'])
0
         @not_done_todos.empty? ? @down_count = 0 : @down_count = @not_done_todos.size
0
       end
0
     end

Comments