i_wonder 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -85114,3 +85114,2604 @@ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85114
85114
  IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
85115
85115
  IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
85116
85116
   (0.1ms) ROLLBACK
85117
+  (0.2ms) BEGIN
85118
+  (0.2ms) SAVEPOINT active_record_1
85119
+  (1.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
85120
+  (0.4ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85121
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
85122
+  (0.1ms) SAVEPOINT active_record_1
85123
+ SQL (3.4ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85124
+ SQL (1.0ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 76], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
85125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85126
+ IWonder::TestGroupMembership Load (1.1ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85127
+  (0.1ms) SAVEPOINT active_record_1
85128
+  (0.4ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
85129
+ SQL (0.8ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 76], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85131
+ IWonder::TestGroupMembership Load (0.4ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85132
+  (0.1ms) SAVEPOINT active_record_1
85133
+  (0.4ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:07.774981', "options" = '---
85134
+ :test_group_names:
85135
+ - Options 1
85136
+ - Options 2
85137
+ ', "test_group_data" = '--- {}
85138
+
85139
+ ' WHERE "i_wonder_ab_tests"."id" = 76
85140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85141
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85142
+  (0.1ms) SAVEPOINT active_record_1
85143
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
85144
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 76], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85146
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85147
+  (0.1ms) SAVEPOINT active_record_1
85148
+  (0.3ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:07.781113', "options" = '---
85149
+ :test_group_names:
85150
+ - Options 1
85151
+ - Options 2
85152
+ ', "test_group_data" = '--- {}
85153
+
85154
+ ' WHERE "i_wonder_ab_tests"."id" = 76
85155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85156
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85157
+  (0.1ms) SAVEPOINT active_record_1
85158
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
85159
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 76], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85161
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85162
+  (0.2ms) ROLLBACK
85163
+  (0.1ms) BEGIN
85164
+  (0.1ms) SAVEPOINT active_record_1
85165
+  (0.3ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
85166
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85167
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85168
+  (0.1ms) SAVEPOINT active_record_1
85169
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85170
+ SQL (0.1ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 77], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
85171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85172
+  (0.1ms) SAVEPOINT active_record_1
85173
+  (0.4ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = 'random_1') LIMIT 1
85174
+ SQL (0.4ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "random_1"], ["member_type", "account"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85176
+  (0.1ms) SAVEPOINT active_record_1
85177
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = 'random_2') LIMIT 1
85178
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "random_2"], ["member_type", "user"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85180
+  (0.1ms) SAVEPOINT active_record_1
85181
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = 'random_3') LIMIT 1
85182
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "random_3"], ["member_type", "session"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85184
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
85185
+  (0.1ms) SAVEPOINT active_record_1
85186
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
85187
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85189
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
85190
+  (0.0ms) SAVEPOINT active_record_1
85191
+  (0.3ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:07.804499', "options" = '---
85192
+ :test_group_names:
85193
+ - Options 1
85194
+ - Options 2
85195
+ ', "test_group_data" = '--- {}
85196
+
85197
+ ' WHERE "i_wonder_ab_tests"."id" = 77
85198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85199
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
85200
+  (0.1ms) SAVEPOINT active_record_1
85201
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
85202
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85204
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
85205
+  (0.1ms) SAVEPOINT active_record_1
85206
+  (0.2ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:07.810172', "options" = '---
85207
+ :test_group_names:
85208
+ - Options 1
85209
+ - Options 2
85210
+ ', "test_group_data" = '--- {}
85211
+
85212
+ ' WHERE "i_wonder_ab_tests"."id" = 77
85213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85214
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
85215
+  (0.1ms) SAVEPOINT active_record_1
85216
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
85217
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85219
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
85220
+  (0.1ms) ROLLBACK
85221
+  (0.1ms) BEGIN
85222
+  (0.1ms) SAVEPOINT active_record_1
85223
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
85224
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85225
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85226
+  (0.1ms) SAVEPOINT active_record_1
85227
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85228
+ SQL (0.2ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 78], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
85229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85230
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78
85231
+ IWonder::AbTest Load (0.3ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85232
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
85233
+  (0.1ms) SAVEPOINT active_record_1
85234
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 78 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
85235
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 78], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Options 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85237
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78
85238
+ IWonder::AbTest Load (0.2ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85239
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
85240
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78
85241
+  (0.1ms) ROLLBACK
85242
+  (0.1ms) BEGIN
85243
+  (0.1ms) ROLLBACK
85244
+  (0.1ms) BEGIN
85245
+ IWonder::AbTest Load (0.2ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'non-existant test' LIMIT 1
85246
+  (0.1ms) ROLLBACK
85247
+  (0.1ms) BEGIN
85248
+  (0.1ms) ROLLBACK
85249
+  (0.1ms) BEGIN
85250
+  (0.1ms) SAVEPOINT active_record_1
85251
+  (0.3ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
85252
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85253
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85254
+ SQL (0.2ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 79], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
85255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85256
+  (0.2ms) SAVEPOINT active_record_1
85257
+ SQL (1.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Thu, 27 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "5"], ["updated_at", Thu, 27 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85259
+  (0.0ms) SAVEPOINT active_record_1
85260
+  (0.4ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '1') LIMIT 1
85261
+ SQL (0.4ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "1"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85263
+  (0.1ms) SAVEPOINT active_record_1
85264
+  (0.5ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
85265
+ SQL (0.5ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85266
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85267
+  (0.1ms) SAVEPOINT active_record_1
85268
+  (0.5ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
85269
+ SQL (0.5ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "3"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85270
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85271
+  (0.1ms) SAVEPOINT active_record_1
85272
+  (0.6ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
85273
+ SQL (0.5ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "4"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85275
+  (0.1ms) SAVEPOINT active_record_1
85276
+  (0.9ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '5') LIMIT 1
85277
+ SQL (1.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "5"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
85278
+  (0.4ms) RELEASE SAVEPOINT active_record_1
85279
+  (0.2ms) SAVEPOINT active_record_1
85280
+ SQL (0.6ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85282
+  (0.1ms) SAVEPOINT active_record_1
85283
+ SQL (0.5ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85285
+  (0.1ms) SAVEPOINT active_record_1
85286
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85288
+  (0.1ms) SAVEPOINT active_record_1
85289
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "3"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85291
+  (0.1ms) SAVEPOINT active_record_1
85292
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "4"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85294
+  (0.1ms) SAVEPOINT active_record_1
85295
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "6"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85297
+  (0.5ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1'
85298
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2'
85299
+ IWonder::AbTest Load (0.5ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."id" = 79 LIMIT 1
85300
+  (1.6ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:07.838155')
85301
+  (1.1ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:07.838155')
85302
+  (0.2ms) ROLLBACK
85303
+  (0.1ms) BEGIN
85304
+
85305
+
85306
+ Started GET "/i_wonder" for 127.0.0.1 at 2011-10-28 13:23:07 -0700
85307
+ Processing by IWonder::DashboardController#landing as HTML
85308
+ Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)
85309
+
85310
+
85311
+ Started GET "/i_wonder?block_this=true" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85312
+ Processing by IWonder::DashboardController#landing as HTML
85313
+ Parameters: {"block_this"=>"true"}
85314
+ Redirected to http://www.example.com/
85315
+ Completed 302 Found in 0ms
85316
+  (0.2ms) ROLLBACK
85317
+  (0.1ms) BEGIN
85318
+  (0.1ms) SAVEPOINT active_record_1
85319
+ SQL (0.5ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85321
+  (0.1ms) SAVEPOINT active_record_1
85322
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85324
+  (0.1ms) SAVEPOINT active_record_1
85325
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_2"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85327
+  (0.0ms) SAVEPOINT active_record_1
85328
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_3"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85330
+  (0.0ms) SAVEPOINT active_record_1
85331
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85333
+ IWonder::Event Load (1.2ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
85334
+ IWonder::Event Load (0.4ms) SELECT COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'test_event_1' GROUP BY event_type
85335
+  (0.2ms) ROLLBACK
85336
+  (0.1ms) BEGIN
85337
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
85338
+  (0.1ms) SAVEPOINT active_record_1
85339
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85341
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
85342
+  (0.1ms) ROLLBACK
85343
+  (0.1ms) BEGIN
85344
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
85345
+  (0.1ms) SAVEPOINT active_record_1
85346
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85348
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
85349
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85350
+  (0.1ms) ROLLBACK
85351
+  (0.1ms) BEGIN
85352
+ SQL (0.1ms) DELETE FROM "i_wonder_events"
85353
+  (0.1ms) SAVEPOINT active_record_1
85354
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85356
+  (0.1ms) SAVEPOINT active_record_1
85357
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85359
+  (0.1ms) SAVEPOINT active_record_1
85360
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", 1]]
85361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85362
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
85363
+ SQL (0.4ms) UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '123' AND user_id IS NULL)
85364
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
85365
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'
85366
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor'
85367
+  (0.1ms) SAVEPOINT active_record_1
85368
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85370
+  (0.1ms) SAVEPOINT active_record_1
85371
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85373
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
85374
+ SQL (0.3ms) UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '321' AND user_id IS NULL)
85375
+ SQL (0.4ms) UPDATE "i_wonder_events" SET "event_type" = 'return_visit' WHERE (user_id = '1' AND event_type = 'new_visitor' AND id <> 581)
85376
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."id" = $1 LIMIT 1 [["id", 584]]
85377
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'
85378
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'new_visitor'
85379
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'return_visit'
85380
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '321'
85381
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
85382
+  (0.1ms) ROLLBACK
85383
+  (0.1ms) BEGIN
85384
+
85385
+
85386
+ Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85387
+ Processing by IWonder::EventsController#index as HTML
85388
+ IWonder::Event Load (0.5ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
85389
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.5ms)
85390
+  (0.2ms) ROLLBACK
85391
+  (0.1ms) BEGIN
85392
+  (0.0ms) SAVEPOINT active_record_1
85393
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85394
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 505]]
85395
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85396
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 25 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 24 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85397
+  (0.0ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-09-24 07:00:01.000000', "options" = '---
85398
+ :collection_type: custom
85399
+ :takes_snapshots: true
85400
+ ' WHERE "i_wonder_metrics"."id" = 505
85401
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85402
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85403
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 26 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 25 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85404
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85405
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85406
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 27 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 26 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85407
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85408
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85409
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 28 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 27 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85410
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85411
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85412
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 29 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 28 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85413
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85414
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85415
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 30 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 29 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85416
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85417
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85418
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 01 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 30 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85419
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85420
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85421
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 02 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 01 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85422
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85423
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85424
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 03 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 02 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85425
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85426
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85427
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 04 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 03 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85428
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85429
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85430
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 05 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 04 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85431
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85432
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85433
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 06 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 05 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85434
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85435
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85436
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 07 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 06 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85437
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85438
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85439
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 08 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 07 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85440
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85441
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85442
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 09 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 08 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85443
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85444
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85445
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 10 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 09 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85446
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85447
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85448
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 11 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 10 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85449
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85450
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85451
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 12 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 11 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85452
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85453
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85454
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 13 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 12 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85455
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85456
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85457
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 14 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 13 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85458
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85459
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85460
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 15 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 14 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85461
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85462
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85463
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 16 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 15 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85464
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85465
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85466
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 17 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 16 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85467
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85468
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85469
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 18 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 17 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85470
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85471
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85472
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 18 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85473
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85474
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85475
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 19 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85476
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85477
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85478
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85479
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85480
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85481
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85482
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85483
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85484
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85485
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85486
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
85487
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85488
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
85489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85490
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 505]]
85491
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505
85492
+  (0.2ms) ROLLBACK
85493
+  (0.1ms) BEGIN
85494
+  (0.0ms) SAVEPOINT active_record_1
85495
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85497
+  (0.0ms) SAVEPOINT active_record_1
85498
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85500
+  (0.0ms) SAVEPOINT active_record_1
85501
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 506], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85503
+  (0.0ms) SAVEPOINT active_record_1
85504
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 0], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 506], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85506
+  (0.0ms) SAVEPOINT active_record_1
85507
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 9], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 506], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85509
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 506 ORDER BY end_time DESC LIMIT 1
85510
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 507 ORDER BY end_time DESC LIMIT 1
85511
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 506 ORDER BY end_time DESC LIMIT 1
85512
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 507 ORDER BY end_time DESC LIMIT 1
85513
+  (0.1ms) ROLLBACK
85514
+  (0.1ms) BEGIN
85515
+  (0.0ms) SAVEPOINT active_record_1
85516
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 3"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85518
+  (0.0ms) SAVEPOINT active_record_1
85519
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85521
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
85522
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
85523
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
85524
+  (0.0ms) SAVEPOINT active_record_1
85525
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
85526
+  (0.0ms) SAVEPOINT active_record_1
85527
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 508 LIMIT 1
85528
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85530
+  (0.0ms) SAVEPOINT active_record_1
85531
+  (0.0ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-10-21 07:00:01.000000', "options" = '---
85532
+ :collection_type: custom
85533
+ :takes_snapshots: true
85534
+ ' WHERE "i_wonder_metrics"."id" = 508
85535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85536
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
85537
+  (0.0ms) SAVEPOINT active_record_1
85538
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
85539
+  (0.0ms) SAVEPOINT active_record_1
85540
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 508 LIMIT 1
85541
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85543
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
85544
+  (0.0ms) SAVEPOINT active_record_1
85545
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
85546
+  (0.0ms) SAVEPOINT active_record_1
85547
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 508 LIMIT 1
85548
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85550
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
85551
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508
85552
+  (0.2ms) ROLLBACK
85553
+  (0.1ms) BEGIN
85554
+  (0.0ms) SAVEPOINT active_record_1
85555
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "3"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85557
+  (0.0ms) SAVEPOINT active_record_1
85558
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
85559
+  (0.1ms) ROLLBACK
85560
+  (0.1ms) BEGIN
85561
+  (0.0ms) SAVEPOINT active_record_1
85562
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85564
+  (0.0ms) SAVEPOINT active_record_1
85565
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85567
+  (0.0ms) SAVEPOINT active_record_1
85568
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85570
+  (0.0ms) SAVEPOINT active_record_1
85571
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85573
+  (0.0ms) SAVEPOINT active_record_1
85574
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 4\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85576
+  (0.0ms) SAVEPOINT active_record_1
85577
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 5\nkey_2: 3\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85579
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 510 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
85580
+  (0.2ms) ROLLBACK
85581
+  (0.1ms) BEGIN
85582
+  (0.0ms) SAVEPOINT active_record_1
85583
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85585
+  (0.0ms) SAVEPOINT active_record_1
85586
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85588
+  (0.0ms) SAVEPOINT active_record_1
85589
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85591
+  (0.0ms) SAVEPOINT active_record_1
85592
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85594
+  (0.0ms) SAVEPOINT active_record_1
85595
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85597
+  (0.0ms) SAVEPOINT active_record_1
85598
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85600
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 511 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
85601
+  (0.1ms) ROLLBACK
85602
+  (0.1ms) BEGIN
85603
+  (0.0ms) SAVEPOINT active_record_1
85604
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85606
+  (0.0ms) SAVEPOINT active_record_1
85607
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85609
+  (0.0ms) SAVEPOINT active_record_1
85610
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85612
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 512 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
85613
+  (0.0ms) SAVEPOINT active_record_1
85614
+  (0.0ms) UPDATE "i_wonder_metrics" SET "options" = '---
85615
+ :collection_type: custom
85616
+ :takes_snapshots: true
85617
+ :combination_rule: average
85618
+ ' WHERE "i_wonder_metrics"."id" = 512
85619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85620
+  (0.0ms) SAVEPOINT active_record_1
85621
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85623
+  (0.0ms) SAVEPOINT active_record_1
85624
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85626
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 512 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
85627
+  (0.1ms) ROLLBACK
85628
+  (0.1ms) BEGIN
85629
+ IWonder::Metric Load (0.2ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics"
85630
+  (0.2ms) SAVEPOINT active_record_1
85631
+  (0.6ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 1' LIMIT 1
85632
+ SQL (0.7ms) INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["description", nil], ["name", "Report 1"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85634
+  (0.1ms) SAVEPOINT active_record_1
85635
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 4"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85636
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85637
+  (0.1ms) SAVEPOINT active_record_1
85638
+  (0.3ms) UPDATE "i_wonder_metrics" SET "collection_method" = 'IWonder::Report.find(43).destroy; 1', "updated_at" = '2011-10-28 20:23:08.454599', "options" = '---
85639
+ :collection_type: custom
85640
+ :takes_snapshots: true
85641
+ ' WHERE "i_wonder_metrics"."id" = 513
85642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85643
+ IWonder::Snapshot Load (0.3ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 513 ORDER BY end_time DESC LIMIT 1
85644
+  (0.1ms) SAVEPOINT active_record_1
85645
+ IWonder::Report Load (0.4ms) SELECT "i_wonder_reports".* FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 LIMIT 1 [["id", 43]]
85646
+ SQL (0.3ms) DELETE FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 [["id", 43]]
85647
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85648
+  (0.0ms) SAVEPOINT active_record_1
85649
+ IWonder::Metric Load (0.3ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 513 LIMIT 1
85650
+ SQL (0.5ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["end_time", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["metric_id", 513], ["start_time", Thu, 27 Oct 2011 20:23:08 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85652
+  (0.0ms) SAVEPOINT active_record_1
85653
+  (0.4ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2011-10-27 20:23:08.457062', "updated_at" = '2011-10-28 20:23:08.463112', "options" = '---
85654
+ :collection_type: custom
85655
+ :takes_snapshots: true
85656
+ ' WHERE "i_wonder_metrics"."id" = 513
85657
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85658
+ IWonder::Snapshot Load (0.3ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 513 ORDER BY end_time DESC LIMIT 1
85659
+ IWonder::Metric Load (0.2ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 513]]
85660
+  (0.3ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = 43 LIMIT 1
85661
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 513
85662
+  (0.1ms) ROLLBACK
85663
+  (0.1ms) BEGIN
85664
+ SQL (0.2ms) DELETE FROM "i_wonder_metrics"
85665
+  (0.1ms) SAVEPOINT active_record_1
85666
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 5"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85667
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85668
+  (0.1ms) SAVEPOINT active_record_1
85669
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 19:53:08 UTC +00:00], ["name", "Measurement 6"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85671
+  (0.1ms) SAVEPOINT active_record_1
85672
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 18:53:08 UTC +00:00], ["name", "Measurement 7"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85674
+  (0.1ms) SAVEPOINT active_record_1
85675
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Fri, 28 Oct 2011 18:53:08 UTC +00:00], ["name", "Measurement 8"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85677
+  (0.1ms) SAVEPOINT active_record_1
85678
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["name", "Measurement 9"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85680
+  (0.1ms) SAVEPOINT active_record_1
85681
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Measurement 10"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85682
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85683
+  (0.1ms) SAVEPOINT active_record_1
85684
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", true], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 11"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85685
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85686
+  (1.0ms) SELECT COUNT(*) FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
85687
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
85688
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
85689
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
85690
+  (0.2ms) ROLLBACK
85691
+  (0.1ms) BEGIN
85692
+  (0.1ms) SAVEPOINT active_record_1
85693
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 12"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85695
+  (0.2ms) ROLLBACK
85696
+  (0.1ms) BEGIN
85697
+  (0.1ms) SAVEPOINT active_record_1
85698
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "test name"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85700
+  (0.1ms) SAVEPOINT active_record_1
85701
+  (0.4ms) UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:08.504723', "options" = '---
85702
+ :collection_type: event_counter
85703
+ :event_counter_event:
85704
+ :takes_snapshots: true
85705
+ ' WHERE "i_wonder_metrics"."id" = 522
85706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85707
+  (0.1ms) SAVEPOINT active_record_1
85708
+  (0.4ms) UPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:08.507079', "options" = '---
85709
+ :collection_type: event_counter
85710
+ :event_counter_event:
85711
+ :takes_snapshots: false
85712
+ ' WHERE "i_wonder_metrics"."id" = 522
85713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85714
+  (0.1ms) SAVEPOINT active_record_1
85715
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:08.509436', "options" = '---
85716
+ :collection_type: event_counter
85717
+ :event_counter_event:
85718
+ :takes_snapshots: true
85719
+ ' WHERE "i_wonder_metrics"."id" = 522
85720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85721
+  (0.1ms) SAVEPOINT active_record_1
85722
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:08.511624', "options" = '---
85723
+ :collection_type: event_counter
85724
+ :event_counter_event:
85725
+ :takes_snapshots: false
85726
+ ' WHERE "i_wonder_metrics"."id" = 522
85727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85728
+  (0.1ms) ROLLBACK
85729
+  (0.1ms) BEGIN
85730
+  (0.1ms) SAVEPOINT active_record_1
85731
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 13"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85733
+  (0.2ms) ROLLBACK
85734
+  (0.1ms) BEGIN
85735
+  (0.1ms) SAVEPOINT active_record_1
85736
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"hit\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Hits"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: hit\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85738
+  (0.1ms) SAVEPOINT active_record_1
85739
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85740
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85741
+  (0.1ms) SAVEPOINT active_record_1
85742
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["event_type", :hit], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85744
+  (0.0ms) SAVEPOINT active_record_1
85745
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
85746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85747
+  (0.1ms) SAVEPOINT active_record_1
85748
+  (0.5ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'hit' AND (created_at >= '2011-10-27 20:23:08.528163' AND created_at < '2011-10-28 20:23:08.528270')
85749
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85750
+  (0.1ms) ROLLBACK
85751
+  (0.1ms) BEGIN
85752
+  (0.0ms) SAVEPOINT active_record_1
85753
+ SQL (0.5ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "Account.where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Accounts"], ["options", "--- \n:collection_type: model_counter\n:model_counter_class: Account\n:model_counter_scopes: \n:model_counter_method: Creation Rate\n:combination_rule: sum\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85754
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85755
+  (0.2ms) SAVEPOINT active_record_1
85756
+ SQL (1.1ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["updated_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00]]
85757
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85758
+  (0.1ms) SAVEPOINT active_record_1
85759
+ SQL (0.4ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00]]
85760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85761
+  (0.1ms) SAVEPOINT active_record_1
85762
+ SQL (0.3ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00]]
85763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85764
+  (0.0ms) SAVEPOINT active_record_1
85765
+  (0.5ms) SELECT COUNT(*) FROM "accounts" WHERE (created_at >= '2011-10-27 20:23:08.582976' AND created_at < '2011-10-28 20:23:08.583122')
85766
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85767
+  (0.0ms) SAVEPOINT active_record_1
85768
+  (0.4ms) UPDATE "i_wonder_metrics" SET "collection_method" = 'Account.where("created_at < ?", end_time).count', "updated_at" = '2011-10-28 20:23:08.585454', "options" = '---
85769
+ :collection_type: model_counter
85770
+ :model_counter_class: Account
85771
+ :model_counter_scopes:
85772
+ :model_counter_method: Total Number
85773
+ :combination_rule: average
85774
+ :takes_snapshots: false
85775
+ ' WHERE "i_wonder_metrics"."id" = 525
85776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85777
+  (0.0ms) SAVEPOINT active_record_1
85778
+  (0.3ms) SELECT COUNT(*) FROM "accounts" WHERE (created_at < '2011-10-28 20:23:08.587241')
85779
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85780
+  (0.1ms) SAVEPOINT active_record_1
85781
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85782
+  (0.1ms) SAVEPOINT active_record_1
85783
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85784
+  (0.1ms) ROLLBACK
85785
+  (0.1ms) BEGIN
85786
+
85787
+
85788
+ Started POST "/i_wonder/metrics" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85789
+ Processing by IWonder::MetricsController#create as HTML
85790
+ Parameters: {"metric"=>{"name"=>"New Metric"}}
85791
+  (0.2ms) SAVEPOINT active_record_1
85792
+ SQL (0.5ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "New Metric"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
85793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85794
+ Redirected to http://www.example.com/i_wonder/metrics/526
85795
+ Completed 302 Found in 5ms
85796
+  (0.2ms) ROLLBACK
85797
+  (0.2ms) BEGIN
85798
+  (0.0ms) SAVEPOINT active_record_1
85799
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85801
+  (0.0ms) SAVEPOINT active_record_1
85802
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 527], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85804
+  (0.0ms) SAVEPOINT active_record_1
85805
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 527], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85807
+  (0.0ms) SAVEPOINT active_record_1
85808
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 527], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85810
+  (0.0ms) SAVEPOINT active_record_1
85811
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85813
+  (0.0ms) SAVEPOINT active_record_1
85814
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 528], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85816
+  (0.0ms) SAVEPOINT active_record_1
85817
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 528], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85819
+  (0.0ms) SAVEPOINT active_record_1
85820
+  (0.0ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 2' LIMIT 1
85821
+ SQL (0.0ms) INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["description", nil], ["name", "Report 2"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
85822
+ SQL (0.0ms) INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 527], ["report_id", 44]]
85823
+ SQL (0.0ms) INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 528], ["report_id", 44]]
85824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85825
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 44
85826
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 44
85827
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 527 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
85828
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 528 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
85829
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 527 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
85830
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 528 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
85831
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 527 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
85832
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 528 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
85833
+  (0.1ms) ROLLBACK
85834
+  (0.1ms) BEGIN
85835
+  (0.1ms) ROLLBACK
85836
+  (0.1ms) BEGIN
85837
+  (0.1ms) ROLLBACK
85838
+  (0.1ms) BEGIN
85839
+ Processing by TestController#test_with_report as HTML
85840
+ Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
85841
+  (0.1ms) ROLLBACK
85842
+  (0.1ms) BEGIN
85843
+ Processing by TestController#test_without_report as HTML
85844
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85845
+  (0.2ms) ROLLBACK
85846
+  (0.1ms) BEGIN
85847
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
85848
+
85849
+
85850
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85851
+ Processing by TestController#test_without_report as HTML
85852
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85853
+  (0.2ms) SAVEPOINT active_record_1
85854
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '5e2dcb809967c6170252', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:08.722422', '2011-10-28 20:23:08.722435')
85855
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5e2dcb809967c6170252', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:08.723155', '2011-10-28 20:23:08.723165')
85856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85857
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" 
85858
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85859
+ IWonder::Event Load (0.6ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
85860
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85861
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85862
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85863
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85864
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85865
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85866
+
85867
+
85868
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85869
+ Processing by TestController#test_without_report as HTML
85870
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85871
+  (0.1ms) SAVEPOINT active_record_1
85872
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5e2dcb809967c6170252', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.733355', '2011-10-28 20:23:08.733365')
85873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85874
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
85875
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
85876
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
85877
+  (0.1ms) ROLLBACK
85878
+  (0.1ms) BEGIN
85879
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
85880
+
85881
+
85882
+ Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85883
+ Processing by TestController#test_without_login as HTML
85884
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
85885
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" 
85886
+  (0.1ms) ROLLBACK
85887
+  (0.1ms) BEGIN
85888
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
85889
+
85890
+
85891
+ Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85892
+ Processing by IWonder::EventsController#index as HTML
85893
+ IWonder::Event Load (0.4ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
85894
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)
85895
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events"
85896
+  (0.1ms) ROLLBACK
85897
+  (0.1ms) BEGIN
85898
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
85899
+
85900
+
85901
+ Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85902
+ Processing by TestController#test_redirect as HTML
85903
+ Redirected to http://www.example.comtest_without_login
85904
+ Completed 302 Found in 0ms
85905
+  (0.1ms) SAVEPOINT active_record_1
85906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85907
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events"
85908
+  (0.1ms) ROLLBACK
85909
+  (0.1ms) BEGIN
85910
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
85911
+
85912
+
85913
+ Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85914
+ Processing by TestController#test_redirect as HTML
85915
+ Redirected to http://www.example.comtest_without_login
85916
+ Completed 302 Found in 0ms
85917
+  (0.2ms) SAVEPOINT active_record_1
85918
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'bfcc668a000188292bdf', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.759319', '2011-10-28 20:23:08.759331')
85919
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'bfcc668a000188292bdf', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.760039', '2011-10-28 20:23:08.760049')
85920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85921
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events"
85922
+  (0.1ms) ROLLBACK
85923
+  (0.1ms) BEGIN
85924
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
85925
+
85926
+
85927
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:08 -0700
85928
+ Processing by TestController#test_without_report as HTML
85929
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
85930
+  (0.2ms) SAVEPOINT active_record_1
85931
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '13ce8e987353a4d1be80', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:08.766393', '2011-10-28 17:23:08.766423')
85932
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '13ce8e987353a4d1be80', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:08.767251', '2011-10-28 17:23:08.767281')
85933
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85934
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_events"
85935
+
85936
+
85937
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:08 -0700
85938
+ Processing by TestController#test_without_report as HTML
85939
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85940
+  (0.2ms) SAVEPOINT active_record_1
85941
+  (0.5ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '13ce8e987353a4d1be80', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:08.773825', '2011-10-28 17:23:08.773857')
85942
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85943
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_events"
85944
+
85945
+
85946
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85947
+ Processing by TestController#test_without_report as HTML
85948
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85949
+  (0.2ms) ROLLBACK
85950
+  (0.1ms) BEGIN
85951
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
85952
+
85953
+
85954
+ Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85955
+ Processing by TestController#test_without_login as HTML
85956
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
85957
+  (0.2ms) SAVEPOINT active_record_1
85958
+  (0.5ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', NULL, NULL, 'a81ac48fd275887067a8', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.784249', '2011-10-28 20:23:08.784263')
85959
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', NULL, NULL, 'a81ac48fd275887067a8', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.785054', '2011-10-28 20:23:08.785066')
85960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85961
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_events"
85962
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
85963
+
85964
+
85965
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
85966
+ Processing by TestController#test_without_report as HTML
85967
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
85968
+ IWonder::Event Load (0.5ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 2 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
85969
+ SQL (0.4ms) UPDATE "i_wonder_events" SET "user_id" = '2', "session_id" = 'a81ac48fd275887067a8' WHERE (session_id = 'a81ac48fd275887067a8' AND user_id IS NULL)
85970
+  (0.1ms) SAVEPOINT active_record_1
85971
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a81ac48fd275887067a8', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.793796', '2011-10-28 20:23:08.793812')
85972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85973
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_events" 
85974
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
85975
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('blah blah', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-10-28 20:23:08.797212', '2011-10-28 20:23:08.797231')
85976
+ IWonder::Event Load (0.5ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
85977
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
85978
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
85979
+  (0.2ms) ROLLBACK
85980
+  (0.2ms) BEGIN
85981
+  (0.2ms) SAVEPOINT active_record_1
85982
+  (1.1ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
85983
+  (0.3ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
85984
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
85985
+  (0.0ms) SAVEPOINT active_record_1
85986
+ SQL (2.8ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
85987
+ SQL (0.6ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 80], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
85988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85989
+ IWonder::TestGroupMembership Load (0.8ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85990
+  (0.1ms) SAVEPOINT active_record_1
85991
+  (0.4ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
85992
+ SQL (0.8ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 80], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
85993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85994
+ IWonder::TestGroupMembership Load (0.4ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
85995
+  (0.1ms) SAVEPOINT active_record_1
85996
+  (0.3ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:38.721648', "options" = '---
85997
+ :test_group_names:
85998
+ - Options 1
85999
+ - Options 2
86000
+ ', "test_group_data" = '--- {}
86001
+
86002
+ ' WHERE "i_wonder_ab_tests"."id" = 80
86003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86004
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86005
+  (0.0ms) SAVEPOINT active_record_1
86006
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
86007
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 80], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86009
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86010
+  (0.1ms) SAVEPOINT active_record_1
86011
+  (0.3ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:38.727124', "options" = '---
86012
+ :test_group_names:
86013
+ - Options 1
86014
+ - Options 2
86015
+ ', "test_group_data" = '--- {}
86016
+
86017
+ ' WHERE "i_wonder_ab_tests"."id" = 80
86018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86019
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86020
+  (0.0ms) SAVEPOINT active_record_1
86021
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
86022
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 80], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86024
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86025
+  (0.3ms) ROLLBACK
86026
+  (0.1ms) BEGIN
86027
+  (0.1ms) SAVEPOINT active_record_1
86028
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86029
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86030
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86031
+  (0.1ms) SAVEPOINT active_record_1
86032
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86033
+ SQL (0.1ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 81], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86035
+  (0.1ms) SAVEPOINT active_record_1
86036
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = 'random_1') LIMIT 1
86037
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "random_1"], ["member_type", "account"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86038
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86039
+  (0.1ms) SAVEPOINT active_record_1
86040
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = 'random_2') LIMIT 1
86041
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "random_2"], ["member_type", "user"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86043
+  (0.1ms) SAVEPOINT active_record_1
86044
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = 'random_3') LIMIT 1
86045
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "random_3"], ["member_type", "session"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86047
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86048
+  (0.1ms) SAVEPOINT active_record_1
86049
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86050
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86052
+ IWonder::TestGroupMembership Load (0.2ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86053
+  (0.0ms) SAVEPOINT active_record_1
86054
+  (0.2ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:38.748423', "options" = '---
86055
+ :test_group_names:
86056
+ - Options 1
86057
+ - Options 2
86058
+ ', "test_group_data" = '--- {}
86059
+
86060
+ ' WHERE "i_wonder_ab_tests"."id" = 81
86061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86062
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
86063
+  (0.1ms) SAVEPOINT active_record_1
86064
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
86065
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86067
+ IWonder::TestGroupMembership Load (0.4ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
86068
+  (0.1ms) SAVEPOINT active_record_1
86069
+  (0.3ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:38.753638', "options" = '---
86070
+ :test_group_names:
86071
+ - Options 1
86072
+ - Options 2
86073
+ ', "test_group_data" = '--- {}
86074
+
86075
+ ' WHERE "i_wonder_ab_tests"."id" = 81
86076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86077
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
86078
+  (0.1ms) SAVEPOINT active_record_1
86079
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
86080
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86082
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
86083
+  (0.1ms) ROLLBACK
86084
+  (0.1ms) BEGIN
86085
+  (0.1ms) SAVEPOINT active_record_1
86086
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86087
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86088
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86089
+  (0.1ms) SAVEPOINT active_record_1
86090
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86091
+ SQL (0.2ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 82], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86093
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82
86094
+ IWonder::AbTest Load (0.3ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86095
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86096
+  (0.1ms) SAVEPOINT active_record_1
86097
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 82 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86098
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 82], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Options 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86099
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86100
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82
86101
+ IWonder::AbTest Load (0.3ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86102
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86103
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82
86104
+  (0.1ms) ROLLBACK
86105
+  (0.1ms) BEGIN
86106
+  (0.0ms) ROLLBACK
86107
+  (0.1ms) BEGIN
86108
+ IWonder::AbTest Load (0.2ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'non-existant test' LIMIT 1
86109
+  (0.0ms) ROLLBACK
86110
+  (0.1ms) BEGIN
86111
+  (0.1ms) ROLLBACK
86112
+  (0.1ms) BEGIN
86113
+  (0.1ms) SAVEPOINT active_record_1
86114
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86115
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86116
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86117
+ SQL (0.2ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 83], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86119
+  (0.1ms) SAVEPOINT active_record_1
86120
+ SQL (1.1ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Thu, 27 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "5"], ["updated_at", Thu, 27 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86122
+  (0.0ms) SAVEPOINT active_record_1
86123
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '1') LIMIT 1
86124
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "1"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86126
+  (0.0ms) SAVEPOINT active_record_1
86127
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86128
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86130
+  (0.0ms) SAVEPOINT active_record_1
86131
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
86132
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "3"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86134
+  (0.0ms) SAVEPOINT active_record_1
86135
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
86136
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "4"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86138
+  (0.0ms) SAVEPOINT active_record_1
86139
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '5') LIMIT 1
86140
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "5"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
86141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86142
+  (0.1ms) SAVEPOINT active_record_1
86143
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86145
+  (0.0ms) SAVEPOINT active_record_1
86146
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86148
+  (0.0ms) SAVEPOINT active_record_1
86149
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86151
+  (0.0ms) SAVEPOINT active_record_1
86152
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "3"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86154
+  (0.0ms) SAVEPOINT active_record_1
86155
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "4"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86157
+  (0.0ms) SAVEPOINT active_record_1
86158
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "6"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86160
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1'
86161
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2'
86162
+ IWonder::AbTest Load (0.4ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."id" = 83 LIMIT 1
86163
+  (1.0ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:38.779104')
86164
+  (0.5ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:38.779104')
86165
+  (0.1ms) ROLLBACK
86166
+  (0.1ms) BEGIN
86167
+
86168
+
86169
+ Started GET "/i_wonder" for 127.0.0.1 at 2011-10-28 13:23:38 -0700
86170
+ Processing by IWonder::DashboardController#landing as HTML
86171
+ Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms)
86172
+
86173
+
86174
+ Started GET "/i_wonder?block_this=true" for 127.0.0.1 at 2011-10-28 13:23:38 -0700
86175
+ Processing by IWonder::DashboardController#landing as HTML
86176
+ Parameters: {"block_this"=>"true"}
86177
+ Redirected to http://www.example.com/
86178
+ Completed 302 Found in 0ms
86179
+  (0.2ms) ROLLBACK
86180
+  (0.1ms) BEGIN
86181
+  (0.1ms) SAVEPOINT active_record_1
86182
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86184
+  (0.0ms) SAVEPOINT active_record_1
86185
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86187
+  (0.0ms) SAVEPOINT active_record_1
86188
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_2"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86190
+  (0.0ms) SAVEPOINT active_record_1
86191
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_3"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86193
+  (0.0ms) SAVEPOINT active_record_1
86194
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86196
+ IWonder::Event Load (1.1ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
86197
+ IWonder::Event Load (0.3ms) SELECT COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'test_event_1' GROUP BY event_type
86198
+  (0.1ms) ROLLBACK
86199
+  (0.1ms) BEGIN
86200
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
86201
+  (0.1ms) SAVEPOINT active_record_1
86202
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86204
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
86205
+  (0.1ms) ROLLBACK
86206
+  (0.1ms) BEGIN
86207
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86208
+  (0.1ms) SAVEPOINT active_record_1
86209
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86211
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86212
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86213
+  (0.1ms) ROLLBACK
86214
+  (0.1ms) BEGIN
86215
+ SQL (0.2ms) DELETE FROM "i_wonder_events"
86216
+  (0.1ms) SAVEPOINT active_record_1
86217
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86219
+  (0.1ms) SAVEPOINT active_record_1
86220
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86222
+  (0.1ms) SAVEPOINT active_record_1
86223
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", 1]]
86224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86225
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
86226
+ SQL (0.3ms) UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '123' AND user_id IS NULL)
86227
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
86228
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'
86229
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor'
86230
+  (0.0ms) SAVEPOINT active_record_1
86231
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86233
+  (0.0ms) SAVEPOINT active_record_1
86234
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86236
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
86237
+ SQL (0.3ms) UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '321' AND user_id IS NULL)
86238
+ SQL (0.4ms) UPDATE "i_wonder_events" SET "event_type" = 'return_visit' WHERE (user_id = '1' AND event_type = 'new_visitor' AND id <> 615)
86239
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."id" = $1 LIMIT 1 [["id", 618]]
86240
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'
86241
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'new_visitor'
86242
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'return_visit'
86243
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '321'
86244
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
86245
+  (0.1ms) ROLLBACK
86246
+  (0.1ms) BEGIN
86247
+
86248
+
86249
+ Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:38 -0700
86250
+ Processing by IWonder::EventsController#index as HTML
86251
+ IWonder::Event Load (0.4ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
86252
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.4ms)
86253
+  (0.1ms) ROLLBACK
86254
+  (0.1ms) BEGIN
86255
+  (0.0ms) SAVEPOINT active_record_1
86256
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86257
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 529]]
86258
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86259
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 25 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 24 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86260
+  (0.0ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-09-24 07:00:01.000000', "options" = '---
86261
+ :collection_type: custom
86262
+ :takes_snapshots: true
86263
+ ' WHERE "i_wonder_metrics"."id" = 529
86264
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86265
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86266
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 26 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 25 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86267
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86268
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86269
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 27 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 26 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86270
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86271
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86272
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 28 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 27 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86273
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86274
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86275
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 29 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 28 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86276
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86277
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86278
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 30 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 29 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86279
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86280
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86281
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 01 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 30 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86282
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86283
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86284
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 02 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 01 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86285
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86286
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86287
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 03 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 02 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86288
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86289
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86290
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 04 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 03 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86291
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86292
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86293
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 05 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 04 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86294
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86295
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86296
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 06 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 05 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86297
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86298
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86299
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 07 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 06 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86300
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86301
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86302
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 08 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 07 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86303
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86304
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86305
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 09 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 08 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86306
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86307
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86308
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 10 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 09 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86309
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86310
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86311
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 11 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 10 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86312
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86313
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86314
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 12 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 11 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86315
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86316
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86317
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 13 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 12 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86318
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86319
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86320
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 14 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 13 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86321
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86322
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86323
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 15 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 14 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86324
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86325
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86326
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 16 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 15 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86327
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86328
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86329
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 17 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 16 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86330
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86331
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86332
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 18 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 17 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86333
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86334
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86335
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 18 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86336
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86337
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86338
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 19 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86339
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86340
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86341
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86342
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86343
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86344
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86345
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86346
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86347
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86348
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86349
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
86350
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86351
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
86352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86353
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 529]]
86354
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529
86355
+  (0.1ms) ROLLBACK
86356
+  (0.1ms) BEGIN
86357
+  (0.0ms) SAVEPOINT active_record_1
86358
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86360
+  (0.0ms) SAVEPOINT active_record_1
86361
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86363
+  (0.0ms) SAVEPOINT active_record_1
86364
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 530], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86366
+  (0.0ms) SAVEPOINT active_record_1
86367
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 530], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86369
+  (0.0ms) SAVEPOINT active_record_1
86370
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 7], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 530], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86372
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 530 ORDER BY end_time DESC LIMIT 1
86373
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 531 ORDER BY end_time DESC LIMIT 1
86374
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 530 ORDER BY end_time DESC LIMIT 1
86375
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 531 ORDER BY end_time DESC LIMIT 1
86376
+  (0.1ms) ROLLBACK
86377
+  (0.1ms) BEGIN
86378
+  (0.0ms) SAVEPOINT active_record_1
86379
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 3"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86381
+  (0.0ms) SAVEPOINT active_record_1
86382
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86384
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
86385
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
86386
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
86387
+  (0.0ms) SAVEPOINT active_record_1
86388
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
86389
+  (0.0ms) SAVEPOINT active_record_1
86390
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 532 LIMIT 1
86391
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86393
+  (0.0ms) SAVEPOINT active_record_1
86394
+  (0.0ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-10-21 07:00:01.000000', "options" = '---
86395
+ :collection_type: custom
86396
+ :takes_snapshots: true
86397
+ ' WHERE "i_wonder_metrics"."id" = 532
86398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86399
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
86400
+  (0.0ms) SAVEPOINT active_record_1
86401
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
86402
+  (0.0ms) SAVEPOINT active_record_1
86403
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 532 LIMIT 1
86404
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86406
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
86407
+  (0.0ms) SAVEPOINT active_record_1
86408
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
86409
+  (0.0ms) SAVEPOINT active_record_1
86410
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 532 LIMIT 1
86411
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86413
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
86414
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532
86415
+  (0.1ms) ROLLBACK
86416
+  (0.0ms) BEGIN
86417
+  (0.0ms) SAVEPOINT active_record_1
86418
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "3"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86420
+  (0.0ms) SAVEPOINT active_record_1
86421
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
86422
+  (0.1ms) ROLLBACK
86423
+  (0.1ms) BEGIN
86424
+  (0.0ms) SAVEPOINT active_record_1
86425
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86427
+  (0.0ms) SAVEPOINT active_record_1
86428
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86430
+  (0.0ms) SAVEPOINT active_record_1
86431
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86433
+  (0.0ms) SAVEPOINT active_record_1
86434
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86436
+  (0.0ms) SAVEPOINT active_record_1
86437
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 4\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86439
+  (0.0ms) SAVEPOINT active_record_1
86440
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 5\nkey_2: 3\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86442
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 534 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
86443
+  (0.2ms) ROLLBACK
86444
+  (0.1ms) BEGIN
86445
+  (0.0ms) SAVEPOINT active_record_1
86446
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86448
+  (0.0ms) SAVEPOINT active_record_1
86449
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86451
+  (0.0ms) SAVEPOINT active_record_1
86452
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86454
+  (0.0ms) SAVEPOINT active_record_1
86455
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86457
+  (0.0ms) SAVEPOINT active_record_1
86458
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86459
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86460
+  (0.0ms) SAVEPOINT active_record_1
86461
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86463
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 535 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
86464
+  (0.1ms) ROLLBACK
86465
+  (0.1ms) BEGIN
86466
+  (0.0ms) SAVEPOINT active_record_1
86467
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86469
+  (0.0ms) SAVEPOINT active_record_1
86470
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86472
+  (0.0ms) SAVEPOINT active_record_1
86473
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86475
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 536 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
86476
+  (0.0ms) SAVEPOINT active_record_1
86477
+  (0.0ms) UPDATE "i_wonder_metrics" SET "options" = '---
86478
+ :collection_type: custom
86479
+ :takes_snapshots: true
86480
+ :combination_rule: average
86481
+ ' WHERE "i_wonder_metrics"."id" = 536
86482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86483
+  (0.0ms) SAVEPOINT active_record_1
86484
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86486
+  (0.0ms) SAVEPOINT active_record_1
86487
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86489
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 536 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
86490
+  (0.2ms) ROLLBACK
86491
+  (0.1ms) BEGIN
86492
+ IWonder::Metric Load (0.3ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics"
86493
+  (0.1ms) SAVEPOINT active_record_1
86494
+  (0.5ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 1' LIMIT 1
86495
+ SQL (0.6ms) INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["description", nil], ["name", "Report 1"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86497
+  (0.0ms) SAVEPOINT active_record_1
86498
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 4"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86500
+  (0.1ms) SAVEPOINT active_record_1
86501
+  (0.3ms) UPDATE "i_wonder_metrics" SET "collection_method" = 'IWonder::Report.find(45).destroy; 1', "updated_at" = '2011-10-28 20:23:39.252056', "options" = '---
86502
+ :collection_type: custom
86503
+ :takes_snapshots: true
86504
+ ' WHERE "i_wonder_metrics"."id" = 537
86505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86506
+ IWonder::Snapshot Load (0.3ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 537 ORDER BY end_time DESC LIMIT 1
86507
+  (0.1ms) SAVEPOINT active_record_1
86508
+ IWonder::Report Load (0.4ms) SELECT "i_wonder_reports".* FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 LIMIT 1 [["id", 45]]
86509
+ SQL (0.2ms) DELETE FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 [["id", 45]]
86510
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86511
+  (0.0ms) SAVEPOINT active_record_1
86512
+ IWonder::Metric Load (0.3ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 537 LIMIT 1
86513
+ SQL (0.3ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["end_time", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["metric_id", 537], ["start_time", Thu, 27 Oct 2011 20:23:39 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86515
+  (0.1ms) SAVEPOINT active_record_1
86516
+  (0.2ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2011-10-27 20:23:39.254182', "updated_at" = '2011-10-28 20:23:39.258836', "options" = '---
86517
+ :collection_type: custom
86518
+ :takes_snapshots: true
86519
+ ' WHERE "i_wonder_metrics"."id" = 537
86520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86521
+ IWonder::Snapshot Load (0.2ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 537 ORDER BY end_time DESC LIMIT 1
86522
+ IWonder::Metric Load (0.2ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 537]]
86523
+  (0.2ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = 45 LIMIT 1
86524
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 537
86525
+  (0.1ms) ROLLBACK
86526
+  (0.1ms) BEGIN
86527
+ SQL (0.2ms) DELETE FROM "i_wonder_metrics"
86528
+  (0.1ms) SAVEPOINT active_record_1
86529
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 5"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86531
+  (0.1ms) SAVEPOINT active_record_1
86532
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 19:53:39 UTC +00:00], ["name", "Measurement 6"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86534
+  (0.1ms) SAVEPOINT active_record_1
86535
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 18:53:39 UTC +00:00], ["name", "Measurement 7"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86537
+  (0.1ms) SAVEPOINT active_record_1
86538
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Fri, 28 Oct 2011 18:53:39 UTC +00:00], ["name", "Measurement 8"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86540
+  (0.1ms) SAVEPOINT active_record_1
86541
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["name", "Measurement 9"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86542
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86543
+  (0.1ms) SAVEPOINT active_record_1
86544
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Measurement 10"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86546
+  (0.1ms) SAVEPOINT active_record_1
86547
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", true], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 11"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86549
+  (0.9ms) SELECT COUNT(*) FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
86550
+ IWonder::Metric Load (0.3ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
86551
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
86552
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
86553
+  (0.2ms) ROLLBACK
86554
+  (0.1ms) BEGIN
86555
+  (0.1ms) SAVEPOINT active_record_1
86556
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 12"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86558
+  (0.1ms) ROLLBACK
86559
+  (0.1ms) BEGIN
86560
+  (0.0ms) SAVEPOINT active_record_1
86561
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "test name"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86562
+  (0.2ms) RELEASE SAVEPOINT active_record_1
86563
+  (0.1ms) SAVEPOINT active_record_1
86564
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:39.295315', "options" = '---
86565
+ :collection_type: event_counter
86566
+ :event_counter_event:
86567
+ :takes_snapshots: true
86568
+ ' WHERE "i_wonder_metrics"."id" = 546
86569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86570
+  (0.1ms) SAVEPOINT active_record_1
86571
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:39.297558', "options" = '---
86572
+ :collection_type: event_counter
86573
+ :event_counter_event:
86574
+ :takes_snapshots: false
86575
+ ' WHERE "i_wonder_metrics"."id" = 546
86576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86577
+  (0.1ms) SAVEPOINT active_record_1
86578
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:39.298987', "options" = '---
86579
+ :collection_type: event_counter
86580
+ :event_counter_event:
86581
+ :takes_snapshots: true
86582
+ ' WHERE "i_wonder_metrics"."id" = 546
86583
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86584
+  (0.0ms) SAVEPOINT active_record_1
86585
+  (0.2ms) UPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:39.300709', "options" = '---
86586
+ :collection_type: event_counter
86587
+ :event_counter_event:
86588
+ :takes_snapshots: false
86589
+ ' WHERE "i_wonder_metrics"."id" = 546
86590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86591
+  (0.1ms) ROLLBACK
86592
+  (0.1ms) BEGIN
86593
+  (0.0ms) SAVEPOINT active_record_1
86594
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 13"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86596
+  (0.1ms) ROLLBACK
86597
+  (0.1ms) BEGIN
86598
+  (0.0ms) SAVEPOINT active_record_1
86599
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"hit\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Hits"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: hit\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86600
+  (0.2ms) RELEASE SAVEPOINT active_record_1
86601
+  (0.1ms) SAVEPOINT active_record_1
86602
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86604
+  (0.1ms) SAVEPOINT active_record_1
86605
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["event_type", :hit], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86607
+  (0.1ms) SAVEPOINT active_record_1
86608
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86610
+  (0.1ms) SAVEPOINT active_record_1
86611
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'hit' AND (created_at >= '2011-10-27 20:23:39.315057' AND created_at < '2011-10-28 20:23:39.315138')
86612
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86613
+  (0.1ms) ROLLBACK
86614
+  (0.1ms) BEGIN
86615
+  (0.0ms) SAVEPOINT active_record_1
86616
+ SQL (33.7ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "Account.where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Accounts"], ["options", "--- \n:collection_type: model_counter\n:model_counter_class: Account\n:model_counter_scopes: \n:model_counter_method: Creation Rate\n:combination_rule: sum\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86617
+  (0.2ms) RELEASE SAVEPOINT active_record_1
86618
+  (0.1ms) SAVEPOINT active_record_1
86619
+ SQL (0.7ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["updated_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00]]
86620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86621
+  (0.0ms) SAVEPOINT active_record_1
86622
+ SQL (0.2ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00]]
86623
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86624
+  (0.0ms) SAVEPOINT active_record_1
86625
+ SQL (0.2ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00]]
86626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86627
+  (0.1ms) SAVEPOINT active_record_1
86628
+  (0.3ms) SELECT COUNT(*) FROM "accounts" WHERE (created_at >= '2011-10-27 20:23:39.365044' AND created_at < '2011-10-28 20:23:39.365133')
86629
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86630
+  (0.0ms) SAVEPOINT active_record_1
86631
+  (0.3ms) UPDATE "i_wonder_metrics" SET "collection_method" = 'Account.where("created_at < ?", end_time).count', "updated_at" = '2011-10-28 20:23:39.366997', "options" = '---
86632
+ :collection_type: model_counter
86633
+ :model_counter_class: Account
86634
+ :model_counter_scopes:
86635
+ :model_counter_method: Total Number
86636
+ :combination_rule: average
86637
+ :takes_snapshots: false
86638
+ ' WHERE "i_wonder_metrics"."id" = 549
86639
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86640
+  (0.0ms) SAVEPOINT active_record_1
86641
+  (0.2ms) SELECT COUNT(*) FROM "accounts" WHERE (created_at < '2011-10-28 20:23:39.368369')
86642
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86643
+  (0.0ms) SAVEPOINT active_record_1
86644
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
86645
+  (0.0ms) SAVEPOINT active_record_1
86646
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
86647
+  (0.1ms) ROLLBACK
86648
+  (0.1ms) BEGIN
86649
+
86650
+
86651
+ Started POST "/i_wonder/metrics" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86652
+ Processing by IWonder::MetricsController#create as HTML
86653
+ Parameters: {"metric"=>{"name"=>"New Metric"}}
86654
+  (0.1ms) SAVEPOINT active_record_1
86655
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "New Metric"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
86656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86657
+ Redirected to http://www.example.com/i_wonder/metrics/550
86658
+ Completed 302 Found in 4ms
86659
+  (0.1ms) ROLLBACK
86660
+  (0.1ms) BEGIN
86661
+  (0.0ms) SAVEPOINT active_record_1
86662
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86664
+  (0.0ms) SAVEPOINT active_record_1
86665
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 551], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86667
+  (0.0ms) SAVEPOINT active_record_1
86668
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 551], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86670
+  (0.0ms) SAVEPOINT active_record_1
86671
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 551], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86673
+  (0.0ms) SAVEPOINT active_record_1
86674
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86676
+  (0.0ms) SAVEPOINT active_record_1
86677
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 552], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86679
+  (0.0ms) SAVEPOINT active_record_1
86680
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 552], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86682
+  (0.0ms) SAVEPOINT active_record_1
86683
+  (0.0ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 2' LIMIT 1
86684
+ SQL (0.0ms) INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["description", nil], ["name", "Report 2"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
86685
+ SQL (0.0ms) INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 551], ["report_id", 46]]
86686
+ SQL (0.0ms) INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 552], ["report_id", 46]]
86687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86688
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 46
86689
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 46
86690
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 551 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
86691
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 552 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
86692
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 551 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
86693
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 552 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
86694
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 551 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
86695
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 552 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
86696
+  (0.1ms) ROLLBACK
86697
+  (0.1ms) BEGIN
86698
+  (0.1ms) ROLLBACK
86699
+  (0.1ms) BEGIN
86700
+  (0.0ms) ROLLBACK
86701
+  (0.0ms) BEGIN
86702
+ Processing by TestController#test_with_report as HTML
86703
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
86704
+  (0.1ms) ROLLBACK
86705
+  (0.1ms) BEGIN
86706
+ Processing by TestController#test_without_report as HTML
86707
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
86708
+  (0.1ms) ROLLBACK
86709
+  (0.1ms) BEGIN
86710
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
86711
+
86712
+
86713
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86714
+ Processing by TestController#test_without_report as HTML
86715
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
86716
+  (0.1ms) SAVEPOINT active_record_1
86717
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'c130509a0b9c8d1021c3', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:39.453873', '2011-10-28 20:23:39.453885')
86718
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'c130509a0b9c8d1021c3', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:39.454500', '2011-10-28 20:23:39.454519')
86719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86720
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
86721
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86722
+ IWonder::Event Load (0.5ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
86723
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86724
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86725
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86726
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86727
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86728
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86729
+
86730
+
86731
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86732
+ Processing by TestController#test_without_report as HTML
86733
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
86734
+  (0.1ms) SAVEPOINT active_record_1
86735
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'c130509a0b9c8d1021c3', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.462765', '2011-10-28 20:23:39.462774')
86736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86737
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
86738
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
86739
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
86740
+  (0.1ms) ROLLBACK
86741
+  (0.1ms) BEGIN
86742
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
86743
+
86744
+
86745
+ Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86746
+ Processing by TestController#test_without_login as HTML
86747
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
86748
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" 
86749
+  (0.1ms) ROLLBACK
86750
+  (0.1ms) BEGIN
86751
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
86752
+
86753
+
86754
+ Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86755
+ Processing by IWonder::EventsController#index as HTML
86756
+ IWonder::Event Load (0.4ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
86757
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
86758
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86759
+  (0.1ms) ROLLBACK
86760
+  (0.1ms) BEGIN
86761
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
86762
+
86763
+
86764
+ Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86765
+ Processing by TestController#test_redirect as HTML
86766
+ Redirected to http://www.example.comtest_without_login
86767
+ Completed 302 Found in 0ms
86768
+  (0.1ms) SAVEPOINT active_record_1
86769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86770
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events"
86771
+  (0.1ms) ROLLBACK
86772
+  (0.1ms) BEGIN
86773
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
86774
+
86775
+
86776
+ Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86777
+ Processing by TestController#test_redirect as HTML
86778
+ Redirected to http://www.example.comtest_without_login
86779
+ Completed 302 Found in 0ms
86780
+  (0.1ms) SAVEPOINT active_record_1
86781
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '4f2411106d766b4ec324', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.486031', '2011-10-28 20:23:39.486051')
86782
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '4f2411106d766b4ec324', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.486696', '2011-10-28 20:23:39.486705')
86783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86784
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86785
+  (0.1ms) ROLLBACK
86786
+  (0.0ms) BEGIN
86787
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
86788
+
86789
+
86790
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:39 -0700
86791
+ Processing by TestController#test_without_report as HTML
86792
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
86793
+  (0.1ms) SAVEPOINT active_record_1
86794
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:39.491814', '2011-10-28 17:23:39.491839')
86795
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:39.492484', '2011-10-28 17:23:39.492509')
86796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86797
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86798
+
86799
+
86800
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:39 -0700
86801
+ Processing by TestController#test_without_report as HTML
86802
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
86803
+  (0.1ms) SAVEPOINT active_record_1
86804
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:39.497168', '2011-10-28 17:23:39.497193')
86805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86806
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86807
+
86808
+
86809
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86810
+ Processing by TestController#test_without_report as HTML
86811
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
86812
+  (0.1ms) SAVEPOINT active_record_1
86813
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('return_visit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.501542', '2011-10-28 20:23:39.501552')
86814
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.502143', '2011-10-28 20:23:39.502153')
86815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86816
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
86817
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
86818
+  (0.1ms) ROLLBACK
86819
+  (0.1ms) BEGIN
86820
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
86821
+
86822
+
86823
+ Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86824
+ Processing by TestController#test_without_login as HTML
86825
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
86826
+  (0.1ms) SAVEPOINT active_record_1
86827
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', NULL, NULL, '2b00a242a5183ba148af', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.508083', '2011-10-28 20:23:39.508094')
86828
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', NULL, NULL, '2b00a242a5183ba148af', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.508683', '2011-10-28 20:23:39.508692')
86829
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86830
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
86831
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
86832
+
86833
+
86834
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
86835
+ Processing by TestController#test_without_report as HTML
86836
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
86837
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 2 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
86838
+ SQL (0.4ms) UPDATE "i_wonder_events" SET "user_id" = '2', "session_id" = '2b00a242a5183ba148af' WHERE (session_id = '2b00a242a5183ba148af' AND user_id IS NULL)
86839
+  (0.1ms) SAVEPOINT active_record_1
86840
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '2b00a242a5183ba148af', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.515309', '2011-10-28 20:23:39.515318')
86841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86842
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" 
86843
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
86844
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('blah blah', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-10-28 20:23:39.518096', '2011-10-28 20:23:39.518106')
86845
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
86846
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
86847
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
86848
+  (0.1ms) ROLLBACK
86849
+  (0.2ms) BEGIN
86850
+  (0.2ms) SAVEPOINT active_record_1
86851
+  (1.1ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86852
+  (0.3ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86853
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86854
+  (0.0ms) SAVEPOINT active_record_1
86855
+ SQL (15.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86856
+ SQL (0.6ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 84], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86858
+ IWonder::TestGroupMembership Load (0.7ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86859
+  (0.1ms) SAVEPOINT active_record_1
86860
+  (0.4ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86861
+ SQL (0.8ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 84], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86863
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86864
+  (0.0ms) SAVEPOINT active_record_1
86865
+  (0.4ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 21:01:55.906817', "options" = '---
86866
+ :test_group_names:
86867
+ - Options 1
86868
+ - Options 2
86869
+ ', "test_group_data" = '--- {}
86870
+
86871
+ ' WHERE "i_wonder_ab_tests"."id" = 84
86872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86873
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86874
+  (0.0ms) SAVEPOINT active_record_1
86875
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
86876
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 84], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86877
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86878
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86879
+  (0.0ms) SAVEPOINT active_record_1
86880
+  (0.2ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 21:01:55.912212', "options" = '---
86881
+ :test_group_names:
86882
+ - Options 1
86883
+ - Options 2
86884
+ ', "test_group_data" = '--- {}
86885
+
86886
+ ' WHERE "i_wonder_ab_tests"."id" = 84
86887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86888
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86889
+  (0.1ms) SAVEPOINT active_record_1
86890
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
86891
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 84], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86893
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
86894
+  (0.2ms) ROLLBACK
86895
+  (0.1ms) BEGIN
86896
+  (0.1ms) SAVEPOINT active_record_1
86897
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86898
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86899
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86900
+  (0.0ms) SAVEPOINT active_record_1
86901
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86902
+ SQL (0.1ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 85], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86904
+  (0.0ms) SAVEPOINT active_record_1
86905
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = 'random_1') LIMIT 1
86906
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "random_1"], ["member_type", "account"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86908
+  (0.0ms) SAVEPOINT active_record_1
86909
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = 'random_2') LIMIT 1
86910
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "random_2"], ["member_type", "user"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86912
+  (0.1ms) SAVEPOINT active_record_1
86913
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = 'random_3') LIMIT 1
86914
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "random_3"], ["member_type", "session"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86916
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86917
+  (0.0ms) SAVEPOINT active_record_1
86918
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86919
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86921
+ IWonder::TestGroupMembership Load (0.2ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86922
+  (0.0ms) SAVEPOINT active_record_1
86923
+  (0.2ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 21:01:55.932732', "options" = '---
86924
+ :test_group_names:
86925
+ - Options 1
86926
+ - Options 2
86927
+ ', "test_group_data" = '--- {}
86928
+
86929
+ ' WHERE "i_wonder_ab_tests"."id" = 85
86930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86931
+ IWonder::TestGroupMembership Load (0.2ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
86932
+  (0.2ms) SAVEPOINT active_record_1
86933
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
86934
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86936
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
86937
+  (0.1ms) SAVEPOINT active_record_1
86938
+  (0.3ms) UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 21:01:55.937916', "options" = '---
86939
+ :test_group_names:
86940
+ - Options 1
86941
+ - Options 2
86942
+ ', "test_group_data" = '--- {}
86943
+
86944
+ ' WHERE "i_wonder_ab_tests"."id" = 85
86945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86946
+ IWonder::TestGroupMembership Load (0.2ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
86947
+  (0.0ms) SAVEPOINT active_record_1
86948
+  (0.2ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
86949
+ SQL (0.2ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86951
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
86952
+  (0.1ms) ROLLBACK
86953
+  (0.1ms) BEGIN
86954
+  (0.1ms) SAVEPOINT active_record_1
86955
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86956
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86957
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86958
+  (0.1ms) SAVEPOINT active_record_1
86959
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86960
+ SQL (0.2ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 86], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86962
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86
86963
+ IWonder::AbTest Load (0.2ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86964
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86965
+  (0.1ms) SAVEPOINT active_record_1
86966
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 86 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86967
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 86], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Options 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86969
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86
86970
+ IWonder::AbTest Load (0.3ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86971
+ IWonder::TestGroupMembership Load (0.3ms) SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
86972
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86
86973
+  (0.1ms) ROLLBACK
86974
+  (0.1ms) BEGIN
86975
+  (0.0ms) ROLLBACK
86976
+  (0.1ms) BEGIN
86977
+ IWonder::AbTest Load (0.3ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'non-existant test' LIMIT 1
86978
+  (0.1ms) ROLLBACK
86979
+  (0.1ms) BEGIN
86980
+  (0.1ms) ROLLBACK
86981
+  (0.1ms) BEGIN
86982
+  (0.1ms) SAVEPOINT active_record_1
86983
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1
86984
+  (0.2ms) SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
86985
+ SQL (0.3ms) INSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86986
+ SQL (0.2ms) INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 87], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
86987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86988
+  (0.2ms) SAVEPOINT active_record_1
86989
+ SQL (1.1ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Thu, 27 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "5"], ["updated_at", Thu, 27 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
86990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86991
+  (0.1ms) SAVEPOINT active_record_1
86992
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '1') LIMIT 1
86993
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "1"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86995
+  (0.1ms) SAVEPOINT active_record_1
86996
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
86997
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
86998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86999
+  (0.1ms) SAVEPOINT active_record_1
87000
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
87001
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "3"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
87002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87003
+  (0.1ms) SAVEPOINT active_record_1
87004
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
87005
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "4"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
87006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87007
+  (0.1ms) SAVEPOINT active_record_1
87008
+  (0.3ms) SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '5') LIMIT 1
87009
+ SQL (0.3ms) INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "5"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
87010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87011
+  (0.1ms) SAVEPOINT active_record_1
87012
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87014
+  (0.0ms) SAVEPOINT active_record_1
87015
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87016
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87017
+  (0.0ms) SAVEPOINT active_record_1
87018
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87020
+  (0.1ms) SAVEPOINT active_record_1
87021
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "3"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87023
+  (0.0ms) SAVEPOINT active_record_1
87024
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "4"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87026
+  (0.0ms) SAVEPOINT active_record_1
87027
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "6"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87029
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1'
87030
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2'
87031
+ IWonder::AbTest Load (0.7ms) SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."id" = 87 LIMIT 1
87032
+  (1.1ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 21:01:55.963044')
87033
+  (0.6ms) SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 21:01:55.963044')
87034
+  (0.2ms) ROLLBACK
87035
+  (0.1ms) BEGIN
87036
+
87037
+
87038
+ Started GET "/i_wonder" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87039
+ Processing by IWonder::DashboardController#landing as HTML
87040
+ Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms)
87041
+
87042
+
87043
+ Started GET "/i_wonder?block_this=true" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87044
+ Processing by IWonder::DashboardController#landing as HTML
87045
+ Parameters: {"block_this"=>"true"}
87046
+ Redirected to http://www.example.com/
87047
+ Completed 302 Found in 0ms
87048
+  (0.2ms) ROLLBACK
87049
+  (0.1ms) BEGIN
87050
+  (0.1ms) SAVEPOINT active_record_1
87051
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87053
+  (0.1ms) SAVEPOINT active_record_1
87054
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87056
+  (0.1ms) SAVEPOINT active_record_1
87057
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_2"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87059
+  (0.0ms) SAVEPOINT active_record_1
87060
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_3"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87061
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87062
+  (0.0ms) SAVEPOINT active_record_1
87063
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87065
+ IWonder::Event Load (1.0ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
87066
+ IWonder::Event Load (0.3ms) SELECT COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'test_event_1' GROUP BY event_type
87067
+  (0.1ms) ROLLBACK
87068
+  (0.1ms) BEGIN
87069
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
87070
+  (0.1ms) SAVEPOINT active_record_1
87071
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87073
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
87074
+  (0.1ms) ROLLBACK
87075
+  (0.1ms) BEGIN
87076
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
87077
+  (0.0ms) SAVEPOINT active_record_1
87078
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87080
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
87081
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87082
+  (0.1ms) ROLLBACK
87083
+  (0.1ms) BEGIN
87084
+ SQL (0.1ms) DELETE FROM "i_wonder_events"
87085
+  (0.1ms) SAVEPOINT active_record_1
87086
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87088
+  (0.0ms) SAVEPOINT active_record_1
87089
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87091
+  (0.1ms) SAVEPOINT active_record_1
87092
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", 1]]
87093
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87094
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
87095
+ SQL (0.4ms) UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '123' AND user_id IS NULL)
87096
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
87097
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'
87098
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor'
87099
+  (0.1ms) SAVEPOINT active_record_1
87100
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87102
+  (0.0ms) SAVEPOINT active_record_1
87103
+ SQL (0.2ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87105
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
87106
+ SQL (0.3ms) UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '321' AND user_id IS NULL)
87107
+ SQL (0.3ms) UPDATE "i_wonder_events" SET "event_type" = 'return_visit' WHERE (user_id = '1' AND event_type = 'new_visitor' AND id <> 651)
87108
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."id" = $1 LIMIT 1 [["id", 654]]
87109
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'
87110
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'new_visitor'
87111
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'return_visit'
87112
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '321'
87113
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
87114
+  (0.1ms) ROLLBACK
87115
+  (0.1ms) BEGIN
87116
+
87117
+
87118
+ Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87119
+ Processing by IWonder::EventsController#index as HTML
87120
+ IWonder::Event Load (0.4ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
87121
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.4ms)
87122
+  (0.1ms) ROLLBACK
87123
+  (0.1ms) BEGIN
87124
+  (0.0ms) SAVEPOINT active_record_1
87125
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87126
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 553]]
87127
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87128
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 25 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 24 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87129
+  (0.0ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-09-24 07:00:01.000000', "options" = '---
87130
+ :collection_type: custom
87131
+ :takes_snapshots: true
87132
+ ' WHERE "i_wonder_metrics"."id" = 553
87133
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87134
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87135
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 26 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 25 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87136
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87137
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87138
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 27 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 26 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87139
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87140
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87141
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 28 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 27 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87142
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87143
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87144
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 29 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 28 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87145
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87146
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87147
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 30 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 29 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87148
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87149
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87150
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 01 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 30 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87151
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87152
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87153
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 02 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 01 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87154
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87155
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87156
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 03 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 02 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87157
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87158
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87159
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 04 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 03 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87160
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87161
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87162
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 05 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 04 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87163
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87164
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87165
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 06 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 05 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87166
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87167
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87168
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 07 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 06 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87169
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87170
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87171
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 08 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 07 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87172
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87173
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87174
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 09 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 08 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87175
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87176
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87177
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 10 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 09 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87178
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87179
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87180
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 11 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 10 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87181
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87182
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87183
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 12 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 11 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87184
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87185
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87186
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 13 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 12 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87187
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87188
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87189
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 14 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 13 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87190
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87191
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87192
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 15 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 14 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87193
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87194
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87195
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 16 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 15 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87196
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87197
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87198
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 17 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 16 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87199
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87200
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87201
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 18 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 17 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87202
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87203
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87204
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 18 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87205
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87206
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87207
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 19 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87208
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87209
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87210
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87211
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87212
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87213
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87214
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87215
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87216
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87217
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87218
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
87219
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87220
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
87221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87222
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 553]]
87223
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553
87224
+  (0.1ms) ROLLBACK
87225
+  (0.1ms) BEGIN
87226
+  (0.0ms) SAVEPOINT active_record_1
87227
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87229
+  (0.0ms) SAVEPOINT active_record_1
87230
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87232
+  (0.0ms) SAVEPOINT active_record_1
87233
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 9], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 554], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87235
+  (0.0ms) SAVEPOINT active_record_1
87236
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 11], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 554], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87238
+  (0.0ms) SAVEPOINT active_record_1
87239
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 554], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87241
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 554 ORDER BY end_time DESC LIMIT 1
87242
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 555 ORDER BY end_time DESC LIMIT 1
87243
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 554 ORDER BY end_time DESC LIMIT 1
87244
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 555 ORDER BY end_time DESC LIMIT 1
87245
+  (0.1ms) ROLLBACK
87246
+  (0.1ms) BEGIN
87247
+  (0.0ms) SAVEPOINT active_record_1
87248
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 3"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87250
+  (0.0ms) SAVEPOINT active_record_1
87251
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87253
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
87254
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
87255
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
87256
+  (0.0ms) SAVEPOINT active_record_1
87257
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
87258
+  (0.0ms) SAVEPOINT active_record_1
87259
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 556 LIMIT 1
87260
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87262
+  (0.0ms) SAVEPOINT active_record_1
87263
+  (0.0ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-10-21 07:00:01.000000', "options" = '---
87264
+ :collection_type: custom
87265
+ :takes_snapshots: true
87266
+ ' WHERE "i_wonder_metrics"."id" = 556
87267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87268
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
87269
+  (0.0ms) SAVEPOINT active_record_1
87270
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
87271
+  (0.0ms) SAVEPOINT active_record_1
87272
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 556 LIMIT 1
87273
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87275
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
87276
+  (0.0ms) SAVEPOINT active_record_1
87277
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
87278
+  (0.0ms) SAVEPOINT active_record_1
87279
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 556 LIMIT 1
87280
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87282
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
87283
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556
87284
+  (0.2ms) ROLLBACK
87285
+  (0.1ms) BEGIN
87286
+  (0.0ms) SAVEPOINT active_record_1
87287
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "3"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87289
+  (0.0ms) SAVEPOINT active_record_1
87290
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
87291
+  (0.1ms) ROLLBACK
87292
+  (0.1ms) BEGIN
87293
+  (0.0ms) SAVEPOINT active_record_1
87294
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87296
+  (0.0ms) SAVEPOINT active_record_1
87297
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87299
+  (0.0ms) SAVEPOINT active_record_1
87300
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87302
+  (0.0ms) SAVEPOINT active_record_1
87303
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87305
+  (0.0ms) SAVEPOINT active_record_1
87306
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 4\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87308
+  (0.0ms) SAVEPOINT active_record_1
87309
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 5\nkey_2: 3\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87311
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 558 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
87312
+  (0.1ms) ROLLBACK
87313
+  (0.1ms) BEGIN
87314
+  (0.0ms) SAVEPOINT active_record_1
87315
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87317
+  (0.0ms) SAVEPOINT active_record_1
87318
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87320
+  (0.0ms) SAVEPOINT active_record_1
87321
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87323
+  (0.0ms) SAVEPOINT active_record_1
87324
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87326
+  (0.0ms) SAVEPOINT active_record_1
87327
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87329
+  (0.0ms) SAVEPOINT active_record_1
87330
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87332
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 559 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
87333
+  (0.1ms) ROLLBACK
87334
+  (0.1ms) BEGIN
87335
+  (0.0ms) SAVEPOINT active_record_1
87336
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87338
+  (0.0ms) SAVEPOINT active_record_1
87339
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87341
+  (0.0ms) SAVEPOINT active_record_1
87342
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87344
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 560 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
87345
+  (0.0ms) SAVEPOINT active_record_1
87346
+  (0.0ms) UPDATE "i_wonder_metrics" SET "options" = '---
87347
+ :collection_type: custom
87348
+ :takes_snapshots: true
87349
+ :combination_rule: average
87350
+ ' WHERE "i_wonder_metrics"."id" = 560
87351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87352
+  (0.0ms) SAVEPOINT active_record_1
87353
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87355
+  (0.0ms) SAVEPOINT active_record_1
87356
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87358
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 560 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
87359
+  (0.1ms) ROLLBACK
87360
+  (0.1ms) BEGIN
87361
+ IWonder::Metric Load (0.2ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics"
87362
+  (0.2ms) SAVEPOINT active_record_1
87363
+  (0.5ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 1' LIMIT 1
87364
+ SQL (0.7ms) INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["description", nil], ["name", "Report 1"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87365
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87366
+  (0.1ms) SAVEPOINT active_record_1
87367
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 4"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87369
+  (0.1ms) SAVEPOINT active_record_1
87370
+  (0.3ms) UPDATE "i_wonder_metrics" SET "collection_method" = 'IWonder::Report.find(47).destroy; 1', "updated_at" = '2011-10-28 21:01:56.482503', "options" = '---
87371
+ :collection_type: custom
87372
+ :takes_snapshots: true
87373
+ ' WHERE "i_wonder_metrics"."id" = 561
87374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87375
+ IWonder::Snapshot Load (0.3ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 561 ORDER BY end_time DESC LIMIT 1
87376
+  (0.1ms) SAVEPOINT active_record_1
87377
+ IWonder::Report Load (0.4ms) SELECT "i_wonder_reports".* FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 LIMIT 1 [["id", 47]]
87378
+ SQL (0.2ms) DELETE FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 [["id", 47]]
87379
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
87380
+  (0.0ms) SAVEPOINT active_record_1
87381
+ IWonder::Metric Load (0.3ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 561 LIMIT 1
87382
+ SQL (0.4ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["end_time", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["metric_id", 561], ["start_time", Thu, 27 Oct 2011 21:01:56 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87384
+  (0.1ms) SAVEPOINT active_record_1
87385
+  (0.2ms) UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2011-10-27 21:01:56.484761', "updated_at" = '2011-10-28 21:01:56.489743', "options" = '---
87386
+ :collection_type: custom
87387
+ :takes_snapshots: true
87388
+ ' WHERE "i_wonder_metrics"."id" = 561
87389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87390
+ IWonder::Snapshot Load (0.2ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 561 ORDER BY end_time DESC LIMIT 1
87391
+ IWonder::Metric Load (0.2ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 561]]
87392
+  (0.2ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = 47 LIMIT 1
87393
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 561
87394
+  (0.1ms) ROLLBACK
87395
+  (0.1ms) BEGIN
87396
+ SQL (0.2ms) DELETE FROM "i_wonder_metrics"
87397
+  (0.1ms) SAVEPOINT active_record_1
87398
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 5"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87400
+  (0.0ms) SAVEPOINT active_record_1
87401
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 20:31:56 UTC +00:00], ["name", "Measurement 6"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87402
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87403
+  (0.0ms) SAVEPOINT active_record_1
87404
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 19:31:56 UTC +00:00], ["name", "Measurement 7"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87405
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87406
+  (0.0ms) SAVEPOINT active_record_1
87407
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Fri, 28 Oct 2011 19:31:56 UTC +00:00], ["name", "Measurement 8"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87409
+  (0.0ms) SAVEPOINT active_record_1
87410
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["name", "Measurement 9"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87412
+  (0.1ms) SAVEPOINT active_record_1
87413
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Measurement 10"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87415
+  (0.0ms) SAVEPOINT active_record_1
87416
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", true], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 11"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87418
+  (1.0ms) SELECT COUNT(*) FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
87419
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
87420
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
87421
+ IWonder::Metric Load (0.4ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
87422
+  (0.1ms) ROLLBACK
87423
+  (0.1ms) BEGIN
87424
+  (0.1ms) SAVEPOINT active_record_1
87425
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 12"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87427
+  (0.1ms) ROLLBACK
87428
+  (0.0ms) BEGIN
87429
+  (0.0ms) SAVEPOINT active_record_1
87430
+ SQL (0.3ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "test name"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87432
+  (0.0ms) SAVEPOINT active_record_1
87433
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 21:01:56.525455', "options" = '---
87434
+ :collection_type: event_counter
87435
+ :event_counter_event:
87436
+ :takes_snapshots: true
87437
+ ' WHERE "i_wonder_metrics"."id" = 570
87438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87439
+  (0.1ms) SAVEPOINT active_record_1
87440
+  (0.2ms) UPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 21:01:56.527604', "options" = '---
87441
+ :collection_type: event_counter
87442
+ :event_counter_event:
87443
+ :takes_snapshots: false
87444
+ ' WHERE "i_wonder_metrics"."id" = 570
87445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87446
+  (0.0ms) SAVEPOINT active_record_1
87447
+  (0.2ms) UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 21:01:56.529050', "options" = '---
87448
+ :collection_type: event_counter
87449
+ :event_counter_event:
87450
+ :takes_snapshots: true
87451
+ ' WHERE "i_wonder_metrics"."id" = 570
87452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87453
+  (0.1ms) SAVEPOINT active_record_1
87454
+  (0.3ms) UPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 21:01:56.530896', "options" = '---
87455
+ :collection_type: event_counter
87456
+ :event_counter_event:
87457
+ :takes_snapshots: false
87458
+ ' WHERE "i_wonder_metrics"."id" = 570
87459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87460
+  (0.1ms) ROLLBACK
87461
+  (0.1ms) BEGIN
87462
+  (0.1ms) SAVEPOINT active_record_1
87463
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 13"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87464
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87465
+  (0.1ms) ROLLBACK
87466
+  (0.1ms) BEGIN
87467
+  (0.1ms) SAVEPOINT active_record_1
87468
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"hit\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Hits"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: hit\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87470
+  (0.1ms) SAVEPOINT active_record_1
87471
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87472
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87473
+  (0.1ms) SAVEPOINT active_record_1
87474
+ SQL (0.3ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["event_type", :hit], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87476
+  (0.1ms) SAVEPOINT active_record_1
87477
+ SQL (0.4ms) INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
87478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87479
+  (0.0ms) SAVEPOINT active_record_1
87480
+  (0.4ms) SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'hit' AND (created_at >= '2011-10-27 21:01:56.546567' AND created_at < '2011-10-28 21:01:56.546650')
87481
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
87482
+  (0.1ms) ROLLBACK
87483
+  (0.1ms) BEGIN
87484
+  (0.0ms) SAVEPOINT active_record_1
87485
+ SQL (0.5ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "Account.where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Accounts"], ["options", "--- \n:collection_type: model_counter\n:model_counter_class: Account\n:model_counter_scopes: \n:model_counter_method: Creation Rate\n:combination_rule: sum\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87487
+  (0.1ms) SAVEPOINT active_record_1
87488
+ SQL (0.6ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["updated_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00]]
87489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87490
+  (0.0ms) SAVEPOINT active_record_1
87491
+ SQL (0.3ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00]]
87492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87493
+  (0.1ms) SAVEPOINT active_record_1
87494
+ SQL (0.3ms) INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00]]
87495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87496
+  (0.1ms) SAVEPOINT active_record_1
87497
+  (0.5ms) SELECT COUNT(*) FROM "accounts" WHERE (created_at >= '2011-10-27 21:01:56.597896' AND created_at < '2011-10-28 21:01:56.597992')
87498
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
87499
+  (0.1ms) SAVEPOINT active_record_1
87500
+  (0.3ms) UPDATE "i_wonder_metrics" SET "collection_method" = 'Account.where("created_at < ?", end_time).count', "updated_at" = '2011-10-28 21:01:56.600457', "options" = '---
87501
+ :collection_type: model_counter
87502
+ :model_counter_class: Account
87503
+ :model_counter_scopes:
87504
+ :model_counter_method: Total Number
87505
+ :combination_rule: average
87506
+ :takes_snapshots: false
87507
+ ' WHERE "i_wonder_metrics"."id" = 573
87508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87509
+  (0.1ms) SAVEPOINT active_record_1
87510
+  (0.2ms) SELECT COUNT(*) FROM "accounts" WHERE (created_at < '2011-10-28 21:01:56.601967')
87511
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
87512
+  (0.0ms) SAVEPOINT active_record_1
87513
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
87514
+  (0.1ms) SAVEPOINT active_record_1
87515
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
87516
+  (0.1ms) ROLLBACK
87517
+  (0.1ms) BEGIN
87518
+
87519
+
87520
+ Started POST "/i_wonder/metrics" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87521
+ Processing by IWonder::MetricsController#create as HTML
87522
+ Parameters: {"metric"=>{"name"=>"New Metric"}}
87523
+  (0.1ms) SAVEPOINT active_record_1
87524
+ SQL (0.4ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "New Metric"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
87525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87526
+ Redirected to http://www.example.com/i_wonder/metrics/574
87527
+ Completed 302 Found in 4ms
87528
+  (0.1ms) ROLLBACK
87529
+  (0.1ms) BEGIN
87530
+  (0.0ms) SAVEPOINT active_record_1
87531
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87533
+  (0.0ms) SAVEPOINT active_record_1
87534
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 575], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87536
+  (0.0ms) SAVEPOINT active_record_1
87537
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 575], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87539
+  (0.0ms) SAVEPOINT active_record_1
87540
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 575], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87542
+  (0.0ms) SAVEPOINT active_record_1
87543
+ SQL (0.0ms) INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87545
+  (0.0ms) SAVEPOINT active_record_1
87546
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 576], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87548
+  (0.0ms) SAVEPOINT active_record_1
87549
+ SQL (0.0ms) INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 576], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87551
+  (0.0ms) SAVEPOINT active_record_1
87552
+  (0.0ms) SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 2' LIMIT 1
87553
+ SQL (0.0ms) INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["description", nil], ["name", "Report 2"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
87554
+ SQL (0.0ms) INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 575], ["report_id", 48]]
87555
+ SQL (0.0ms) INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 576], ["report_id", 48]]
87556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
87557
+  (0.0ms) SELECT COUNT(*) FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 48
87558
+ IWonder::Metric Load (0.0ms) SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 48
87559
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 575 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
87560
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 576 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
87561
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 575 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
87562
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 576 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
87563
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 575 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
87564
+ IWonder::Snapshot Load (0.0ms) SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 576 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
87565
+  (0.1ms) ROLLBACK
87566
+  (0.1ms) BEGIN
87567
+  (0.0ms) ROLLBACK
87568
+  (0.1ms) BEGIN
87569
+  (0.1ms) ROLLBACK
87570
+  (0.1ms) BEGIN
87571
+ Processing by TestController#test_with_report as HTML
87572
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
87573
+  (0.1ms) ROLLBACK
87574
+  (0.1ms) BEGIN
87575
+ Processing by TestController#test_without_report as HTML
87576
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
87577
+  (0.1ms) ROLLBACK
87578
+  (0.1ms) BEGIN
87579
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
87580
+
87581
+
87582
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87583
+ Processing by TestController#test_without_report as HTML
87584
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
87585
+  (0.1ms) SAVEPOINT active_record_1
87586
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '5b08b3c78daa0bf15cb7', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 21:01:56.705670', '2011-10-28 21:01:56.705681')
87587
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5b08b3c78daa0bf15cb7', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 21:01:56.706336', '2011-10-28 21:01:56.706346')
87588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87589
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events" 
87590
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87591
+ IWonder::Event Load (0.5ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
87592
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87593
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87594
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87595
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87596
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87597
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87598
+
87599
+
87600
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87601
+ Processing by TestController#test_without_report as HTML
87602
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
87603
+  (0.1ms) SAVEPOINT active_record_1
87604
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5b08b3c78daa0bf15cb7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.715691', '2011-10-28 21:01:56.715700')
87605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87606
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
87607
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
87608
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
87609
+  (0.1ms) ROLLBACK
87610
+  (0.1ms) BEGIN
87611
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
87612
+
87613
+
87614
+ Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87615
+ Processing by TestController#test_without_login as HTML
87616
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
87617
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
87618
+  (0.1ms) ROLLBACK
87619
+  (0.1ms) BEGIN
87620
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
87621
+
87622
+
87623
+ Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87624
+ Processing by IWonder::EventsController#index as HTML
87625
+ IWonder::Event Load (0.4ms) SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
87626
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
87627
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events"
87628
+  (0.1ms) ROLLBACK
87629
+  (0.1ms) BEGIN
87630
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
87631
+
87632
+
87633
+ Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87634
+ Processing by TestController#test_redirect as HTML
87635
+ Redirected to http://www.example.comtest_without_login
87636
+ Completed 302 Found in 0ms
87637
+  (0.2ms) SAVEPOINT active_record_1
87638
+  (0.4ms) RELEASE SAVEPOINT active_record_1
87639
+  (0.3ms) SELECT COUNT(*) FROM "i_wonder_events"
87640
+  (0.1ms) ROLLBACK
87641
+  (0.1ms) BEGIN
87642
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
87643
+
87644
+
87645
+ Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87646
+ Processing by TestController#test_redirect as HTML
87647
+ Redirected to http://www.example.comtest_without_login
87648
+ Completed 302 Found in 0ms
87649
+  (0.1ms) SAVEPOINT active_record_1
87650
+  (0.4ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'd677dcabd0e4cb596d2e', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.740034', '2011-10-28 21:01:56.740047')
87651
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd677dcabd0e4cb596d2e', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.740733', '2011-10-28 21:01:56.740742')
87652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87653
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
87654
+  (0.1ms) ROLLBACK
87655
+  (0.1ms) BEGIN
87656
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
87657
+
87658
+
87659
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 11:01:56 -0700
87660
+ Processing by TestController#test_without_report as HTML
87661
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
87662
+  (0.1ms) SAVEPOINT active_record_1
87663
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 18:01:56.746368', '2011-10-28 18:01:56.746395')
87664
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 18:01:56.747080', '2011-10-28 18:01:56.747118')
87665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87666
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
87667
+
87668
+
87669
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 11:01:56 -0700
87670
+ Processing by TestController#test_without_report as HTML
87671
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
87672
+  (0.1ms) SAVEPOINT active_record_1
87673
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 18:01:56.752053', '2011-10-28 18:01:56.752088')
87674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87675
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
87676
+
87677
+
87678
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87679
+ Processing by TestController#test_without_report as HTML
87680
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
87681
+  (0.1ms) SAVEPOINT active_record_1
87682
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('return_visit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.756391', '2011-10-28 21:01:56.756400')
87683
+  (0.2ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.756973', '2011-10-28 21:01:56.756982')
87684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87685
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
87686
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
87687
+  (0.1ms) ROLLBACK
87688
+  (0.1ms) BEGIN
87689
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
87690
+
87691
+
87692
+ Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87693
+ Processing by TestController#test_without_login as HTML
87694
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
87695
+  (0.1ms) SAVEPOINT active_record_1
87696
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', NULL, NULL, 'a3886347c922580e6860', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.762170', '2011-10-28 21:01:56.762181')
87697
+  (0.2ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', NULL, NULL, 'a3886347c922580e6860', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.762748', '2011-10-28 21:01:56.762757')
87698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87699
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events"
87700
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
87701
+
87702
+
87703
+ Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
87704
+ Processing by TestController#test_without_report as HTML
87705
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
87706
+ IWonder::Event Load (0.4ms) SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 2 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
87707
+ SQL (0.5ms) UPDATE "i_wonder_events" SET "user_id" = '2', "session_id" = 'a3886347c922580e6860' WHERE (session_id = 'a3886347c922580e6860' AND user_id IS NULL)
87708
+  (0.1ms) SAVEPOINT active_record_1
87709
+  (0.3ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a3886347c922580e6860', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.769264', '2011-10-28 21:01:56.769273')
87710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87711
+  (0.2ms) SELECT COUNT(*) FROM "i_wonder_events" 
87712
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
87713
+  (0.2ms) INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('blah blah', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-10-28 21:01:56.771848', '2011-10-28 21:01:56.771859')
87714
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events"
87715
+ IWonder::Event Load (0.2ms) SELECT "i_wonder_events".* FROM "i_wonder_events" 
87716
+ IWonder::Event Load (0.3ms) SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
87717
+  (0.1ms) ROLLBACK