all specs running, specs for edge cases and general tuning still missing - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 665c878539977e568679b133bd5e980492f356ce
(DIR) parent 55acffd59a85005a13ffb3dc1c0049a83eb16dfa
(HTM) Author: marcoow <marco.otte-witte@simplabs.com>
Date: Thu, 4 Dec 2008 04:24:03 +0800
all specs running, specs for edge cases and general tuning still missing
Signed-off-by: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Diffstat:
M lib/kvlr/reports_as_sparkline/repo… | 48 +++++++++++++++----------------
M spec/db/reports_as_sparkline.sqlit… | 0
M spec/db/schema.rb | 2 +-
M spec/log/spec.log | 2332 +++++++++++++++++++++++++++++++
M spec/other/report_cache_spec.rb | 4 ++--
M spec/other/report_spec.rb | 2 +-
6 files changed, 2359 insertions(+), 29 deletions(-)
---
(DIR) diff --git a/lib/kvlr/reports_as_sparkline/report_cache.rb b/lib/kvlr/reports_as_sparkline/report_cache.rb
@@ -15,8 +15,7 @@ module Kvlr #:nodoc:
)
last_reporting_period_to_read = get_last_reporting_period(cached_data, grouping, grouping.first_reporting_period(limit))
new_data = yield(last_reporting_period_to_read)
- write_to_cache(new_data, report, grouping)
- return cached_data + new_data
+ return update_cache(new_data, cached_data, report, grouping)
end
end
@@ -24,33 +23,32 @@ module Kvlr #:nodoc:
def self.get_last_reporting_period(cached_data, grouping, acc)
return acc if cached_data.empty?
- if cached_data.any? { |cache| cache.reporting_period == acc } && !cached_data.any? { |cache| cache.reporting_period == grouping.next_reporting_period(acc) }
- return acc
- else
- self.get_last_reporting_period(cached_data, grouping, grouping.next_reporting_period(acc))
+ period = grouping.to_reporting_period(DateTime.parse(cached_data[0].reporting_period))
+ cached_data[1..-2].each_with_index do |cached, i|
+ if grouping.next_reporting_period(grouping.to_reporting_period(DateTime.parse(cached.reporting_period))) != grouping.to_reporting_period(DateTime.parse(cached_data[i + 1].reporting_period))
+ return cached
+ end
end
+ return grouping.to_reporting_period(DateTime.parse(cached_data[-1].reporting_period))
end
- def self.write_to_cache(data, report, grouping)
- for row in data
- cached = self.find(:first, :conditions => {
- :model_name => report.klass.to_s,
- :report_name => report.name.to_s,
- :report_grouping => grouping.identifier.to_s,
- :reporting_period => grouping.to_reporting_period(DateTime.parse(row[0]))
- })
- if cached
- cached.update_attributes!(:value => row[1])
- else
- self.create!(
- :model_name => report.klass.to_s,
- :report_name => report.name.to_s,
- :report_grouping => grouping.identifier.to_s,
- :reporting_period => grouping.to_reporting_period(DateTime.parse(row[0])),
- :value => row[1]
- )
- end
+ def self.update_cache(new_data, cached_data, report, grouping)
+ rows_to_write = (0..-1)
+ if cached_data.size > 0 && new_data.size > 0
+ cached_data.last.update_attributes!(:value => new_data.first[1])
+ rows_to_write = (1..-1)
+ end
+ for row in (new_data[rows_to_write] || [])
+ self.create!(
+ :model_name => report.klass.to_s,
+ :report_name => report.name.to_s,
+ :report_grouping => grouping.identifier.to_s,
+ :reporting_period => grouping.to_reporting_period(DateTime.parse(row[0])),
+ :value => row[1]
+ )
end
+ result = cached_data.map { |cached| [Datetime.parse(cached.reporting_period), cached.value] }
+ result += new_data.map { |data| [DateTime.parse(data[0]), data[1]] }
end
end
(DIR) diff --git a/spec/db/reports_as_sparkline.sqlite3.db b/spec/db/reports_as_sparkline.sqlite3.db
Binary files differ.
(DIR) diff --git a/spec/db/schema.rb b/spec/db/schema.rb
@@ -12,7 +12,7 @@ ActiveRecord::Schema.define(:version => 1) do
t.string :report_name, :null => false
t.string :report_grouping, :null => false
t.float :value, :null => false, :default => 0
- t.datetime :reporting_period, :null => false
+ t.string :reporting_period, :null => false
t.timestamps
end
(DIR) diff --git a/spec/log/spec.log b/spec/log/spec.log
@@ -36851,3 +36851,2335 @@
[4;36;1mUser Create (0.000489)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:48', 'test 2', '2008-11-19 19:31:48')[0m
[4;35;1mUser Create (0.000475)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:48', 'test 3', '2008-11-19 19:31:48')[0m
[4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.001360)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.000199)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.000513)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.013186)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (0.035613)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.000529)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (0.002780)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (0.002920)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" datetime NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (0.002897)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (0.002635)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.000529)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.000241)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000618)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.000777)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000461)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.000871)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.000378)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:16', 'test 1', '2008-11-26 19:47:16')[0m
+ [4;36;1mUser Create (0.000470)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:16', 'test 2', '2008-11-19 19:47:16')[0m
+ [4;35;1mUser Create (0.000537)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:16', 'test 3', '2008-11-19 19:47:16')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000991)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (0.001497)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000176)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.000383)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:47:16', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 19:47:16')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000211)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.000128)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:47:16', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 19:47:16')[0m
+ [4;36;1mUser Load (0.000834)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.000345)[0m [0m DELETE FROM "users"
+ WHERE "id" = 1
+[0m
+ [4;36;1mUser Destroy (0.000527)[0m [0;1m DELETE FROM "users"
+ WHERE "id" = 2
+[0m
+ [4;35;1mUser Destroy (0.000632)[0m [0m DELETE FROM "users"
+ WHERE "id" = 3
+[0m
+ [4;36;1mUser Create (0.000485)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:16', 'test 1', '2008-11-26 19:47:16')[0m
+ [4;35;1mUser Create (0.000442)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:16', 'test 2', '2008-11-19 19:47:16')[0m
+ [4;36;1mUser Create (0.000485)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:16', 'test 3', '2008-11-19 19:47:16')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.001271)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.000442)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.000319)[0m [0m DELETE FROM "users"
+ WHERE "id" = 4
+[0m
+ [4;36;1mUser Destroy (0.000578)[0m [0;1m DELETE FROM "users"
+ WHERE "id" = 5
+[0m
+ [4;35;1mUser Destroy (0.000640)[0m [0m DELETE FROM "users"
+ WHERE "id" = 6
+[0m
+ [4;36;1mUser Create (0.000526)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:19', 'test 1', '2008-11-26 19:47:19')[0m
+ [4;35;1mUser Create (0.000503)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:19', 'test 2', '2008-11-19 19:47:19')[0m
+ [4;36;1mUser Create (0.000524)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:19', 'test 3', '2008-11-19 19:47:19')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.001396)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.000431)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.000315)[0m [0m DELETE FROM "users"
+ WHERE "id" = 7
+[0m
+ [4;36;1mUser Destroy (0.000475)[0m [0;1m DELETE FROM "users"
+ WHERE "id" = 8
+[0m
+ [4;35;1mUser Destroy (0.000470)[0m [0m DELETE FROM "users"
+ WHERE "id" = 9
+[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000908)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000487)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.000556)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:21', 'test 1', '2008-11-26 19:47:21')[0m
+ [4;35;1mUser Create (0.000452)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:21', 'test 2', '2008-11-19 19:47:21')[0m
+ [4;36;1mUser Create (0.000429)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:21', 'test 3', '2008-11-19 19:47:21')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000893)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (0.001108)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.000447)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:21', 'test 1', '2008-11-26 19:47:21')[0m
+ [4;36;1mUser Create (0.000551)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:21', 'test 2', '2008-11-19 19:47:21')[0m
+ [4;35;1mUser Create (0.000625)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:21', 'test 3', '2008-11-19 19:47:21')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.001671)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (0.000000)[0m [0mInterrupt: : SELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.000363)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:21', 'test 1', '2008-11-26 19:47:21')[0m
+ [4;35;1mUser Create (0.000389)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:21', 'test 2', '2008-11-19 19:47:21')[0m
+ [4;36;1mUser Create (0.000452)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:21', 'test 3', '2008-11-19 19:47:21')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.001044)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.001398)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000179)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.000609)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:47:21', 'registrations', 'User', 3.0, 'day', '2008-11-26', '2008-12-03 19:47:21')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.000222)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.000161)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:47:21', 'registrations', 'User', 15.0, 'day', '2008-11-19', '2008-12-03 19:47:21')[0m
+ [4;35;1mUser Create (0.000660)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:47:21', 'test 1', '2008-11-26 19:47:21')[0m
+ [4;36;1mUser Create (0.000505)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:47:21', 'test 2', '2008-11-19 19:47:21')[0m
+ [4;35;1mUser Create (0.000592)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:47:21', 'test 3', '2008-11-19 19:47:21')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.001338)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.9ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.6ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" datetime NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.5ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:50:06', 'test 1', '2008-11-26 19:50:06')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:50:06', 'test 2', '2008-11-19 19:50:06')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:50:06', 'test 3', '2008-11-19 19:50:06')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.3ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (1.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:50:06', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 19:50:06')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:50:06', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 19:50:06')[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:50:06', 'test 1', '2008-11-26 19:50:06')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:50:06', 'test 2', '2008-11-19 19:50:06')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:50:06', 'test 3', '2008-11-19 19:50:06')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (1.1ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:50:09', 'test 1', '2008-11-26 19:50:09')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:50:09', 'test 2', '2008-11-19 19:50:09')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:50:09', 'test 3', '2008-11-19 19:50:09')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.3ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" datetime NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.5ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" datetime NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.8ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'cumulated_registrations', 'User', 1.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.0ms)[0m [0mSQLite3::SQLException: columns model_name, report_name, report_grouping, reporting_period are not unique: INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'cumulated_registrations', 'User', 2.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mUser Load (1.0ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'cumulated_registrations', 'User', 1.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.0ms)[0m [0;1mSQLite3::SQLException: columns model_name, report_name, report_grouping, reporting_period are not unique: INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'cumulated_registrations', 'User', 5.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;35;1mUser Load (0.6ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'cumulated_registrations', 'User', 1.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.0ms)[0m [0mSQLite3::SQLException: columns model_name, report_name, report_grouping, reporting_period are not unique: INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'cumulated_registrations', 'User', 1.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mUser Load (0.9ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'registrations', 'User', 2.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.0ms)[0m [0mSQLite3::SQLException: columns model_name, report_name, report_grouping, reporting_period are not unique: INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'registrations', 'User', 4.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'registrations', 'User', 3.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.0ms)[0m [0;1mSQLite3::SQLException: columns model_name, report_name, report_grouping, reporting_period are not unique: INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'registrations', 'User', 15.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:23', 'test 1', '2008-11-26 19:52:23')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:23', 'test 2', '2008-11-19 19:52:23')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:23', 'test 3', '2008-11-19 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'registrations', 'User', 4.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.0ms)[0m [0mSQLite3::SQLException: columns model_name, report_name, report_grouping, reporting_period are not unique: INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:23', 'registrations', 'User', 4.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (107.0ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (42.3ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.8ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" datetime NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:52', 'test 1', '2008-11-26 19:52:52')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:52', 'test 2', '2008-11-19 19:52:52')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:52', 'test 3', '2008-11-19 19:52:52')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:52', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26 00:00:00', '2008-12-03 19:52:52')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:52:52', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19 00:00:00', '2008-12-03 19:52:52')[0m
+ [4;36;1mUser Load (0.9ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:52', 'test 1', '2008-11-26 19:52:52')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:52', 'test 2', '2008-11-19 19:52:52')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:52', 'test 3', '2008-11-19 19:52:52')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:52:55', 'test 1', '2008-11-26 19:52:55')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:52:55', 'test 2', '2008-11-19 19:52:55')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:52:55', 'test 3', '2008-11-19 19:52:55')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.6ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" datetime NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.4ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.6ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:32', 'test 1', '2008-11-26 19:53:32')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:32', 'test 2', '2008-11-19 19:53:32')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:32', 'test 3', '2008-11-19 19:53:32')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.0ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:53:32', 'cumulated_registrations', 'User', 1.0, 'day', '2084-09-16 19:53:32', '2008-12-03 19:53:32')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:53:32', 'cumulated_registrations', 'User', 2.0, 'day', '2209-04-24 19:53:32', '2008-12-03 19:53:32')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:32', 'test 1', '2008-11-26 19:53:32')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:32', 'test 2', '2008-11-19 19:53:32')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:32', 'test 3', '2008-11-19 19:53:32')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:33', 'test 1', '2008-11-26 19:53:33')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:33', 'test 2', '2008-11-19 19:53:33')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:33', 'test 3', '2008-11-19 19:53:33')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:34', 'test 1', '2008-11-26 19:53:34')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:34', 'test 2', '2008-11-19 19:53:34')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:34', 'test 3', '2008-11-19 19:53:34')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:34', 'test 1', '2008-11-26 19:53:34')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:34', 'test 2', '2008-11-19 19:53:34')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:34', 'test 3', '2008-11-19 19:53:34')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.2ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:53:34', 'registrations', 'User', 2.0, 'day', '2034-12-07 19:53:34', '2008-12-03 19:53:34')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:53:34', 'registrations', 'User', 4.0, 'day', '2083-09-14 19:53:34', '2008-12-03 19:53:34')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:34', 'test 1', '2008-11-26 19:53:34')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:34', 'test 2', '2008-11-19 19:53:34')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:34', 'test 3', '2008-11-19 19:53:34')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:53:36', 'test 1', '2008-11-26 19:53:36')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:53:36', 'test 2', '2008-11-19 19:53:36')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:53:36', 'test 3', '2008-11-19 19:53:36')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (73.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.6ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.8ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.6ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.2ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:34', 'test 1', '2008-11-26 19:54:34')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:34', 'test 2', '2008-11-19 19:54:34')[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:35', 'test 3', '2008-11-19 19:54:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:54:35', 'cumulated_registrations', 'User', 1.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:54:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:54:35', 'cumulated_registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:54:35')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:35', 'test 1', '2008-11-26 19:54:35')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:35', 'test 2', '2008-11-19 19:54:35')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:35', 'test 3', '2008-11-19 19:54:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:35', 'test 1', '2008-11-26 19:54:35')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:35', 'test 2', '2008-11-19 19:54:35')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:35', 'test 3', '2008-11-19 19:54:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.2ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:35', 'test 1', '2008-11-26 19:54:35')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:35', 'test 2', '2008-11-19 19:54:35')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:35', 'test 3', '2008-11-19 19:54:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:35', 'test 1', '2008-11-26 19:54:35')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:35', 'test 2', '2008-11-19 19:54:35')[0m
+ [4;35;1mUser Create (0.2ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:35', 'test 3', '2008-11-19 19:54:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:54:36', 'registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:54:36')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:54:36', 'registrations', 'User', 4.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:54:36')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:36', 'test 1', '2008-11-26 19:54:36')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:36', 'test 2', '2008-11-19 19:54:36')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:36', 'test 3', '2008-11-19 19:54:36')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:54:36', 'test 1', '2008-11-26 19:54:36')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:54:36', 'test 2', '2008-11-19 19:54:36')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:54:36', 'test 3', '2008-11-19 19:54:36')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (144.7ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (107.8ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (37.9ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.6ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.4ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.7ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:56:41', 'test 1', '2008-11-26 19:56:41')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:56:41', 'test 2', '2008-11-19 19:56:41')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:56:41', 'test 3', '2008-11-19 19:56:41')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.2ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:56:41', 'test 1', '2008-11-26 19:56:41')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:56:41', 'test 2', '2008-11-19 19:56:41')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:56:41', 'test 3', '2008-11-19 19:56:41')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:56:41', 'registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:56:41')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:56:41', 'registrations', 'User', 4.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:56:41')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:56:41', 'test 1', '2008-11-26 19:56:41')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:56:41', 'test 2', '2008-11-19 19:56:41')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:56:41', 'test 3', '2008-11-19 19:56:41')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:56:42', 'test 1', '2008-11-26 19:56:42')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:56:42', 'test 2', '2008-11-19 19:56:42')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:56:42', 'test 3', '2008-11-19 19:56:42')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (165.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (71.4ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (45.3ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.9ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:57:02', 'test 1', '2008-11-26 19:57:02')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:57:02', 'test 2', '2008-11-19 19:57:02')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:57:02', 'test 3', '2008-11-19 19:57:02')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:57:02', 'test 1', '2008-11-26 19:57:02')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:57:02', 'test 2', '2008-11-19 19:57:02')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:57:02', 'test 3', '2008-11-19 19:57:02')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.6ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:57:02', 'registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:57:02')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:57:02', 'registrations', 'User', 4.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:57:02')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:57:02', 'test 1', '2008-11-26 19:57:02')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:57:02', 'test 2', '2008-11-19 19:57:02')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:57:02', 'test 3', '2008-11-19 19:57:02')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:57:03', 'test 1', '2008-11-26 19:57:03')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:57:03', 'test 2', '2008-11-19 19:57:03')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:57:03', 'test 3', '2008-11-19 19:57:03')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (4.6ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.5ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (2.8ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:58:24', 'test 1', '2008-11-26 19:58:24')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:58:24', 'test 2', '2008-11-19 19:58:24')[0m
+ [4;35;1mUser Create (1.0ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:58:24', 'test 3', '2008-11-19 19:58:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:58:24', 'test 1', '2008-11-26 19:58:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:58:24', 'test 2', '2008-11-19 19:58:24')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:58:24', 'test 3', '2008-11-19 19:58:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.7ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:58:24', 'registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:58:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:58:24', 'registrations', 'User', 4.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 19:58:24')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:58:24', 'test 1', '2008-11-26 19:58:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:58:24', 'test 2', '2008-11-19 19:58:24')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:58:24', 'test 3', '2008-11-19 19:58:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (2.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:58:27', 'test 1', '2008-11-26 19:58:27')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:58:27', 'test 2', '2008-11-19 19:58:27')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:58:27', 'test 3', '2008-11-19 19:58:27')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (57.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (53.8ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.0ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.5ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.8ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.9ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.6ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.8ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.3ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.0ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (4.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.6ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.7ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (143.0ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (193.7ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (60.4ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (53.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:09:28', 'cumulated_registrations', 'User', 1.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:09:28')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:09:28', 'cumulated_registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:09:28')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:09:28', 'registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:09:28')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:09:28', 'registrations', 'User', 4.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:09:28')[0m
+ [4;36;1mUser Create (0.8ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:09:28', 'test 1', '2008-11-26 20:09:28')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:09:28', 'test 2', '2008-11-19 20:09:28')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:09:28', 'test 3', '2008-11-19 20:09:28')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (89.5ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (33.5ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.9ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:43:35', 'cumulated_registrations', 'User', 1.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:43:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:43:35', 'cumulated_registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:43:35')[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.2ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;36;1mUser Create (0.7ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.0ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.6ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:43:35', 'registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:43:35')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:43:35', 'registrations', 'User', 4.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:43:35')[0m
+ [4;36;1mUser Create (0.7ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:43:35', 'test 1', '2008-11-26 20:43:35')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:43:35', 'test 2', '2008-11-19 20:43:35')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:43:35', 'test 3', '2008-11-19 20:43:35')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.8ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.8ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.4ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (4.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.8ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:44:02', 'test 1', '2008-11-26 20:44:02')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:44:02', 'test 2', '2008-11-19 20:44:02')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:44:02', 'test 3', '2008-11-19 20:44:02')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:44:02', 'cumulated_registrations', 'User', 1.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:44:02')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:44:02', 'cumulated_registrations', 'User', 2.0, 'day', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', '2008-12-03 20:44:02')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:44:02', 'test 1', '2008-11-26 20:44:02')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:44:02', 'test 2', '2008-11-19 20:44:02')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:44:02', 'test 3', '2008-11-19 20:44:02')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.8ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:44:02', 'test 1', '2008-11-26 20:44:02')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:44:02', 'test 2', '2008-11-19 20:44:02')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:44:02', 'test 3', '2008-11-19 20:44:02')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.2ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (99.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (41.6ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.8ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (4.0ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.4ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:44:17', 'test 1', '2008-11-26 20:44:17')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:44:17', 'test 2', '2008-11-19 20:44:17')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:44:17', 'test 3', '2008-11-19 20:44:17')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.7ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:44:17', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:44:17')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:44:17', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:44:17')[0m
+ [4;36;1mUser Load (1.0ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.8ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:44:17', 'test 1', '2008-11-26 20:44:17')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:44:17', 'test 2', '2008-11-19 20:44:17')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:44:17', 'test 3', '2008-11-19 20:44:17')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.3ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.2ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:44:17', 'test 1', '2008-11-26 20:44:17')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:44:17', 'test 2', '2008-11-19 20:44:17')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:44:17', 'test 3', '2008-11-19 20:44:17')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (2.1ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (121.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (96.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (39.6ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.8ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.6ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:02', 'test 1', '2008-11-26 20:49:02')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:02', 'test 2', '2008-11-19 20:49:02')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:02', 'test 3', '2008-11-19 20:49:02')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:49:02', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:49:02')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:49:03', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:49:03')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:03', 'test 1', '2008-11-26 20:49:03')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:03', 'test 2', '2008-11-19 20:49:03')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:03', 'test 3', '2008-11-19 20:49:03')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:03', 'test 1', '2008-11-26 20:49:03')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:03', 'test 2', '2008-11-19 20:49:03')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:03', 'test 3', '2008-11-19 20:49:03')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') LIMIT 1[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:03', 'test 1', '2008-11-26 20:49:03')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:03', 'test 2', '2008-11-19 20:49:03')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:03', 'test 3', '2008-11-19 20:49:03')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:03', 'test 1', '2008-11-26 20:49:03')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:03', 'test 2', '2008-11-19 20:49:03')[0m
+ [4;35;1mUser Create (0.8ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:03', 'test 3', '2008-11-19 20:49:03')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:49:03', 'registrations', 'User', 2.0, 'day', '2008-11-26', '2008-12-03 20:49:03')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:49:03', 'registrations', 'User', 4.0, 'day', '2008-11-19', '2008-12-03 20:49:03')[0m
+ [4;36;1mUser Create (0.8ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:03', 'test 1', '2008-11-26 20:49:03')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:03', 'test 2', '2008-11-19 20:49:03')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:03', 'test 3', '2008-11-19 20:49:03')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Update (0.7ms)[0m [0;1mUPDATE "report_caches" SET "value" = 3.0, "updated_at" = '2008-12-03 20:49:03' WHERE "id" = 3[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:03', 'test 1', '2008-11-26 20:49:03')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:03', 'test 2', '2008-11-19 20:49:03')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:03', 'test 3', '2008-11-19 20:49:03')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.3ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Update (0.6ms)[0m [0mUPDATE "report_caches" SET "value" = 4.0, "updated_at" = '2008-12-03 20:49:03' WHERE "id" = 3[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (4.5ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.3ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:53', 'test 1', '2008-11-26 20:49:53')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:53', 'test 2', '2008-11-19 20:49:53')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:53', 'test 3', '2008-11-19 20:49:53')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:49:53', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:49:53')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:49:53', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:49:53')[0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:53', 'test 1', '2008-11-26 20:49:53')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:53', 'test 2', '2008-11-19 20:49:53')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:53', 'test 3', '2008-11-19 20:49:53')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.8ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:49:53', 'test 1', '2008-11-26 20:49:53')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:49:53', 'test 2', '2008-11-19 20:49:53')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:49:53', 'test 3', '2008-11-19 20:49:53')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.6ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.6ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.3ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (4.5ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:51:07', 'test 1', '2008-11-26 20:51:07')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:51:07', 'test 2', '2008-11-19 20:51:07')[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:51:07', 'test 3', '2008-11-19 20:51:07')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:51:07', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:51:07')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:51:07', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:51:07')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:51:07', 'test 1', '2008-11-26 20:51:07')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:51:07', 'test 2', '2008-11-19 20:51:07')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:51:07', 'test 3', '2008-11-19 20:51:07')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:51:07', 'test 1', '2008-11-26 20:51:07')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:51:07', 'test 2', '2008-11-19 20:51:07')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:51:07', 'test 3', '2008-11-19 20:51:07')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (2.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.2ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (150.4ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (194.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (92.0ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (54.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.5ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (2.3ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.6ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:51:36', 'test 1', '2008-11-26 20:51:36')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:51:36', 'test 2', '2008-11-19 20:51:36')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:51:36', 'test 3', '2008-11-19 20:51:36')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:51:36', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:51:36')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:51:36', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:51:36')[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.2ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.8ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:51:36', 'test 1', '2008-11-26 20:51:36')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:51:36', 'test 2', '2008-11-19 20:51:36')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:51:36', 'test 3', '2008-11-19 20:51:36')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:51:36', 'test 1', '2008-11-26 20:51:36')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:51:36', 'test 2', '2008-11-19 20:51:36')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:51:36', 'test 3', '2008-11-19 20:51:36')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.9ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (155.7ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (209.8ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (60.8ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (57.6ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:52:41', 'test 1', '2008-11-26 20:52:41')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:52:41', 'test 2', '2008-11-19 20:52:41')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:52:41', 'test 3', '2008-11-19 20:52:41')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.4ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:52:41', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:52:41')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:52:41', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:52:41')[0m
+ [4;36;1mUser Load (1.0ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:52:41', 'test 1', '2008-11-26 20:52:41')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:52:41', 'test 2', '2008-11-19 20:52:41')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:52:41', 'test 3', '2008-11-19 20:52:41')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:52:41', 'test 1', '2008-11-26 20:52:41')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:52:41', 'test 2', '2008-11-19 20:52:41')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:52:41', 'test 3', '2008-11-19 20:52:41')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (4.5ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (4.4ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:52:58', 'test 1', '2008-11-26 20:52:58')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:52:58', 'test 2', '2008-11-19 20:52:58')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:52:58', 'test 3', '2008-11-19 20:52:58')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.3ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.7ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:52:58', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:52:58')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.1ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:52:58', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:52:58')[0m
+ [4;36;1mUser Load (0.9ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:52:58', 'test 1', '2008-11-26 20:52:58')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:52:58', 'test 2', '2008-11-19 20:52:58')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:52:58', 'test 3', '2008-11-19 20:52:58')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:52:59', 'test 1', '2008-11-26 20:52:59')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:52:59', 'test 2', '2008-11-19 20:52:59')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:52:59', 'test 3', '2008-11-19 20:52:59')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.3ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-11-26') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.4ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (4.4ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.8ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.5ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.7ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:04', 'test 1', '2008-11-26 20:56:04')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:04', 'test 2', '2008-11-19 20:56:04')[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:04', 'test 3', '2008-11-19 20:56:04')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:56:04', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:56:04')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:56:04', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 20:56:04')[0m
+ [4;36;1mUser Load (0.9ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.8ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:04', 'test 1', '2008-11-26 20:56:04')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:04', 'test 2', '2008-11-19 20:56:04')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:04', 'test 3', '2008-11-19 20:56:04')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.5ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:56:04', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:56:04')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0;1mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:56:04', 'cumulated_registrations', 'User', 5.0, 'day', '2008-11-19', '2008-12-03 20:56:04')[0m
+ [4;35;1mUser Load (0.9ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:04', 'test 1', '2008-11-26 20:56:04')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:04', 'test 2', '2008-11-19 20:56:04')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:04', 'test 3', '2008-11-19 20:56:04')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.6ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:56:04', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 20:56:04')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.2ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') LIMIT 1[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Create (0.2ms)[0m [0mINSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 20:56:04', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-19', '2008-12-03 20:56:04')[0m
+ [4;36;1mUser Load (0.8ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (138.4ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (184.2ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (74.5ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (1.0ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:22', 'test 1', '2008-11-26 20:56:22')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:22', 'test 2', '2008-11-19 20:56:22')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:22', 'test 3', '2008-11-19 20:56:22')[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:22', 'test 1', '2008-11-26 20:56:22')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:22', 'test 2', '2008-11-19 20:56:22')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:22', 'test 3', '2008-11-19 20:56:22')[0m
+ [4;35;1mUser Load (0.6ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:22', 'test 1', '2008-11-26 20:56:22')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:22', 'test 2', '2008-11-19 20:56:22')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:22', 'test 3', '2008-11-19 20:56:22')[0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.9ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.4ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.4ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:34', 'test 1', '2008-11-26 20:56:34')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:34', 'test 2', '2008-11-19 20:56:34')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:34', 'test 3', '2008-11-19 20:56:34')[0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:34', 'test 1', '2008-11-26 20:56:34')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:34', 'test 2', '2008-11-19 20:56:34')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:34', 'test 3', '2008-11-19 20:56:34')[0m
+ [4;35;1mUser Load (0.8ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 20:56:34', 'test 1', '2008-11-26 20:56:34')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 20:56:34', 'test 2', '2008-11-19 20:56:34')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 20:56:34', 'test 3', '2008-11-19 20:56:34')[0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (30.6ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (41.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.0ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.6ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;36;1mUser Create (0.8ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.1ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;36;1mUser Create (0.7ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.6ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:16', 'test 1', '2008-11-26 21:13:16')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:16', 'test 2', '2008-11-19 21:13:16')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:16', 'test 3', '2008-11-19 21:13:16')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (0.3ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (0.3ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.0ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.5ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.8ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.9ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:39', 'test 1', '2008-11-26 21:13:39')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:40', 'test 1', '2008-11-26 21:13:40')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.5ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (1.2ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:40', 'test 1', '2008-11-26 21:13:40')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.1ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:40', 'test 1', '2008-11-26 21:13:40')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:40', 'test 1', '2008-11-26 21:13:40')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:40', 'test 1', '2008-11-26 21:13:40')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:13:40', 'test 1', '2008-11-26 21:13:40')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:13:40', 'test 2', '2008-11-19 21:13:40')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:13:40', 'test 3', '2008-11-19 21:13:40')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.3ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (148.3ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (61.6ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (1.0ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (52.1ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.4ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.9ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:14:47', 'test 1', '2008-11-26 21:14:47')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:14:47', 'test 2', '2008-11-19 21:14:47')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:14:47', 'test 3', '2008-11-19 21:14:47')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.9ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:14:47', 'test 1', '2008-11-26 21:14:47')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:14:47', 'test 2', '2008-11-19 21:14:47')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:14:47', 'test 3', '2008-11-19 21:14:47')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.6ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.7ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:14:47', 'test 1', '2008-11-26 21:14:47')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:14:47', 'test 2', '2008-11-19 21:14:47')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:14:47', 'test 3', '2008-11-19 21:14:47')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.1ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.6ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.4ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.4ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:18', 'test 1', '2008-11-26 21:15:18')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:18', 'test 2', '2008-11-19 21:15:18')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:18', 'test 3', '2008-11-19 21:15:18')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:18', 'test 1', '2008-11-26 21:15:18')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:18', 'test 2', '2008-11-19 21:15:18')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:18', 'test 3', '2008-11-19 21:15:18')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.7ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:18', 'test 1', '2008-11-26 21:15:18')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:18', 'test 2', '2008-11-19 21:15:18')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:18', 'test 3', '2008-11-19 21:15:18')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.4ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.6ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.1ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.8ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.5ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.8ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.7ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.7ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.5ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;36;1mUser Create (2.2ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.6ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:15:24', 'test 1', '2008-11-26 21:15:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:15:24', 'test 2', '2008-11-19 21:15:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:15:24', 'test 3', '2008-11-19 21:15:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.7ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.3ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.3ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.7ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.8ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.4ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.7ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:16:44', 'test 1', '2008-11-26 21:16:44')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:16:44', 'test 2', '2008-11-19 21:16:44')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:16:44', 'test 3', '2008-11-19 21:16:44')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.8ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:16:44', 'test 1', '2008-11-26 21:16:44')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:16:44', 'test 2', '2008-11-19 21:16:44')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:16:44', 'test 3', '2008-11-19 21:16:44')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.6ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (1.4ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:16:44', 'test 1', '2008-11-26 21:16:44')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:16:44', 'test 2', '2008-11-19 21:16:44')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:16:44', 'test 3', '2008-11-19 21:16:44')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations' AND "report_caches"."report_grouping" = 'day') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.1ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.8ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.7ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.3ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.2ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.3ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.7ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (26.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (181.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (203.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (70.6ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (46.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (1.3ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (4.1ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.7ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (4.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.5ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (5.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.7ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (201.4ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (165.7ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (127.7ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (62.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.4ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.7ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.7ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.9ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.5ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.3ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (2.3ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (2.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.8ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.5ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (1.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.3ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (99.7ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (33.3ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (3.0ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.4ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.9ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (1.0ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.2ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (2.0ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.6ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.2ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.4ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:19', 'test 1', '2008-11-26 21:21:19')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:19', 'test 2', '2008-11-19 21:21:19')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:19', 'test 3', '2008-11-19 21:21:19')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (127.5ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (71.7ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (1.9ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (46.3ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.4ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.7ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (3.7ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.4ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:38', 'test 1', '2008-11-26 21:21:38')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:38', 'test 2', '2008-11-19 21:21:38')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:38', 'test 3', '2008-11-19 21:21:38')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.7ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:38', 'test 1', '2008-11-26 21:21:38')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:38', 'test 2', '2008-11-19 21:21:38')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:38', 'test 3', '2008-11-19 21:21:38')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.6ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:38', 'test 1', '2008-11-26 21:21:38')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:38', 'test 2', '2008-11-19 21:21:38')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:38', 'test 3', '2008-11-19 21:21:38')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:38', 'test 1', '2008-11-26 21:21:38')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:38', 'test 2', '2008-11-19 21:21:38')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:38', 'test 3', '2008-11-19 21:21:38')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.9ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (158.9ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (155.2ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (149.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (40.6ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.3ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (4.4ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:51', 'test 1', '2008-11-26 21:21:51')[0m
+ [4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:51', 'test 2', '2008-11-19 21:21:51')[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:51', 'test 3', '2008-11-19 21:21:51')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.8ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:51', 'test 1', '2008-11-26 21:21:51')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:51', 'test 2', '2008-11-19 21:21:51')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:51', 'test 3', '2008-11-19 21:21:51')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:51', 'test 1', '2008-11-26 21:21:51')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:51', 'test 2', '2008-11-19 21:21:51')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:51', 'test 3', '2008-11-19 21:21:51')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.5ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:21:51', 'test 1', '2008-11-26 21:21:51')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:21:51', 'test 2', '2008-11-19 21:21:51')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:21:51', 'test 3', '2008-11-19 21:21:51')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.8ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.6ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (4.3ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.7ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.8ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (4.0ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.3ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:06', 'test 1', '2008-11-26 21:22:06')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:06', 'test 2', '2008-11-19 21:22:06')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:06', 'test 3', '2008-11-19 21:22:06')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.2ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:06', 'test 1', '2008-11-26 21:22:06')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:06', 'test 2', '2008-11-19 21:22:06')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:06', 'test 3', '2008-11-19 21:22:06')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:06', 'test 1', '2008-11-26 21:22:06')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:06', 'test 2', '2008-11-19 21:22:06')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:06', 'test 3', '2008-11-19 21:22:06')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.7ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:06', 'test 1', '2008-11-26 21:22:06')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:06', 'test 2', '2008-11-19 21:22:06')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:06', 'test 3', '2008-11-19 21:22:06')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.3ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (4.2ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.2ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (3.0ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.8ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:49', 'test 1', '2008-11-26 21:22:49')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:49', 'test 2', '2008-11-19 21:22:49')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:49', 'test 3', '2008-11-19 21:22:49')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (1.0ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:49', 'test 1', '2008-11-26 21:22:49')[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:49', 'test 2', '2008-11-19 21:22:49')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:49', 'test 3', '2008-11-19 21:22:49')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.5ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:49', 'test 1', '2008-11-26 21:22:49')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:49', 'test 2', '2008-11-19 21:22:49')[0m
+ [4;35;1mUser Create (0.7ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:49', 'test 3', '2008-11-19 21:22:49')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.1ms)[0m [0mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:22:50', 'test 1', '2008-11-26 21:22:50')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:22:50', 'test 2', '2008-11-19 21:22:50')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:22:50', 'test 3', '2008-11-19 21:22:50')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.7ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
+ [4;35;1mSQL (0.5ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (3.0ms)[0m [0;1mDROP TABLE "users"[0m
+ [4;35;1mSQL (3.1ms)[0m [0mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) NOT NULL, "profile_visits" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;35;1mSQL (2.7ms)[0m [0mDROP TABLE "report_caches"[0m
+ [4;36;1mSQL (3.1ms)[0m [0;1mCREATE TABLE "report_caches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_name" varchar(255) NOT NULL, "report_name" varchar(255) NOT NULL, "report_grouping" varchar(255) NOT NULL, "value" float DEFAULT 0 NOT NULL, "reporting_period" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [4;35;1mSQL (2.9ms)[0m [0mCREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")[0m
+ [4;36;1mSQL (2.8ms)[0m [0;1mCREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")[0m
+ [4;35;1mSQL (0.6ms)[0m [0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT sum("users".id) AS sum_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (0.7ms)[0m [0;1mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.6ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 1[0m
+ [4;36;1mUser Destroy (0.3ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 2[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 3[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.4ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.7ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 4[0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 5[0m
+ [4;36;1mUser Destroy (0.5ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 6[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (1.1ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'cumulated_registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.9ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.5ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 7[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 8[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 9[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.6ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.5ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (0.8ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 3[0m
+ [4;36;1mSQL (1.1ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.5ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 10[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 11[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 12[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;36;1mUser Create (0.4ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.4ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.7ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.5ms)[0m [0mDELETE FROM "users" WHERE "id" = 13[0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 14[0m
+ [4;35;1mUser Destroy (0.3ms)[0m [0mDELETE FROM "users" WHERE "id" = 15[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;35;1mUser Create (0.5ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;36;1mUser Create (0.6ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;35;1mKvlr::ReportsAsSparkline::ReportCache Load (1.0ms)[0m [0mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;36;1mSQL (1.3ms)[0m [0;1mSELECT sum("users".profile_visits) AS sum_profile_visits, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;35;1mUser Load (0.6ms)[0m [0mSELECT * FROM "users" [0m
+ [4;36;1mUser Destroy (0.4ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 16[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 17[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 18[0m
+ [4;35;1mUser Create (0.6ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 21:23:24', 'test 1', '2008-11-26 21:23:24')[0m
+ [4;36;1mUser Create (0.5ms)[0m [0;1mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 21:23:24', 'test 2', '2008-11-19 21:23:24')[0m
+ [4;35;1mUser Create (0.4ms)[0m [0mINSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 21:23:24', 'test 3', '2008-11-19 21:23:24')[0m
+ [4;36;1mKvlr::ReportsAsSparkline::ReportCache Load (0.9ms)[0m [0;1mSELECT * FROM "report_caches" WHERE ("report_caches"."report_grouping" = 'day' AND "report_caches"."model_name" = 'User' AND "report_caches"."report_name" = 'registrations') ORDER BY created_at DESC LIMIT 100[0m
+ [4;35;1mSQL (1.8ms)[0m [0mSELECT count("users".id) AS count_id, strftime('%Y/%m/%d', created_at) AS strftime_y_m_d_created_at FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime('%Y/%m/%d', created_at) ORDER BY created_at DESC [0m
+ [4;36;1mUser Load (0.6ms)[0m [0;1mSELECT * FROM "users" [0m
+ [4;35;1mUser Destroy (0.4ms)[0m [0mDELETE FROM "users" WHERE "id" = 19[0m
+ [4;36;1mUser Destroy (0.6ms)[0m [0;1mDELETE FROM "users" WHERE "id" = 20[0m
+ [4;35;1mUser Destroy (0.6ms)[0m [0mDELETE FROM "users" WHERE "id" = 21[0m
(DIR) diff --git a/spec/other/report_cache_spec.rb b/spec/other/report_cache_spec.rb
@@ -30,8 +30,8 @@ describe Kvlr::ReportsAsSparkline::ReportCache do
it 'should correctly return the last reporting period that is in the cache' do
cached_data = [
- Kvlr::ReportsAsSparkline::ReportCache.new(:reporting_period => @grouping.to_reporting_period(Time.now - 2.days)),
- Kvlr::ReportsAsSparkline::ReportCache.new(:reporting_period => @grouping.to_reporting_period(Time.now - 3.days))
+ Kvlr::ReportsAsSparkline::ReportCache.new(:reporting_period => (Time.now - 3.days).to_date.to_formatted_s(:db)),
+ Kvlr::ReportsAsSparkline::ReportCache.new(:reporting_period => (Time.now - 2.days).to_date.to_formatted_s(:db))
]
Kvlr::ReportsAsSparkline::ReportCache.send(
(DIR) diff --git a/spec/other/report_spec.rb b/spec/other/report_spec.rb
@@ -57,7 +57,7 @@ describe Kvlr::ReportsAsSparkline::Report do
end
after do
- #User.destroy_all
+ User.destroy_all
end
end