From 126ad0c494db04cd4d3339d3d40fbc4de8e7efb0 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 9 Jan 2015 23:23:50 -0800 Subject: [PATCH] fix for stats runner (i think) --- app/stats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/stats.rb b/app/stats.rb index 47a858a4..487563af 100644 --- a/app/stats.rb +++ b/app/stats.rb @@ -23,7 +23,7 @@ get '/stats/?' do now = Date.today - until runner.to_time > now.next_month.to_time + while runner.to_time < now.to_time monthly_stats.push( date: runner, sites_created: Site.where(created_at: runner..runner.next_month).count,