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 !
fix small error in last commit
lrbalt (author)
Thu Jan 08 01:39:14 -0800 2009
commit  cebaf05a7fd751b3884bc506eddcad02ec626d49
tree    611394728cdb1a7c05b66481d3abdc3a0bc9da73
parent  974381c3b4a375c6aeb9569a7ceeb7a2fa4a7d71
...
8
9
10
11
 
12
13
14
...
662
663
664
665
 
666
667
668
...
8
9
10
 
11
12
13
14
...
662
663
664
 
665
666
667
668
0
@@ -8,7 +8,7 @@ class StatsController < ApplicationController
0
     @page_title = 'TRACKS::Statistics'
0
 
0
     @tags_count = get_total_number_of_tags_of_user
0
-    @unique_tags_count = get_unique_tags_of_user.count
0
+    @unique_tags_count = get_unique_tags_of_user.size
0
     @hidden_contexts = @contexts.hidden
0
     @first_action = @actions.find(:first, :order => "created_at ASC")
0
     
0
@@ -662,7 +662,7 @@ class StatsController < ApplicationController
0
           "FROM tags, taggings, todos "+
0
           "WHERE todos.user_id=? "+
0
           "AND tags.id = taggings.tag_id " +
0
-          "AND taggings.taggable_id = todos.id ", current_user.id]).count
0
+          "AND taggings.taggable_id = todos.id ", current_user.id]).size
0
   end
0
 
0
   def init

Comments