From cd7a5e08660281722c4d0d118e1250b03548934a Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Fri, 1 Mar 2013 16:12:00 -0500 Subject: [PATCH] Delete redundant casting in tag cloud --- app/models/stats/tag_cloud.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/stats/tag_cloud.rb b/app/models/stats/tag_cloud.rb index c49048c4..ef03c8fc 100644 --- a/app/models/stats/tag_cloud.rb +++ b/app/models/stats/tag_cloud.rb @@ -32,7 +32,7 @@ module Stats end def counts - @counts ||= tags.map {|t| t.count.to_i} + @counts ||= tags.map {|t| t.count} end end end