fix for stats runner (i think)

This commit is contained in:
Kyle Drake 2015-01-09 23:23:50 -08:00
parent f296b86752
commit 126ad0c494

View file

@ -23,7 +23,7 @@ get '/stats/?' do
now = Date.today now = Date.today
until runner.to_time > now.next_month.to_time while runner.to_time < now.to_time
monthly_stats.push( monthly_stats.push(
date: runner, date: runner,
sites_created: Site.where(created_at: runner..runner.next_month).count, sites_created: Site.where(created_at: runner..runner.next_month).count,