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 @@
          User Create (0.000489)   INSERT 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')
          User Create (0.000475)   INSERT 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')
          Kvlr::ReportsAsSparkline::ReportCache Load (0.001360)   SELECT * 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
       +  SQL (0.000199)   select sqlite_version(*)
       +  SQL (0.000513)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.013186)   DROP TABLE "users"
       +  SQL (0.035613)   CREATE 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) 
       +  SQL (0.000529)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002780)   DROP TABLE "report_caches"
       +  SQL (0.002920)   CREATE 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) 
       +  SQL (0.002897)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002635)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000529)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000241)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000618)   SELECT * 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
       +  SQL (0.000777)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000461)   SELECT * 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
       +  SQL (0.000871)   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 
       +  User Create (0.000378)   INSERT 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')
       +  User Create (0.000470)   INSERT 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')
       +  User Create (0.000537)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000991)   SELECT * 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
       +  SQL (0.001497)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000176)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000383)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000211)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000128)   INSERT 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')
       +  User Load (0.000834)   SELECT * FROM "users" 
       +  User Destroy (0.000345)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000527)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000632)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000485)   INSERT 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')
       +  User Create (0.000442)   INSERT 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')
       +  User Create (0.000485)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001271)   SELECT * 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
       +  User Load (0.000442)   SELECT * FROM "users" 
       +  User Destroy (0.000319)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000578)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000640)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000526)   INSERT 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')
       +  User Create (0.000503)   INSERT 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')
       +  User Create (0.000524)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001396)   SELECT * 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
       +  User Load (0.000431)   SELECT * FROM "users" 
       +  User Destroy (0.000315)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000475)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000470)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000908)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000487)   SELECT * 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
       +  User Create (0.000556)   INSERT 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')
       +  User Create (0.000452)   INSERT 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')
       +  User Create (0.000429)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000893)   SELECT * 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
       +  SQL (0.001108)   SELECT 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 
       +  User Create (0.000447)   INSERT 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')
       +  User Create (0.000551)   INSERT 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')
       +  User Create (0.000625)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001671)   SELECT * 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
       +  SQL (0.000000)   Interrupt: : 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 
       +  User Create (0.000363)   INSERT 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')
       +  User Create (0.000389)   INSERT 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')
       +  User Create (0.000452)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001044)   SELECT * 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
       +  SQL (0.001398)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000179)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000609)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000222)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000161)   INSERT 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')
       +  User Create (0.000660)   INSERT 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')
       +  User Create (0.000505)   INSERT 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')
       +  User Create (0.000592)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001338)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "users"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "report_caches"
       +  SQL (2.6ms)   CREATE 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) 
       +  SQL (2.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.5ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (0.9ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.8ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.3ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (1.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  User Load (1.1ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.3ms)   DROP TABLE "report_caches"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "users"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.5ms)   DROP TABLE "report_caches"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (2.8ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.8ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.7ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.0ms)   SQLite3::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')
       +  User Load (1.0ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.0ms)   SQLite3::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')
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.0ms)   SQLite3::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')
       +  User Load (0.9ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   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', 2.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.0ms)   SQLite3::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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   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', 3.0, 'day', '2008-12-03 19:52:23', '2008-12-03 19:52:23')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.0ms)   SQLite3::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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.0ms)   SQLite3::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')
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (107.0ms)   DROP TABLE "users"
       +  SQL (42.3ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "report_caches"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (2.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  SQL (0.9ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.8ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.7ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.9ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.4ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "users"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.6ms)   DROP TABLE "report_caches"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (3.4ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.6ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (2.0ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.4ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.2ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.6ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (73.9ms)   DROP TABLE "users"
       +  SQL (2.6ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "report_caches"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (2.6ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.2ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.2ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.2ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.8ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (144.7ms)   DROP TABLE "users"
       +  SQL (107.8ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (37.9ms)   DROP TABLE "report_caches"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (3.6ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.4ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.8ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (165.9ms)   DROP TABLE "users"
       +  SQL (71.4ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (45.3ms)   DROP TABLE "report_caches"
       +  SQL (3.7ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.9ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.6ms)   DROP TABLE "report_caches"
       +  SQL (3.5ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (2.8ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (1.0ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  User Create (2.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (57.9ms)   DROP TABLE "users"
       +  SQL (53.8ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "report_caches"
       +  SQL (3.5ms)   CREATE 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) 
       +  SQL (3.8ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.3ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "report_caches"
       +  SQL (3.6ms)   CREATE 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) 
       +  SQL (2.8ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.3ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.8ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "report_caches"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (4.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.6ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.3ms)   select sqlite_version(*)
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (143.0ms)   DROP TABLE "users"
       +  SQL (193.7ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (60.4ms)   DROP TABLE "report_caches"
       +  SQL (53.2ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.7ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Create (0.8ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (89.5ms)   DROP TABLE "users"
       +  SQL (33.5ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "report_caches"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (3.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.8ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.2ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  SQL (1.0ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.6ms)   SELECT * 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
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.4ms)   SELECT * 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
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "users"
       +  SQL (2.8ms)   CREATE 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) 
       +  SQL (0.8ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.4ms)   DROP TABLE "report_caches"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (3.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (4.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.8ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.5ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.1ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.4ms)   SELECT * 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
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.2ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (99.8ms)   DROP TABLE "users"
       +  SQL (41.6ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "report_caches"
       +  SQL (4.0ms)   CREATE 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) 
       +  SQL (2.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.4ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Load (1.0ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.3ms)   SELECT * 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
       +  User Load (0.3ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.2ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (2.1ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (121.8ms)   DROP TABLE "users"
       +  SQL (96.1ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (39.6ms)   DROP TABLE "report_caches"
       +  SQL (3.8ms)   CREATE 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) 
       +  SQL (3.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.6ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.8ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Create (0.8ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Update (0.7ms)   UPDATE "report_caches" SET "value" = 3.0, "updated_at" = '2008-12-03 20:49:03' WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (1.7ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.3ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Update (0.6ms)   UPDATE "report_caches" SET "value" = 4.0, "updated_at" = '2008-12-03 20:49:03' WHERE "id" = 3
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "users"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.5ms)   DROP TABLE "report_caches"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (2.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.5ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.4ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.3ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.2ms)   SELECT * 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
       +  SQL (1.6ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.6ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.3ms)   DROP TABLE "report_caches"
       +  SQL (2.8ms)   CREATE 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) 
       +  SQL (3.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (4.5ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (2.2ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.2ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (150.4ms)   DROP TABLE "users"
       +  SQL (194.1ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (92.0ms)   DROP TABLE "report_caches"
       +  SQL (54.2ms)   CREATE 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) 
       +  SQL (3.5ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (2.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.6ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (1.1ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.2ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.9ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.6ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (155.7ms)   DROP TABLE "users"
       +  SQL (209.8ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (60.8ms)   DROP TABLE "report_caches"
       +  SQL (57.6ms)   CREATE 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) 
       +  SQL (2.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (1.0ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.3ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.1ms)   DROP TABLE "users"
       +  SQL (2.1ms)   CREATE 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) 
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.5ms)   DROP TABLE "report_caches"
       +  SQL (2.8ms)   CREATE 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) 
       +  SQL (3.1ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (4.4ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.3ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.1ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.1ms)   INSERT 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')
       +  User Load (0.9ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.5ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.3ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.4ms)   SELECT * 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
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.4ms)   DROP TABLE "users"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (0.9ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.2ms)   DROP TABLE "report_caches"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (2.8ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.5ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.9ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Load (0.9ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Load (0.9ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.7ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.2ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.2ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (138.4ms)   DROP TABLE "users"
       +  SQL (184.2ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (74.5ms)   DROP TABLE "report_caches"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.9ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (1.0ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.7ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.7ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "report_caches"
       +  SQL (3.4ms)   CREATE 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) 
       +  SQL (2.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.4ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Load (0.8ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (30.6ms)   DROP TABLE "users"
       +  SQL (41.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "report_caches"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.8ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.8ms)   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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.7ms)   INSERT 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')
       +  User Create (0.8ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (2.1ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.6ms)   SELECT 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 
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "report_caches"
       +  SQL (3.5ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  SQL (0.8ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.9ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (1.2ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (2.1ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (2.3ms)   SELECT 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 
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (148.3ms)   DROP TABLE "users"
       +  SQL (61.6ms)   CREATE 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) 
       +  SQL (1.0ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (52.1ms)   DROP TABLE "report_caches"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (3.4ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.9ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  User Load (0.9ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (2.1ms)   SELECT 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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.9ms)   DROP TABLE "users"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.6ms)   DROP TABLE "report_caches"
       +  SQL (3.4ms)   CREATE 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) 
       +  SQL (3.1ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.4ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.4ms)   SELECT 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 
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.4ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.6ms)   DROP TABLE "users"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.1ms)   DROP TABLE "report_caches"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (2.8ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.5ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.8ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.7ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.7ms)   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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.7ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (2.2ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.6ms)   SELECT 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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.7ms)   DROP TABLE "users"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.7ms)   DROP TABLE "report_caches"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (3.3ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.3ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.3ms)   DROP TABLE "users"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "report_caches"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (3.1ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.9ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "users"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.7ms)   DROP TABLE "report_caches"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (3.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.6ms)   SELECT 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 
       +  User Load (1.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (2.1ms)   SELECT 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 
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.8ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 9
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.7ms)   DROP TABLE "users"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.3ms)   DROP TABLE "report_caches"
       +  SQL (3.7ms)   CREATE 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) 
       +  SQL (3.2ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.2ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.3ms)   select sqlite_version(*)
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "users"
       +  SQL (26.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (181.2ms)   DROP TABLE "report_caches"
       +  SQL (203.7ms)   CREATE 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) 
       +  SQL (70.6ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (46.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (1.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.1ms)   DROP TABLE "users"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.2ms)   DROP TABLE "report_caches"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (3.5ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (5.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (201.4ms)   DROP TABLE "users"
       +  SQL (165.7ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (127.7ms)   DROP TABLE "report_caches"
       +  SQL (62.2ms)   CREATE 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) 
       +  SQL (3.4ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.7ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "users"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "report_caches"
       +  SQL (2.8ms)   CREATE 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) 
       +  SQL (2.5ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.1ms)   DROP TABLE "users"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (2.3ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.2ms)   DROP TABLE "report_caches"
       +  SQL (2.7ms)   CREATE 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) 
       +  SQL (3.0ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.3ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.8ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.8ms)   DROP TABLE "users"
       +  SQL (2.9ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.5ms)   DROP TABLE "report_caches"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (3.0ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (1.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.9ms)   DROP TABLE "users"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.2ms)   DROP TABLE "report_caches"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (2.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.2ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (99.7ms)   DROP TABLE "users"
       +  SQL (33.3ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "report_caches"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (3.4ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.9ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (1.0ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (2.0ms)   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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.4ms)   SELECT 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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Load (0.4ms)   SELECT * FROM "users" 
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.4ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  SQL (0.3ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (127.5ms)   DROP TABLE "users"
       +  SQL (71.7ms)   CREATE 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) 
       +  SQL (1.9ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (46.3ms)   DROP TABLE "report_caches"
       +  SQL (3.4ms)   CREATE 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) 
       +  SQL (3.7ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (3.7ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.4ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.7ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.4ms)   SELECT 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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (158.9ms)   DROP TABLE "users"
       +  SQL (155.2ms)   CREATE 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) 
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (149.2ms)   DROP TABLE "report_caches"
       +  SQL (40.6ms)   CREATE 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) 
       +  SQL (3.3ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (4.4ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.3ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.8ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.3ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.5ms)   SELECT 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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.6ms)   DROP TABLE "users"
       +  SQL (3.0ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.3ms)   DROP TABLE "report_caches"
       +  SQL (3.7ms)   CREATE 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) 
       +  SQL (3.8ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (4.0ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.2ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.3ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.2ms)   SELECT 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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.7ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.7ms)   SELECT 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 
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "users"
       +  SQL (3.3ms)   CREATE 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) 
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (4.2ms)   DROP TABLE "report_caches"
       +  SQL (3.2ms)   CREATE 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) 
       +  SQL (3.0ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.8ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.8ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (1.0ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.5ms)   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 
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.7ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.7ms)   SELECT * 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
       +  SQL (1.7ms)   SELECT 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 
       +  SQL (0.2ms)   select sqlite_version(*)
       +  SQL (0.5ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (3.0ms)   DROP TABLE "users"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (0.4ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (2.7ms)   DROP TABLE "report_caches"
       +  SQL (3.1ms)   CREATE 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) 
       +  SQL (2.9ms)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (2.8ms)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.6ms)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.3ms)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  SQL (0.7ms)   SELECT 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 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  SQL (0.7ms)   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 
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.6ms)   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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 1
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 2
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 3
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.4ms)   SELECT 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 
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 4
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 5
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 6
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.1ms)   SELECT * 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
       +  SQL (1.9ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 7
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 8
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 9
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.6ms)   SELECT * 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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.5ms)   SELECT * 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
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.8ms)   SELECT * 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
       +  SQL (1.1ms)   SELECT 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 
       +  User Load (0.5ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 10
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 11
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 12
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.4ms)   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 
       +  User Load (0.7ms)   SELECT * FROM "users" 
       +  User Destroy (0.5ms)   DELETE FROM "users" WHERE "id" = 13
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 14
       +  User Destroy (0.3ms)   DELETE FROM "users" WHERE "id" = 15
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.6ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (1.0ms)   SELECT * 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
       +  SQL (1.3ms)   SELECT 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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 16
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 17
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 18
       +  User Create (0.6ms)   INSERT 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')
       +  User Create (0.5ms)   INSERT 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')
       +  User Create (0.4ms)   INSERT 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')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.9ms)   SELECT * 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
       +  SQL (1.8ms)   SELECT 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 
       +  User Load (0.6ms)   SELECT * FROM "users" 
       +  User Destroy (0.4ms)   DELETE FROM "users" WHERE "id" = 19
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 20
       +  User Destroy (0.6ms)   DELETE FROM "users" WHERE "id" = 21
 (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