added date_format for sqlite3 - reportable - Fork of reportable required by WarVox, from hdm/reportable.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 55acffd59a85005a13ffb3dc1c0049a83eb16dfa
 (DIR) parent a771a4edd3299e55fa571e6645a589c64df25e8c
 (HTM) Author: marcoow <marco.otte-witte@simplabs.com>
       Date:   Thu,  4 Dec 2008 02:44:58 +0800
       
       added date_format for sqlite3
       
       Signed-off-by: Marco Otte-Witte <marco.otte-witte@simplabs.com>
       Diffstat:
         M lib/kvlr/reports_as_sparkline/grou… |      50 +++++++++++++++++++++++--------
         M spec/boot.rb                        |       2 +-
         M spec/db/reports_as_sparkline.sqlit… |       0 
         M spec/db/schema.rb                   |       4 ++--
         M spec/log/spec.log                   |    1418 +++++++++++++++++++++++++++++++
         M spec/other/report_spec.rb           |       2 +-
       
       6 files changed, 1459 insertions(+), 17 deletions(-)
       ---
 (DIR) diff --git a/lib/kvlr/reports_as_sparkline/grouping.rb b/lib/kvlr/reports_as_sparkline/grouping.rb
       @@ -26,7 +26,7 @@ module Kvlr #:nodoc:
                    Date.new(date_time.year, date_time.month)
                  when :hour
                    DateTime.new(date_time.year, date_time.month, date_time.day, date_time.hour)
       -          end
       +        end
              end
        
              def next_reporting_period(period)
       @@ -40,7 +40,7 @@ module Kvlr #:nodoc:
                    Date.new(period.year, period.month, 1)
                  when :hour
                    period + 1.hour
       -          end
       +        end
              end
        
              def first_reporting_period(limit)
       @@ -54,24 +54,48 @@ module Kvlr #:nodoc:
                    Date.new(date.year, date.month, 1)
                  when :hour
                    to_reporting_period(Time.now - limit.hours)
       -          end
       +        end
              end
        
              def to_sql(date_column_name)
                #TODO: DATE_FORMAT's format string is different on different RDBMs => custom format string for all supported RDBMs needed!
                # => this can be implemented using ActiveRecord::Base.connection.class
       -        return case @identifier
       -          when :day
       -            "DATE_FORMAT(#{date_column_name}, '%Y/%m/%d')"
       -          when :week
       -            "DATE_FORMAT(#{date_column_name}, '%Y-%u')"
       -          when :month
       -            "DATE_FORMAT(#{date_column_name}, '%Y/%m')"
       -          when :hour
       -            "DATE_FORMAT(#{date_column_name}, '%Y/%m/%d/%H')"
       -          end
       +        return case ActiveRecord::Base.connection.class.to_s
       +          when 'ActiveRecord::ConnectionAdapters::MysqlAdapter'
       +            mysql_format(date_column_name)
       +          when 'ActiveRecord::ConnectionAdapters::SQLite3Adapter'
       +            sqlite_format(date_column_name)
       +        end
              end
        
       +      private
       +
       +        def mysql_format(date_column_name)
       +          return case @identifier
       +            when :day
       +              "DATE_FORMAT(#{date_column_name}, '%Y/%m/%d')"
       +            when :week
       +              "DATE_FORMAT(#{date_column_name}, '%Y-%u')"
       +            when :month
       +              "DATE_FORMAT(#{date_column_name}, '%Y/%m')"
       +            when :hour
       +              "DATE_FORMAT(#{date_column_name}, '%Y/%m/%d/%H')"
       +          end
       +        end
       +
       +        def sqlite_format(date_column_name)
       +          return case @identifier
       +            when :day
       +              "strftime('%Y/%m/%d', #{date_column_name})"
       +            when :week
       +              "strftime('%Y-%W', #{date_column_name})"
       +            when :month
       +              "strftime('%Y/%m', #{date_column_name})"
       +            when :hour
       +              "strftime('%Y/%m/%d/%H', #{date_column_name})"
       +          end
       +        end
       +
            end
        
          end
 (DIR) diff --git a/spec/boot.rb b/spec/boot.rb
       @@ -19,5 +19,5 @@ ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), 'log', 
        
        databases = YAML::load(IO.read(File.join(File.dirname(__FILE__), 'db', 'database.yml')))
        # TODO: connect to test database of rails project if exists
       -ActiveRecord::Base.establish_connection(databases['mysql'])
       +ActiveRecord::Base.establish_connection(databases['sqlite3'])
        load(File.join(File.dirname(__FILE__), 'db', 'schema.rb'))
 (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
       @@ -20,11 +20,11 @@ ActiveRecord::Schema.define(:version => 1) do
            :model_name,
            :report_name,
            :report_grouping
       -  ], :name => 'report_caches_name_klass_grouping'
       +  ], :name => 'name_klass_grouping'
          add_index :report_caches, [
            :model_name, :report_name,
            :report_grouping,
            :reporting_period
       -  ], :unique => true, :name => 'report_caches_name_klass_grouping_period'
       +  ], :unique => true, :name => 'name_klass_grouping_period'
        
        end
 (DIR) diff --git a/spec/log/spec.log b/spec/log/spec.log
       @@ -35433,3 +35433,1421 @@
          SQL (0.000646)   COMMIT
          SQL (0.000193)   BEGIN
          Kvlr::ReportsAsSparkline::ReportCache Load (0.000647)   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.000532)   select sqlite_version(*)
       +  SQL (0.008982)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003782)   DROP TABLE "users"
       +  SQL (0.003542)   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.000508)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002788)   DROP TABLE "report_caches"
       +  SQL (0.003844)   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.003937)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002706)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000595)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000260)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000704)   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)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT sum("users".id) AS sum_id, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000766)   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)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT count("users".id) AS count_id, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Create (0.000363)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000574)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000618)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000963)   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.000000)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT count("users".id) AS count_id, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000460)   SELECT * FROM "users" 
       +  User Destroy (0.000335)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000608)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000601)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000564)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000463)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000497)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.003070)   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.000000)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT sum("users".profile_visits) AS sum_profile_visits, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.001234)   SELECT * FROM "users" 
       +  User Destroy (0.000378)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000484)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000716)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000500)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000528)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000505)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000924)   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.000000)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT count("users".id) AS count_id, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000517)   SELECT * FROM "users" 
       +  User Destroy (0.000344)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000784)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000535)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000607)   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.000543)   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.000413)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000393)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000400)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000838)   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.000000)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT sum("users".profile_visits) AS sum_profile_visits, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000874)   SELECT * FROM "users" 
       +  User Destroy (0.000321)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000219)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000574)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  User Create (0.000435)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000656)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000526)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001199)   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)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT count("users".id) AS count_id, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000417)   SELECT * FROM "users" 
       +  User Destroy (0.000288)    DELETE FROM "users"
       + WHERE "id" = 13
       +
       +  User Destroy (0.000426)    DELETE FROM "users"
       + WHERE "id" = 14
       +
       +  User Destroy (0.000676)    DELETE FROM "users"
       + WHERE "id" = 15
       +
       +  User Create (0.000557)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000430)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000573)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000943)   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)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT sum("users".profile_visits) AS sum_profile_visits, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000598)   SELECT * FROM "users" 
       +  User Destroy (0.000510)    DELETE FROM "users"
       + WHERE "id" = 16
       +
       +  User Destroy (0.000743)    DELETE FROM "users"
       + WHERE "id" = 17
       +
       +  User Destroy (0.000455)    DELETE FROM "users"
       + WHERE "id" = 18
       +
       +  User Create (0.000456)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:05:37', 'test 1', '2008-11-26 17:05:37')
       +  User Create (0.000541)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:05:37', 'test 2', '2008-11-19 17:05:37')
       +  User Create (0.000556)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:05:37', 'test 3', '2008-11-19 17:05:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001156)   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)   SQLite3::SQLException: no such function: DATE_FORMAT: SELECT count("users".id) AS count_id, DATE_FORMAT(created_at, '%Y/%m/%d') AS date_format_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY DATE_FORMAT(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000574)   SELECT * FROM "users" 
       +  User Destroy (0.000395)    DELETE FROM "users"
       + WHERE "id" = 19
       +
       +  User Destroy (0.000614)    DELETE FROM "users"
       + WHERE "id" = 20
       +
       +  User Destroy (0.000622)    DELETE FROM "users"
       + WHERE "id" = 21
       +
       +  SQL (0.000198)   select sqlite_version(*)
       +  SQL (0.000519)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.155676)   DROP TABLE "users"
       +  SQL (0.137423)   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.000522)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.035856)   DROP TABLE "report_caches"
       +  SQL (0.002971)   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.002936)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002696)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000794)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000290)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000656)   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.000475)   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.000375)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000464)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.000387)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000842)   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.000587)   SELECT * FROM "users" 
       +  User Destroy (0.000404)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000324)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000325)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000571)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000563)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.000467)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001164)   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.000607)   SELECT * FROM "users" 
       +  User Destroy (0.000445)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000624)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000614)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000635)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000545)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.000392)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000858)   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.000518)   SELECT * FROM "users" 
       +  User Destroy (0.000342)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000526)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000699)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000763)   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.000324)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000767)   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.000293)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  User Create (0.000348)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000527)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.000496)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001012)   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
       +  User Load (0.000522)   SELECT * FROM "users" 
       +  User Destroy (0.000468)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000399)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000586)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  User Create (0.000619)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000486)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.000320)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000901)   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 Load (0.000532)   SELECT * FROM "users" 
       +  User Destroy (0.000407)    DELETE FROM "users"
       + WHERE "id" = 13
       +
       +  User Destroy (0.000691)    DELETE FROM "users"
       + WHERE "id" = 14
       +
       +  User Destroy (0.000634)    DELETE FROM "users"
       + WHERE "id" = 15
       +
       +  User Create (0.000478)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000300)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.000295)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000520)   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 Load (0.000355)   SELECT * FROM "users" 
       +  User Destroy (0.000306)    DELETE FROM "users"
       + WHERE "id" = 16
       +
       +  User Destroy (0.000638)    DELETE FROM "users"
       + WHERE "id" = 17
       +
       +  User Destroy (0.000488)    DELETE FROM "users"
       + WHERE "id" = 18
       +
       +  User Create (0.000485)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:11:12', 'test 1', '2008-11-26 17:11:12')
       +  User Create (0.000447)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:11:12', 'test 2', '2008-11-19 17:11:12')
       +  User Create (0.001418)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:11:12', 'test 3', '2008-11-19 17:11:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000943)   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 Load (0.000494)   SELECT * FROM "users" 
       +  User Destroy (0.000350)    DELETE FROM "users"
       + WHERE "id" = 19
       +
       +  User Destroy (0.000247)    DELETE FROM "users"
       + WHERE "id" = 20
       +
       +  User Destroy (0.000581)    DELETE FROM "users"
       + WHERE "id" = 21
       +
       +  SQL (0.000300)   select sqlite_version(*)
       +  SQL (0.000520)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002880)   DROP TABLE "users"
       +  SQL (0.002999)   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.000435)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002744)   DROP TABLE "report_caches"
       +  SQL (0.002893)   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.003360)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002661)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000519)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000254)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000637)   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.000480)   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.000481)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:36', 'test 1', '2008-11-26 17:12:36')
       +  User Create (0.000398)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:36', 'test 2', '2008-11-19 17:12:36')
       +  User Create (0.000385)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:36', 'test 3', '2008-11-19 17:12:36')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000774)   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.000481)   SELECT * FROM "users" 
       +  User Destroy (0.000488)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000321)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000293)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000417)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:36', 'test 1', '2008-11-26 17:12:36')
       +  User Create (0.000567)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:36', 'test 2', '2008-11-19 17:12:36')
       +  User Create (0.000502)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:36', 'test 3', '2008-11-19 17:12:36')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000627)   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.000463)   SELECT * FROM "users" 
       +  User Destroy (0.000305)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000476)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000453)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000443)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:37', 'test 1', '2008-11-26 17:12:37')
       +  User Create (0.000745)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:37', 'test 2', '2008-11-19 17:12:37')
       +  User Create (0.000475)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:37', 'test 3', '2008-11-19 17:12:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000877)   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.000553)   SELECT * FROM "users" 
       +  User Destroy (0.000389)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000632)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000664)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000630)   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.000278)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000589)   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.000273)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  User Create (0.000341)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:37', 'test 1', '2008-11-26 17:12:37')
       +  User Create (0.000467)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:37', 'test 2', '2008-11-19 17:12:37')
       +  User Create (0.000428)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:37', 'test 3', '2008-11-19 17:12:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000851)   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
       +  User Load (0.000520)   SELECT * FROM "users" 
       +  User Destroy (0.000373)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000794)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000414)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  User Create (0.000504)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:37', 'test 1', '2008-11-26 17:12:37')
       +  User Create (0.000490)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:37', 'test 2', '2008-11-19 17:12:37')
       +  User Create (0.000473)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:37', 'test 3', '2008-11-19 17:12:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000907)   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 Load (0.000542)   SELECT * FROM "users" 
       +  User Destroy (0.000387)    DELETE FROM "users"
       + WHERE "id" = 13
       +
       +  User Destroy (0.000599)    DELETE FROM "users"
       + WHERE "id" = 14
       +
       +  User Destroy (0.000650)    DELETE FROM "users"
       + WHERE "id" = 15
       +
       +  User Create (0.000529)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:37', 'test 1', '2008-11-26 17:12:37')
       +  User Create (0.000586)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:37', 'test 2', '2008-11-19 17:12:37')
       +  User Create (0.001252)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:37', 'test 3', '2008-11-19 17:12:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000939)   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 Load (0.000555)   SELECT * FROM "users" 
       +  User Destroy (0.000383)    DELETE FROM "users"
       + WHERE "id" = 16
       +
       +  User Destroy (0.000390)    DELETE FROM "users"
       + WHERE "id" = 17
       +
       +  User Destroy (0.000405)    DELETE FROM "users"
       + WHERE "id" = 18
       +
       +  User Create (0.000486)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:37', 'test 1', '2008-11-26 17:12:37')
       +  User Create (0.000530)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:37', 'test 2', '2008-11-19 17:12:37')
       +  User Create (0.000734)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:37', 'test 3', '2008-11-19 17:12:37')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000545)   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 Load (0.000339)   SELECT * FROM "users" 
       +  User Destroy (0.000802)    DELETE FROM "users"
       + WHERE "id" = 19
       +
       +  User Destroy (0.000625)    DELETE FROM "users"
       + WHERE "id" = 20
       +
       +  User Destroy (0.000539)    DELETE FROM "users"
       + WHERE "id" = 21
       +
       +  SQL (0.000201)   select sqlite_version(*)
       +  SQL (0.000515)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.214670)   DROP TABLE "users"
       +  SQL (0.003400)   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.000562)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002363)   DROP TABLE "report_caches"
       +  SQL (0.002795)   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.002742)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002395)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000553)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000363)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000643)   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.000490)   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.000377)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:54', 'test 1', '2008-11-26 17:12:54')
       +  User Create (0.000487)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:54', 'test 2', '2008-11-19 17:12:54')
       +  User Create (0.000593)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:54', 'test 3', '2008-11-19 17:12:54')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001097)   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.000846)   SELECT * FROM "users" 
       +  User Destroy (0.000433)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000400)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000366)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000449)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:55', 'test 1', '2008-11-26 17:12:55')
       +  User Create (0.000408)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:55', 'test 2', '2008-11-19 17:12:55')
       +  User Create (0.000446)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:55', 'test 3', '2008-11-19 17:12:55')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000900)   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.000526)   SELECT * FROM "users" 
       +  User Destroy (0.000377)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000661)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000670)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000558)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:55', 'test 1', '2008-11-26 17:12:55')
       +  User Create (0.000769)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:55', 'test 2', '2008-11-19 17:12:55')
       +  User Create (0.000472)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:55', 'test 3', '2008-11-19 17:12:55')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000689)   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.000440)   SELECT * FROM "users" 
       +  User Destroy (0.000407)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000601)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000700)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000672)   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.000246)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000577)   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.000256)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  User Create (0.000533)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:55', 'test 1', '2008-11-26 17:12:55')
       +  User Create (0.000424)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:55', 'test 2', '2008-11-19 17:12:55')
       +  User Create (0.000472)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:55', 'test 3', '2008-11-19 17:12:55')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000841)   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
       +  User Load (0.000656)   SELECT * FROM "users" 
       +  User Destroy (0.000378)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000432)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000644)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  User Create (0.000568)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:55', 'test 1', '2008-11-26 17:12:55')
       +  User Create (0.001193)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:55', 'test 2', '2008-11-19 17:12:55')
       +  User Create (0.000472)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:55', 'test 3', '2008-11-19 17:12:55')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001043)   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 Load (0.000555)   SELECT * FROM "users" 
       +  User Destroy (0.000391)    DELETE FROM "users"
       + WHERE "id" = 13
       +
       +  User Destroy (0.000641)    DELETE FROM "users"
       + WHERE "id" = 14
       +
       +  User Destroy (0.000434)    DELETE FROM "users"
       + WHERE "id" = 15
       +
       +  User Create (0.000487)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:55', 'test 1', '2008-11-26 17:12:55')
       +  User Create (0.000438)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:55', 'test 2', '2008-11-19 17:12:55')
       +  User Create (0.000493)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:55', 'test 3', '2008-11-19 17:12:55')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001057)   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 Load (0.000485)   SELECT * FROM "users" 
       +  User Destroy (0.000342)    DELETE FROM "users"
       + WHERE "id" = 16
       +
       +  User Destroy (0.000629)    DELETE FROM "users"
       + WHERE "id" = 17
       +
       +  User Destroy (0.000639)    DELETE FROM "users"
       + WHERE "id" = 18
       +
       +  User Create (0.000550)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:12:55', 'test 1', '2008-11-26 17:12:55')
       +  User Create (0.000463)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:12:55', 'test 2', '2008-11-19 17:12:55')
       +  User Create (0.000503)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:12:55', 'test 3', '2008-11-19 17:12:55')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001135)   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 Load (0.000639)   SELECT * FROM "users" 
       +  User Destroy (0.000476)    DELETE FROM "users"
       + WHERE "id" = 19
       +
       +  User Destroy (0.000488)    DELETE FROM "users"
       + WHERE "id" = 20
       +
       +  User Destroy (0.000637)    DELETE FROM "users"
       + WHERE "id" = 21
       +
       +  SQL (0.000220)   select sqlite_version(*)
       +  SQL (0.000530)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002889)   DROP TABLE "users"
       +  SQL (0.003076)   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.000485)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003305)   DROP TABLE "report_caches"
       +  SQL (0.003630)   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.003284)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.003320)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000381)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000470)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000738)   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.000287)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000654)   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.000599)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  User Create (0.000415)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:13:26', 'test 1', '2008-11-26 17:13:26')
       +  User Create (0.000522)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:13:26', 'test 2', '2008-11-19 17:13:26')
       +  User Create (0.000463)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:13:26', 'test 3', '2008-11-19 17:13:26')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000835)   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 3
       +  User Load (0.000557)   SELECT * FROM "users" 
       +  User Destroy (0.000388)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000460)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000622)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000476)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:13:26', 'test 1', '2008-11-26 17:13:26')
       +  User Create (0.000459)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:13:26', 'test 2', '2008-11-19 17:13:26')
       +  User Create (0.000425)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:13:26', 'test 3', '2008-11-19 17:13:26')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001256)   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
       +  User Load (0.001047)   SELECT * FROM "users" 
       +  User Destroy (0.000488)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000663)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000444)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000479)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:13:26', 'test 1', '2008-11-26 17:13:26')
       +  User Create (0.000461)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:13:26', 'test 2', '2008-11-19 17:13:26')
       +  User Create (0.000479)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:13:26', 'test 3', '2008-11-19 17:13:26')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000969)   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
       +  User Load (0.000568)   SELECT * FROM "users" 
       +  User Destroy (0.000439)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000629)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000485)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  User Create (0.000475)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:13:26', 'test 1', '2008-11-26 17:13:26')
       +  User Create (0.000473)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:13:26', 'test 2', '2008-11-19 17:13:26')
       +  User Create (0.000408)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:13:26', 'test 3', '2008-11-19 17:13:26')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000746)   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
       +  User Load (0.000497)   SELECT * FROM "users" 
       +  User Destroy (0.000368)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000679)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000524)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  SQL (0.000208)   select sqlite_version(*)
       +  SQL (0.000524)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002618)   DROP TABLE "users"
       +  SQL (0.003191)   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.000516)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003887)   DROP TABLE "report_caches"
       +  SQL (0.003064)   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.003153)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002834)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000457)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000247)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000793)   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.000933)   SELECT sum("users".id) AS sum_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000579)   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.000747)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Create (0.000375)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.000346)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000463)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000909)   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.001173)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000516)   SELECT * FROM "users" 
       +  User Destroy (0.000438)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000448)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000317)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000377)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.001384)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000424)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000953)   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.001219)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000521)   SELECT * FROM "users" 
       +  User Destroy (0.000376)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000579)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000609)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000790)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.001339)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000434)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000884)   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.001595)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000494)   SELECT * FROM "users" 
       +  User Destroy (0.000336)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000635)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000427)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000693)   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.000702)   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.000338)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.000469)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000505)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000943)   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.001205)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000516)   SELECT * FROM "users" 
       +  User Destroy (0.000412)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000680)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000519)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  User Create (0.000469)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.000456)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000383)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000688)   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.001105)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000372)   SELECT * FROM "users" 
       +  User Destroy (0.000288)    DELETE FROM "users"
       + WHERE "id" = 13
       +
       +  User Destroy (0.000279)    DELETE FROM "users"
       + WHERE "id" = 14
       +
       +  User Destroy (0.000270)    DELETE FROM "users"
       + WHERE "id" = 15
       +
       +  User Create (0.000383)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.000372)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000360)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000678)   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.001066)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000363)   SELECT * FROM "users" 
       +  User Destroy (0.000287)    DELETE FROM "users"
       + WHERE "id" = 16
       +
       +  User Destroy (0.000398)    DELETE FROM "users"
       + WHERE "id" = 17
       +
       +  User Destroy (0.000397)    DELETE FROM "users"
       + WHERE "id" = 18
       +
       +  User Create (0.000439)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:02', 'test 1', '2008-11-26 17:14:02')
       +  User Create (0.000467)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:02', 'test 2', '2008-11-19 17:14:02')
       +  User Create (0.000525)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:02', 'test 3', '2008-11-19 17:14:02')
       +  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
       +  SQL (0.001989)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000554)   SELECT * FROM "users" 
       +  User Destroy (0.000396)    DELETE FROM "users"
       + WHERE "id" = 19
       +
       +  User Destroy (0.000684)    DELETE FROM "users"
       + WHERE "id" = 20
       +
       +  User Destroy (0.000459)    DELETE FROM "users"
       + WHERE "id" = 21
       +
       +  SQL (0.000203)   select sqlite_version(*)
       +  SQL (0.000517)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002758)   DROP TABLE "users"
       +  SQL (0.002853)   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.001181)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003465)   DROP TABLE "report_caches"
       +  SQL (0.003223)   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.002840)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.003725)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000462)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000206)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000828)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000518)   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
       +  User Create (0.000344)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:52', 'test 1', '2008-11-26 17:14:52')
       +  User Create (0.000412)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:52', 'test 2', '2008-11-19 17:14:52')
       +  User Create (0.000461)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:52', 'test 3', '2008-11-19 17:14:52')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000916)   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 3
       +  SQL (0.001138)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000541)   SELECT * FROM "users" 
       +  User Destroy (0.000420)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000396)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000507)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000467)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:52', 'test 1', '2008-11-26 17:14:52')
       +  User Create (0.000456)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:52', 'test 2', '2008-11-19 17:14:52')
       +  User Create (0.000409)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:52', 'test 3', '2008-11-19 17:14:52')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000724)   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.001216)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000455)   SELECT * FROM "users" 
       +  User Destroy (0.000327)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000295)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000262)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000387)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:52', 'test 1', '2008-11-26 17:14:52')
       +  User Create (0.000345)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:52', 'test 2', '2008-11-19 17:14:52')
       +  User Create (0.000446)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:52', 'test 3', '2008-11-19 17:14:52')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000612)   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.001328)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000425)   SELECT * FROM "users" 
       +  User Destroy (0.000283)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000335)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000622)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  User Create (0.000679)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:14:52', 'test 1', '2008-11-26 17:14:52')
       +  User Create (0.000537)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:14:53', 'test 2', '2008-11-19 17:14:53')
       +  User Create (0.000491)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:14:53', 'test 3', '2008-11-19 17:14:53')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000912)   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.001912)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000639)   SELECT * FROM "users" 
       +  User Destroy (0.000473)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000648)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000471)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  SQL (0.000201)   select sqlite_version(*)
       +  SQL (0.000514)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002954)   DROP TABLE "users"
       +  SQL (0.002859)   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.000482)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002518)   DROP TABLE "report_caches"
       +  SQL (0.003162)   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 (0.002647)   CREATE INDEX "report_caches_name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.003054)   CREATE UNIQUE INDEX "report_caches_name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000554)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000268)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000578)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000550)   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
       +  User Create (0.000391)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:15:14', 'test 1', '2008-11-26 17:15:14')
       +  User Create (0.000417)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:15:14', 'test 2', '2008-11-19 17:15:14')
       +  User Create (0.000476)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:15:14', 'test 3', '2008-11-19 17:15:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000859)   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 3
       +  SQL (0.001120)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000522)   SELECT * FROM "users" 
       +  User Destroy (0.000313)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000643)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000533)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000455)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:15:14', 'test 1', '2008-11-26 17:15:14')
       +  User Create (0.000417)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:15:14', 'test 2', '2008-11-19 17:15:14')
       +  User Create (0.000432)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:15:14', 'test 3', '2008-11-19 17:15:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000910)   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.001394)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000982)   SELECT * FROM "users" 
       +  User Destroy (0.000436)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000428)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000627)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000494)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:15:14', 'test 1', '2008-11-26 17:15:14')
       +  User Create (0.000423)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:15:14', 'test 2', '2008-11-19 17:15:14')
       +  User Create (0.000413)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:15:14', 'test 3', '2008-11-19 17:15:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000739)   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.001120)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.001844)   SELECT * FROM "users" 
       +  User Destroy (0.000331)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000246)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000220)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  User Create (0.000421)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:15:14', 'test 1', '2008-11-26 17:15:14')
       +  User Create (0.000541)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:15:14', 'test 2', '2008-11-19 17:15:14')
       +  User Create (0.000543)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:15:14', 'test 3', '2008-11-19 17:15:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000852)   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.001997)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000569)   SELECT * FROM "users" 
       +  User Destroy (0.000420)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000448)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000427)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  SQL (0.000219)   select sqlite_version(*)
       +  SQL (0.000545)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.004560)   DROP TABLE "users"
       +  SQL (0.003210)   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.000499)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002545)   DROP TABLE "report_caches"
       +  SQL (0.003137)   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.003350)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.004128)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.001534)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000862)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000639)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000498)   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
       +  User Create (0.000354)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:14', 'test 1', '2008-11-26 17:16:14')
       +  User Create (0.000427)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:14', 'test 2', '2008-11-19 17:16:14')
       +  User Create (0.000396)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:14', 'test 3', '2008-11-19 17:16:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000771)   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 3
       +  SQL (0.001134)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000446)   SELECT * FROM "users" 
       +  User Destroy (0.000311)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000676)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000604)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000452)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:14', 'test 1', '2008-11-26 17:16:14')
       +  User Create (0.000549)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:14', 'test 2', '2008-11-19 17:16:14')
       +  User Create (0.000375)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:14', 'test 3', '2008-11-19 17:16:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001050)   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.001411)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000767)   SELECT * FROM "users" 
       +  User Destroy (0.000424)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000423)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000415)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000599)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:14', 'test 1', '2008-11-26 17:16:14')
       +  User Create (0.000479)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:14', 'test 2', '2008-11-19 17:16:14')
       +  User Create (0.000327)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:14', 'test 3', '2008-11-19 17:16:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000510)   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.000816)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000440)   SELECT * FROM "users" 
       +  User Destroy (0.000279)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000256)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000427)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  User Create (0.000434)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:14', 'test 1', '2008-11-26 17:16:14')
       +  User Create (0.000443)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:14', 'test 2', '2008-11-19 17:16:14')
       +  User Create (0.000443)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:14', 'test 3', '2008-11-19 17:16:14')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000877)   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.001484)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000958)   SELECT * FROM "users" 
       +  User Destroy (0.000481)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.000250)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000218)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  SQL (0.000201)   select sqlite_version(*)
       +  SQL (0.000508)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003428)   DROP TABLE "users"
       +  SQL (0.003207)   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.000608)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002385)   DROP TABLE "report_caches"
       +  SQL (0.002890)   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.003325)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.003265)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000514)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000321)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000688)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000469)   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
       +  User Create (0.000349)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:46', 'test 1', '2008-11-26 17:16:46')
       +  User Create (0.000430)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:46', 'test 2', '2008-11-19 17:16:46')
       +  User Create (0.000643)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:46', 'test 3', '2008-11-19 17:16:46')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000753)   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 3
       +  SQL (0.001093)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000508)   SELECT * FROM "users" 
       +  User Destroy (0.000332)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000526)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000357)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000460)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:46', 'test 1', '2008-11-26 17:16:46')
       +  User Create (0.000475)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:46', 'test 2', '2008-11-19 17:16:46')
       +  User Create (0.000492)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:46', 'test 3', '2008-11-19 17:16:46')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001065)   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.001236)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000520)   SELECT * FROM "users" 
       +  User Destroy (0.000426)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000692)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000721)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000466)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:46', 'test 1', '2008-11-26 17:16:46')
       +  User Create (0.000436)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:46', 'test 2', '2008-11-19 17:16:46')
       +  User Create (0.000432)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:46', 'test 3', '2008-11-19 17:16:46')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000920)   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.001125)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.001100)   SELECT * FROM "users" 
       +  User Destroy (0.000473)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000555)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000450)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  User Create (0.000519)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:16:46', 'test 1', '2008-11-26 17:16:46')
       +  User Create (0.000415)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:16:46', 'test 2', '2008-11-19 17:16:46')
       +  User Create (0.000462)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:16:46', 'test 3', '2008-11-19 17:16:46')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000835)   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.001775)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000560)   SELECT * FROM "users" 
       +  User Destroy (0.000420)    DELETE FROM "users"
       + WHERE "id" = 10
       +
       +  User Destroy (0.001208)    DELETE FROM "users"
       + WHERE "id" = 11
       +
       +  User Destroy (0.000624)    DELETE FROM "users"
       + WHERE "id" = 12
       +
       +  SQL (0.000435)   select sqlite_version(*)
       +  SQL (0.000609)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002894)   DROP TABLE "users"
       +  SQL (0.002367)   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.000382)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002019)   DROP TABLE "report_caches"
       +  SQL (0.002595)   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.002285)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002070)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.005508)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000314)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000661)   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.000840)   SELECT sum("users".id) AS sum_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000449)   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.000754)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Create (0.000370)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000436)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.000431)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000773)   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.001206)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000488)   SELECT * FROM "users" 
       +  User Destroy (0.000357)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000516)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000415)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000564)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000611)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.000665)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000955)   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.001269)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000500)   SELECT * FROM "users" 
       +  User Destroy (0.000404)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000396)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000658)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000662)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000461)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.000465)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000864)   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.001865)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Load (0.000521)   SELECT * FROM "users" 
       +  User Destroy (0.000365)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000466)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000625)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000705)   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.000492)   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.000355)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000652)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.000500)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000747)   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.001208)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-11-30') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Create (0.000427)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000559)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.000509)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000699)   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.001329)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Create (0.000416)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000600)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.001108)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000729)   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.001096)   SELECT sum("users".profile_visits) AS sum_profile_visits, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  User Create (0.000450)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:31:11', 'test 1', '2008-11-26 17:31:11')
       +  User Create (0.000388)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:31:11', 'test 2', '2008-11-19 17:31:11')
       +  User Create (0.000492)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:31:11', 'test 3', '2008-11-19 17:31:11')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.002554)   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.002017)   SELECT count("users".id) AS count_id, strftime(created_at, '%Y/%m/%d') AS strftime_created_at_y_m_d FROM "users" WHERE (login IN ('test 1','test 2') AND created_at >= '2008-08-25') GROUP BY strftime(created_at, '%Y/%m/%d') ORDER BY created_at DESC 
       +  SQL (0.000196)   select sqlite_version(*)
       +  SQL (0.000518)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000000)   SQLite3::BusyException: database is locked: DROP TABLE "users"
       +  SQL (0.000197)   select sqlite_version(*)
       +  SQL (0.000522)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.066644)   DROP TABLE "users"
       +  SQL (0.033155)   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.000505)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003382)   DROP TABLE "report_caches"
       +  SQL (0.003204)   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.002498)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002415)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000413)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000321)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000748)   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.000832)   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.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
       +  SQL (0.000771)   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.000384)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:40:22', 'test 1', '2008-11-26 17:40:22')
       +  User Create (0.000510)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:40:22', 'test 2', '2008-11-19 17:40:22')
       +  User Create (0.000526)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:40:22', 'test 3', '2008-11-19 17:40:22')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001011)   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.001386)   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.000195)   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.000405)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 17:40:22', 'cumulated_registrations', 'User', 1.0, 'day', '2008-11-26', '2008-12-03 17:40:22')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000115)   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.000151)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 17:40:22', 'cumulated_registrations', 'User', 2.0, 'day', '2008-11-19', '2008-12-03 17:40:22')
       +  User Load (0.000750)   SELECT * FROM "users" 
       +  User Destroy (0.000342)    DELETE FROM "users"
       + WHERE "id" = 1
       +
       +  User Destroy (0.000773)    DELETE FROM "users"
       + WHERE "id" = 2
       +
       +  User Destroy (0.000597)    DELETE FROM "users"
       + WHERE "id" = 3
       +
       +  User Create (0.000520)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:40:22', 'test 1', '2008-11-26 17:40:22')
       +  User Create (0.000461)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:40:22', 'test 2', '2008-11-19 17:40:22')
       +  User Create (0.000387)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:40:22', 'test 3', '2008-11-19 17:40:22')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001288)   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.000471)   SELECT * FROM "users" 
       +  User Destroy (0.000320)    DELETE FROM "users"
       + WHERE "id" = 4
       +
       +  User Destroy (0.000646)    DELETE FROM "users"
       + WHERE "id" = 5
       +
       +  User Destroy (0.000673)    DELETE FROM "users"
       + WHERE "id" = 6
       +
       +  User Create (0.000528)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:40:25', 'test 1', '2008-11-26 17:40:25')
       +  User Create (0.000447)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:40:25', 'test 2', '2008-11-19 17:40:25')
       +  User Create (0.000463)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:40:25', 'test 3', '2008-11-19 17:40:25')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001350)   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.000435)   SELECT * FROM "users" 
       +  User Destroy (0.000384)    DELETE FROM "users"
       + WHERE "id" = 7
       +
       +  User Destroy (0.000500)    DELETE FROM "users"
       + WHERE "id" = 8
       +
       +  User Destroy (0.000463)    DELETE FROM "users"
       + WHERE "id" = 9
       +
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000670)   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.000483)   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.000380)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:40:29', 'test 1', '2008-11-26 17:40:29')
       +  User Create (0.000481)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:40:29', 'test 2', '2008-11-19 17:40:29')
       +  User Create (0.000474)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:40:29', 'test 3', '2008-11-19 17:40:29')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001165)   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.001164)   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.000600)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:40:29', 'test 1', '2008-11-26 17:40:29')
       +  User Create (0.000587)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:40:29', 'test 2', '2008-11-19 17:40:29')
       +  User Create (0.000632)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:40:29', 'test 3', '2008-11-19 17:40:29')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001060)   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.002124)   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.000255)   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.001712)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 17:40:29', 'registrations', 'User', 2.0, 'day', '2008-11-26', '2008-12-03 17:40:29')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000192)   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.000109)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 17:40:29', 'registrations', 'User', 4.0, 'day', '2008-11-19', '2008-12-03 17:40:29')
       +  User Create (0.000311)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 17:40:29', 'test 1', '2008-11-26 17:40:29')
       +  User Create (0.000254)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 17:40:29', 'test 2', '2008-11-19 17:40:29')
       +  User Create (0.000277)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 17:40:29', 'test 3', '2008-11-19 17:40:29')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000767)   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.000205)   select sqlite_version(*)
       +  SQL (0.000508)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003360)   DROP TABLE "users"
       +  SQL (0.003078)   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.000705)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002619)   DROP TABLE "report_caches"
       +  SQL (0.002639)   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.003643)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.003177)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000359)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000280)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.112610)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000742)   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
       +  User Create (0.000354)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:30:57', 'test 1', '2008-11-26 19:30:57')
       +  User Create (0.000500)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:30:57', 'test 2', '2008-11-19 19:30:57')
       +  User Create (0.000420)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:30:57', 'test 3', '2008-11-19 19:30:57')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000744)   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 3
       +  SQL (0.001341)   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.000423)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:30:57', 'test 1', '2008-11-26 19:30:57')
       +  User Create (0.000488)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:30:57', 'test 2', '2008-11-19 19:30:57')
       +  User Create (0.000437)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:30:57', 'test 3', '2008-11-19 19:30:57')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000884)   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.001609)   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.000185)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000504)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:30:57', 'registrations', 'User', 2.0, 'day', '2008-11-26', '2008-12-03 19:30:57')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000157)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000153)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:30:57', 'registrations', 'User', 4.0, 'day', '2008-11-19', '2008-12-03 19:30:57')
       +  User Create (0.000520)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:30:57', 'test 1', '2008-11-26 19:30:57')
       +  User Create (0.000520)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:30:57', 'test 2', '2008-11-19 19:30:57')
       +  User Create (0.000564)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:30:57', 'test 3', '2008-11-19 19:30:57')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001691)   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
       +  User Create (0.000561)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:00', 'test 1', '2008-11-26 19:31:00')
       +  User Create (0.000501)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:01', 'test 2', '2008-11-19 19:31:01')
       +  User Create (0.000454)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:01', 'test 3', '2008-11-19 19:31:01')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001311)   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.000205)   select sqlite_version(*)
       +  SQL (0.000510)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002990)   DROP TABLE "users"
       +  SQL (0.003325)   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.000515)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.003737)   DROP TABLE "report_caches"
       +  SQL (0.003289)   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.004390)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002665)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000505)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000256)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000538)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000465)   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
       +  User Create (0.000360)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:12', 'test 1', '2008-11-26 19:31:12')
       +  User Create (0.000446)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:12', 'test 2', '2008-11-19 19:31:12')
       +  User Create (0.000419)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:12', 'test 3', '2008-11-19 19:31:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000944)   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 3
       +  SQL (0.001057)   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.000419)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:12', 'test 1', '2008-11-26 19:31:12')
       +  User Create (0.000550)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:12', 'test 2', '2008-11-19 19:31:12')
       +  User Create (0.000533)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:12', 'test 3', '2008-11-19 19:31:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000879)   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.001368)   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.000245)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000502)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:31:12', 'registrations', 'User', 2.0, 'day', '2008-11-26', '2008-12-03 19:31:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000128)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000127)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:31:12', 'registrations', 'User', 4.0, 'day', '2008-11-19', '2008-12-03 19:31:12')
       +  User Create (0.000462)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:12', 'test 1', '2008-11-26 19:31:12')
       +  User Create (0.000461)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:12', 'test 2', '2008-11-19 19:31:12')
       +  User Create (0.000403)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:12', 'test 3', '2008-11-19 19:31:12')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001213)   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.000204)   select sqlite_version(*)
       +  SQL (0.000507)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002888)   DROP TABLE "users"
       +  SQL (0.003031)   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.000489)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002571)   DROP TABLE "report_caches"
       +  SQL (0.002575)   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.004678)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002550)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.000406)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000261)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000567)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000456)   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
       +  User Create (0.000381)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:28', 'test 1', '2008-11-26 19:31:28')
       +  User Create (0.000407)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:28', 'test 2', '2008-11-19 19:31:28')
       +  User Create (0.000424)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:28', 'test 3', '2008-11-19 19:31:28')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001006)   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 3
       +  SQL (0.001162)   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.000429)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:28', 'test 1', '2008-11-26 19:31:28')
       +  User Create (0.000468)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:28', 'test 2', '2008-11-19 19:31:28')
       +  User Create (0.000511)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:28', 'test 3', '2008-11-19 19:31:28')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001032)   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.001316)   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.000177)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000498)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:31:28', 'registrations', 'User', 2.0, 'day', '2008-11-26', '2008-12-03 19:31:28')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000195)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000162)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:31:28', 'registrations', 'User', 4.0, 'day', '2008-11-19', '2008-12-03 19:31:28')
       +  User Create (0.000491)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:28', 'test 1', '2008-11-26 19:31:28')
       +  User Create (0.000442)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(2, '2008-12-03 19:31:28', 'test 2', '2008-11-19 19:31:28')
       +  User Create (0.000443)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(3, '2008-12-03 19:31:28', 'test 3', '2008-11-19 19:31:28')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.001334)   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.000204)   select sqlite_version(*)
       +  SQL (0.000513)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002687)   DROP TABLE "users"
       +  SQL (0.003019)   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.000531)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.002816)   DROP TABLE "report_caches"
       +  SQL (0.003087)   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.003322)   CREATE INDEX "name_klass_grouping" ON "report_caches" ("model_name", "report_name", "report_grouping")
       +  SQL (0.002970)   CREATE UNIQUE INDEX "name_klass_grouping_period" ON "report_caches" ("model_name", "report_name", "report_grouping", "reporting_period")
       +  SQL (0.002664)    SELECT name
       + FROM sqlite_master
       + WHERE type = 'table' AND NOT name = 'sqlite_sequence'
       +
       +  SQL (0.000498)   SELECT version FROM "schema_migrations"
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000603)   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
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000477)   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
       +  User Create (0.000341)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:48', 'test 1', '2008-11-26 19:31:48')
       +  User Create (0.000403)   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.000443)   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.000942)   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 3
       +  SQL (0.001059)   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.000425)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:48', 'test 1', '2008-11-26 19:31:48')
       +  User Create (0.000534)   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.000391)   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.000950)   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.001509)   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.000196)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-26' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000553)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:31:48', 'registrations', 'User', 2.0, 'day', '2008-11-26', '2008-12-03 19:31:48')
       +  Kvlr::ReportsAsSparkline::ReportCache Load (0.000148)   SELECT * FROM "report_caches" WHERE ("report_caches"."report_name" = 'registrations' AND "report_caches"."report_grouping" = 'day' AND "report_caches"."reporting_period" = '2008-11-19' AND "report_caches"."model_name" = 'User') LIMIT 1
       +  Kvlr::ReportsAsSparkline::ReportCache Create (0.000130)   INSERT INTO "report_caches" ("updated_at", "report_name", "model_name", "value", "report_grouping", "reporting_period", "created_at") VALUES('2008-12-03 19:31:48', 'registrations', 'User', 4.0, 'day', '2008-11-19', '2008-12-03 19:31:48')
       +  User Create (0.000355)   INSERT INTO "users" ("profile_visits", "updated_at", "login", "created_at") VALUES(1, '2008-12-03 19:31:48', 'test 1', '2008-11-26 19:31:48')
       +  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
 (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