advert_selector 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/advert_selector/banner.rb +1 -1
- data/lib/advert_selector/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2632 -0
- data/test/dummy/tmp/cache/943/570/advert_selector_errors +0 -0
- data/test/dummy/tmp/cache/A2C/760/AdvertSelectorBanner_207249520 +0 -0
- data/test/dummy/tmp/cache/A3E/CF0/AdvertSelectorBanner_394627963 +0 -0
- data/test/dummy/tmp/cache/A3F/BF0/AdvertSelectorBanner_814558298 +0 -0
- data/test/unit/advert_selector/banner_test.rb +8 -0
- metadata +4 -4
@@ -47,7 +47,7 @@ module AdvertSelector
|
|
47
47
|
total_days = ((end_time - start_time)/1.day).round
|
48
48
|
daily_view_count = target_view_count/total_days
|
49
49
|
|
50
|
-
days_ending_today = ((Time.now.end_of_day - start_time)/1.day).
|
50
|
+
days_ending_today = ((Time.now.end_of_day - start_time)/1.day).ceil
|
51
51
|
days_ending_today * daily_view_count
|
52
52
|
end
|
53
53
|
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -67253,3 +67253,2635 @@ Processing by ExamplesController#index as HTML
|
|
67253
67253
|
[AdvertSelector] AdvertSelection finished
|
67254
67254
|
Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.4ms)
|
67255
67255
|
[1m[35m (0.1ms)[0m rollback transaction
|
67256
|
+
Connecting to database specified by database.yml
|
67257
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67258
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "advert_selector_banners"
|
67259
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "running_view_count", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Coke banner', 'Coke', 405688915, '2012-10-22 15:13:04', 100, '2012-10-27 00:00:00', 't', '2012-10-22 15:13:04', 50, 814558298, 1000, 'f', 0, '2012-10-17 00:00:00')[0m
|
67260
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Pepsi banner', 'Pepsi', 405688915, '2012-10-22 15:13:04', '2012-11-01 00:00:00', 't', '2012-10-22 15:13:04', 100, 394627963, 1000, 't', 0, '2012-10-22 00:00:00')
|
67261
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_banners" ("name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('parade_banner', 718799085, '2012-10-22 15:13:04', '2012-11-01 00:00:00', 'f', '2012-10-22 15:13:04', 1000, 207249520, 1000, 't', 1, '2012-10-22 00:00:00')[0m
|
67262
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "advert_selector_helper_items"
|
67263
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_leaderboard', 2, '2012-10-22 15:13:04', '2012-10-22 15:13:04', 960656439, 't', 394627963, '<img src=''pepsi_banner''/>')[0m
|
67264
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("position", "name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES (1, 'banner_leaderboard', '2012-10-22 15:13:04', '2012-10-22 15:13:04', 929640376, 't', 814558298, '<img src=''coke_banner''/>')
|
67265
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_parade', 1, '2012-10-22 15:13:04', '2012-10-22 15:13:04', 281932184, 't', 207249520, '<img src=''banner_parade''/>')[0m
|
67266
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('request_params_include?', '2012-10-22 15:13:04', '2012-10-22 15:13:04', 435138789, 'f', 394627963, 'pepsi=true')
|
67267
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "advert_selector_placements"[0m
|
67268
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Parade', '2012-10-22 15:13:04', '2012-10-22 15:13:04', 'leaderboard,video', 718799085)
|
67269
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "only_once_per_session", "id") VALUES ('Video', '2012-10-22 15:13:04', '2012-10-22 15:13:04', 'parade', 't', 1019730477)[0m
|
67270
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Leaderboard', '2012-10-22 15:13:04', '2012-10-22 15:13:04', 'parade', 405688915)
|
67271
|
+
[1m[36m (57.2ms)[0m [1mcommit transaction[0m
|
67272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67273
|
+
[1m[36mAdvertSelector::Banner Load (0.6ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67274
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67275
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67276
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_helper_items"
|
67277
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
67278
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE ("advert_selector_helper_items"."banner_id" = 814558298) ORDER BY advert_selector_helper_items.position DESC LIMIT 1
|
67279
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", nil], ["position", 2], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67280
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 10)
|
67281
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", true], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "content_for_invalid"], ["position", 10], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67282
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
67283
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "some_limit_helper_here"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67284
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67285
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656440]]
|
67286
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position > 3)
|
67287
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67288
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67289
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" [0m
|
67290
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position LIMIT 1
|
67291
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position DESC LIMIT 1[0m
|
67292
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67294
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67295
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67296
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67297
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000064' OR end_time IS NULL)[0m
|
67298
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000839' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.000951' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
67299
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.001828' OR end_time IS NULL)[0m
|
67300
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.002487' OR end_time IS NULL) AND (start_time < '2011-10-22 10:00:00.002599' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
67301
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67302
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67303
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67304
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67305
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67306
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67308
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67309
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67310
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67311
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67312
|
+
[1m[35m (0.3ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.000824' WHERE "advert_selector_banners"."id" = 814558298
|
67313
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
67314
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67315
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67317
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 551, "updated_at" = '2012-10-22 09:00:00.006720' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67319
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67322
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67323
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67324
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67325
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67326
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 0, "target_view_count" = 10, "updated_at" = '2012-10-22 09:00:00.000832' WHERE "advert_selector_banners"."id" = 814558298
|
67327
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
67328
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67329
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67330
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 10, "updated_at" = '2012-10-22 09:00:00.004208' WHERE "advert_selector_banners"."id" = 814558298
|
67331
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67332
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67333
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67334
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67335
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67336
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67337
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67338
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67339
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.000379' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67340
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67341
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67343
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-22 09:00:00.002335' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67344
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67345
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67346
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67348
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67349
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67350
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67352
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "start_time" = '2012-10-22 10:00:00.000367', "updated_at" = '2012-10-22 09:00:00.000762' WHERE "advert_selector_banners"."id" = 814558298
|
67353
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
67354
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67355
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67356
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "end_time" = '2012-10-22 08:00:00.002507', "start_time" = '2012-10-22 07:00:00.002441', "updated_at" = '2012-10-22 09:00:00.002833' WHERE "advert_selector_banners"."id" = 814558298
|
67357
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67358
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67359
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "end_time" = '2012-10-22 10:00:00.003834', "start_time" = NULL, "updated_at" = '2012-10-22 09:00:00.004129' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67363
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67364
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67365
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67366
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67367
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "advert_selector_banners" SET "target_view_count" = 100, "end_time" = '2012-11-01 00:00:00.000000', "start_time" = '2012-10-21 21:00:00.000000', "updated_at" = '2012-10-22 09:00:00.000819' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67368
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67369
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67371
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.003007' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67373
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67374
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67375
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67376
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67377
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67378
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67380
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67381
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67382
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67383
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67384
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners"
|
67385
|
+
Processing by AdvertSelector::BannersController#create as HTML
|
67386
|
+
Parameters: {"banner"=>{"comment"=>"Pepsi banner", "name"=>"Pepsi", "placement_id"=>"405688915", "end_time"=>"2012-11-01 00:00:00 UTC", "target_view_count"=>"1000", "frequency"=>"0", "start_time"=>"2012-10-22 00:00:00 UTC"}}
|
67387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
67388
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "advert_selector_banners" ("comment", "confirmed", "created_at", "end_time", "fast_mode", "frequency", "name", "placement_id", "priority", "running_view_count", "start_time", "target_view_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comment", "Pepsi banner"], ["confirmed", false], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["end_time", Thu, 01 Nov 2012 00:00:00 UTC +00:00], ["fast_mode", false], ["frequency", 0], ["name", "Pepsi"], ["placement_id", 405688915], ["priority", 0], ["running_view_count", 0], ["start_time", Mon, 22 Oct 2012 00:00:00 UTC +00:00], ["target_view_count", 1000], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67389
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558299 ORDER BY position[0m
|
67390
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67391
|
+
Redirected to http://test.host/advert_selector/banners/814558299
|
67392
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
67393
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" [0m
|
67394
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67396
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67397
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67398
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67399
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" [0m
|
67400
|
+
Processing by AdvertSelector::BannersController#destroy as HTML
|
67401
|
+
Parameters: {"id"=>"394627963"}
|
67402
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", "394627963"]]
|
67403
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67404
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67405
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 435138789]]
|
67406
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ? [["id", 960656439]]
|
67407
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 394627963 AND position > 2)[0m
|
67408
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? [["id", 394627963]]
|
67409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67410
|
+
Redirected to http://test.host/advert_selector/banners
|
67411
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
67412
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_banners"
|
67413
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67415
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67416
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67417
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67418
|
+
Processing by AdvertSelector::BannersController#edit as HTML
|
67419
|
+
Parameters: {"id"=>"394627963"}
|
67420
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", "394627963"]]
|
67421
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67422
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963
|
67423
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
67424
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/banners/_form.html.erb (71.5ms)
|
67425
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.084933') ORDER BY priority desc LIMIT 10
|
67426
|
+
[1m[36mAdvertSelector::Placement Load (0.3ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
67427
|
+
[1m[35mAdvertSelector::Placement Load (0.2ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67428
|
+
[1m[36mAdvertSelector::Placement Load (0.2ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67429
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
67430
|
+
Completed 200 OK in 98ms (Views: 96.3ms | ActiveRecord: 1.3ms)
|
67431
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67433
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67434
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67435
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67436
|
+
Processing by AdvertSelector::BannersController#index as HTML
|
67437
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners"
|
67438
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.007279') ORDER BY priority desc LIMIT 10[0m
|
67439
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67440
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67441
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67442
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67443
|
+
Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.5ms)
|
67444
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67445
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67446
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67447
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67448
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67449
|
+
Processing by AdvertSelector::BannersController#new as HTML
|
67450
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67451
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/banners/_form.html.erb (18.8ms)
|
67452
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.023716') ORDER BY priority desc LIMIT 10
|
67453
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
67454
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67455
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67456
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
67457
|
+
Completed 200 OK in 27ms (Views: 25.9ms | ActiveRecord: 0.5ms)
|
67458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67460
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67461
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67462
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67463
|
+
Processing by AdvertSelector::BannersController#show as HTML
|
67464
|
+
Parameters: {"id"=>"394627963"}
|
67465
|
+
Redirected to http://test.host/advert_selector/banners/394627963/edit
|
67466
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
67467
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67469
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67470
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67471
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67472
|
+
Processing by AdvertSelector::BannersController#update as HTML
|
67473
|
+
Parameters: {"banner"=>{"comment"=>"Pepsi banner"}, "id"=>"394627963"}
|
67474
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
67475
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67476
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
67477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67478
|
+
Redirected to http://test.host/advert_selector/banners/394627963
|
67479
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
67480
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67482
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67483
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67484
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67485
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67486
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 1, "updated_at" = '2012-10-22 09:00:00.001172' WHERE "advert_selector_banners"."id" = 394627963[0m
|
67487
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67488
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67489
|
+
Processing by AdvertSelector::BannersController#update_running_view_count as HTML
|
67490
|
+
Parameters: {"banner"=>{"running_view_count"=>"99"}, "id"=>"394627963"}
|
67491
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", "394627963"]]
|
67492
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 99 WHERE "advert_selector_banners"."id" = 394627963[0m
|
67493
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 99 WHERE "advert_selector_banners"."id" = 394627963
|
67494
|
+
Redirected to http://test.host/advert_selector/banners/394627963
|
67495
|
+
Completed 302 Found in 1114ms (ActiveRecord: 0.6ms)
|
67496
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67497
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67499
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67500
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67501
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67502
|
+
Processing by AdvertSelector::MainController#index as HTML
|
67503
|
+
Filter chain halted as :admin_access_only rendered or redirected
|
67504
|
+
Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
67505
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67506
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67507
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67508
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67509
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67510
|
+
Processing by AdvertSelector::MainController#clear_errors_log as HTML
|
67511
|
+
Redirected to http://test.host/advert_selector/
|
67512
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
67513
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67515
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67516
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67517
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67518
|
+
Processing by AdvertSelector::MainController#index as HTML
|
67519
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.004135') ORDER BY priority desc LIMIT 10[0m
|
67520
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67521
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67522
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67523
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67524
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.4ms)
|
67525
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67526
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67527
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67528
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67529
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67530
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
67531
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
67532
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67533
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67534
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67535
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67536
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67537
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
67538
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67540
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_placements" SET "updated_at" = '2012-10-22 09:00:00.000753', "conflicting_placements_array" = 'not_found,video' WHERE "advert_selector_placements"."id" = 718799085[0m
|
67541
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1
|
67542
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "updated_at" = '2012-10-22 09:00:00.002271', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 405688915[0m
|
67543
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1
|
67544
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."name" = 'not_found' LIMIT 1[0m
|
67545
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."name" = 'video' LIMIT 1
|
67546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67547
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
67548
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67549
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67551
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67552
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67553
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67554
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
67555
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
67556
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67558
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67559
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67560
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67561
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
67562
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67563
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67565
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67566
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67567
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67568
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
67569
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
67570
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67571
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67572
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67573
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67574
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67575
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
67576
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_placements" [0m
|
67577
|
+
Processing by AdvertSelector::PlacementsController#create as HTML
|
67578
|
+
Parameters: {"placement"=>{"name"=>"new placement"}}
|
67579
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67580
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "advert_selector_placements" ("conflicting_placements_array", "created_at", "name", "only_once_per_session", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["conflicting_placements_array", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "new placement"], ["only_once_per_session", nil], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67581
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67582
|
+
Redirected to http://test.host/advert_selector/placements/1019730478
|
67583
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
67584
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_placements" [0m
|
67585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67587
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67588
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67589
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67590
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67591
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
67592
|
+
Processing by AdvertSelector::PlacementsController#destroy as HTML
|
67593
|
+
Parameters: {"id"=>"405688915"}
|
67594
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", "405688915"]]
|
67595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67596
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ?[0m [["id", 405688915]]
|
67597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67598
|
+
Redirected to http://test.host/advert_selector/placements
|
67599
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
67600
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_placements" [0m
|
67601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67603
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67604
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67605
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67606
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67607
|
+
Processing by AdvertSelector::PlacementsController#edit as HTML
|
67608
|
+
Parameters: {"id"=>"405688915"}
|
67609
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", "405688915"]]
|
67610
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1[0m
|
67611
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1
|
67612
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/placements/_form.html.erb (5.7ms)
|
67613
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.011318') ORDER BY priority desc LIMIT 10[0m
|
67614
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67615
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67616
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67617
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67618
|
+
Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.6ms)
|
67619
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67621
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67622
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67623
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67624
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67625
|
+
Processing by AdvertSelector::PlacementsController#index as HTML
|
67626
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
67627
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.006463') ORDER BY priority desc LIMIT 10[0m
|
67628
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67629
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67630
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67631
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67632
|
+
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.5ms)
|
67633
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67635
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67636
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67637
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67638
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67639
|
+
Processing by AdvertSelector::PlacementsController#new as HTML
|
67640
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = '') LIMIT 1
|
67641
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/placements/_form.html.erb (4.3ms)
|
67642
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.008562') ORDER BY priority desc LIMIT 10[0m
|
67643
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67644
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67645
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67646
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67647
|
+
Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.5ms)
|
67648
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67650
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67651
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67652
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67653
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67654
|
+
Processing by AdvertSelector::PlacementsController#show as HTML
|
67655
|
+
Parameters: {"id"=>"405688915"}
|
67656
|
+
Redirected to http://test.host/advert_selector/placements/405688915/edit
|
67657
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
67658
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67660
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67661
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67662
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67663
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
67664
|
+
Processing by AdvertSelector::PlacementsController#update as HTML
|
67665
|
+
Parameters: {"id"=>"405688915", "placement"=>{"name"=>"Leaderboard"}}
|
67666
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", "405688915"]]
|
67667
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67669
|
+
Redirected to http://test.host/advert_selector/placements/405688915
|
67670
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
67671
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67673
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67674
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67675
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67676
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67677
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67678
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67679
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67680
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67681
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67682
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-22 09:00:00.000440' WHERE "advert_selector_banners"."id" = 814558298
|
67683
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
67684
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67685
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67686
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.002314' WHERE "advert_selector_banners"."id" = 394627963
|
67687
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
67688
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67689
|
+
|
67690
|
+
|
67691
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
67692
|
+
Processing by ExamplesController#index as HTML
|
67693
|
+
[AdvertSelector] AdvertSelection initialized
|
67694
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67695
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.007645' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.007842' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
67696
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
67697
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
67698
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67699
|
+
[AdvertSelector] AdvertSelection finished
|
67700
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.4ms)
|
67701
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67703
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
67704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "always_false"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67706
|
+
|
67707
|
+
|
67708
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
67709
|
+
Processing by ExamplesController#index as HTML
|
67710
|
+
[AdvertSelector] AdvertSelection initialized
|
67711
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67712
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.021035' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.021200' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
67713
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
67714
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
67715
|
+
[AdvertSelector] AdvertSelection finished
|
67716
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms)
|
67717
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67718
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67720
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67721
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67722
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67723
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
67724
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-22 09:00:00.000476' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67725
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67728
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.002376' WHERE "advert_selector_banners"."id" = 394627963[0m
|
67729
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67732
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)[0m
|
67733
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "raise_error"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
67734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67735
|
+
|
67736
|
+
|
67737
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
67738
|
+
Processing by ExamplesController#index as HTML
|
67739
|
+
[AdvertSelector] AdvertSelection initialized
|
67740
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67741
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.004240' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.004433' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
67742
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67743
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67744
|
+
[AdvertSelector] Error with banner Coke in placement Leaderboard.
|
67745
|
+
2012-10-22T12:00:00+03:00 - http://www.example.com/ - {"action"=>"index", "controller"=>"examples"}
|
67746
|
+
#<ZeroDivisionError: divided by 0>
|
67747
|
+
|
67748
|
+
/home/ohu/koodi/gems/advert_selector/test/dummy/app/helpers/advert_selector_helper.rb:9:in `/'
|
67749
|
+
/home/ohu/koodi/gems/advert_selector/test/dummy/app/helpers/advert_selector_helper.rb:9:in `advert_selector_raise_error'
|
67750
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:53:in `send'
|
67751
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:53:in `advert_selector_banner_try'
|
67752
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `each'
|
67753
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `send'
|
67754
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
|
67755
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:49:in `advert_selector_banner_try'
|
67756
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:20:in `advert_selector_initialize'
|
67757
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in `each'
|
67758
|
+
[AdvertSelector] AdvertSelection finished
|
67759
|
+
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.4ms)
|
67760
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67761
|
+
|
67762
|
+
|
67763
|
+
Started GET "/advert_selector/placements" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
67764
|
+
Processing by AdvertSelector::PlacementsController#index as HTML
|
67765
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
67766
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.020995') ORDER BY priority desc LIMIT 10[0m
|
67767
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67768
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
67769
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
67770
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
67771
|
+
Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.4ms)
|
67772
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67774
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67775
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67776
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67778
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-22 09:00:00.000396' WHERE "advert_selector_banners"."id" = 814558298
|
67779
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
67780
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67781
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67782
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.002319' WHERE "advert_selector_banners"."id" = 394627963
|
67783
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
67784
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67786
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "frequency" = 2, "updated_at" = '2012-10-22 09:00:00.000272' WHERE "advert_selector_banners"."id" = 814558298
|
67787
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67788
|
+
|
67789
|
+
|
67790
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
67791
|
+
Processing by ExamplesController#index as HTML
|
67792
|
+
[AdvertSelector] AdvertSelection initialized
|
67793
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67794
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.003144' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.003333' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
67795
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67796
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67797
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67798
|
+
[AdvertSelector] AdvertSelection finished
|
67799
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
67800
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67801
|
+
|
67802
|
+
|
67803
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67804
|
+
Processing by ExamplesController#index as HTML
|
67805
|
+
[AdvertSelector] AdvertSelection initialized
|
67806
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67807
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.016652' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.016831' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
67808
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67809
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67810
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67811
|
+
[AdvertSelector] AdvertSelection finished
|
67812
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.4ms)
|
67813
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67814
|
+
|
67815
|
+
|
67816
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67817
|
+
Processing by ExamplesController#index as HTML
|
67818
|
+
[AdvertSelector] AdvertSelection initialized
|
67819
|
+
[AdvertSelector] AdvertSelection finished
|
67820
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
67821
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67822
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67823
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67824
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67825
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67826
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67828
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000389' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67829
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67830
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67832
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002297' WHERE "advert_selector_banners"."id" = 394627963[0m
|
67833
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67835
|
+
|
67836
|
+
|
67837
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67838
|
+
Processing by ExamplesController#index as HTML
|
67839
|
+
[AdvertSelector] AdvertSelection initialized
|
67840
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67841
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.002221' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.002394' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
67842
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67843
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67844
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67845
|
+
[AdvertSelector] AdvertSelection finished
|
67846
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms)
|
67847
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67848
|
+
|
67849
|
+
|
67850
|
+
Started GET "/?advert_selector_force=207249520" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67851
|
+
Processing by ExamplesController#index as HTML
|
67852
|
+
Parameters: {"advert_selector_force"=>"207249520"}
|
67853
|
+
[AdvertSelector] AdvertSelection initialized
|
67854
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = 207249520 LIMIT 1
|
67855
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
67856
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position
|
67857
|
+
[AdvertSelector] ForceShowing banner parade_banner in placement Parade
|
67858
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67859
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.016113' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.016297' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
67860
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
67861
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
67862
|
+
[AdvertSelector] AdvertSelection finished
|
67863
|
+
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.6ms)
|
67864
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67867
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67868
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67869
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67871
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000443' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67872
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67873
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67875
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002956' WHERE "advert_selector_banners"."id" = 394627963[0m
|
67876
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67878
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
67879
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-25 09:00:00.000651' WHERE "advert_selector_banners"."id" = 207249520[0m
|
67880
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position
|
67881
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67882
|
+
|
67883
|
+
|
67884
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67885
|
+
Processing by ExamplesController#index as HTML
|
67886
|
+
[AdvertSelector] AdvertSelection initialized
|
67887
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67888
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.004927' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.005120' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
67889
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67890
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67891
|
+
[AdvertSelector] Showing banner parade_banner in placement Parade
|
67892
|
+
[AdvertSelector] AdvertSelection finished
|
67893
|
+
Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.4ms)
|
67894
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67895
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67896
|
+
|
67897
|
+
|
67898
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67899
|
+
Processing by ExamplesController#index as HTML
|
67900
|
+
[AdvertSelector] AdvertSelection initialized
|
67901
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67902
|
+
[AdvertSelector] AdvertSelection finished
|
67903
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
67904
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67905
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67906
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67908
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67909
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67910
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67912
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000427' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67913
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67914
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67915
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67916
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002820' WHERE "advert_selector_banners"."id" = 394627963[0m
|
67917
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67918
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67919
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67920
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-25 09:00:00.000447' WHERE "advert_selector_banners"."id" = 207249520[0m
|
67921
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position
|
67922
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67923
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
67924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67925
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.002586', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 718799085
|
67926
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1[0m
|
67927
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.003778', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 405688915
|
67928
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
67929
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'video') LIMIT 1
|
67930
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.005318', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 1019730477[0m
|
67931
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1
|
67932
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67933
|
+
|
67934
|
+
|
67935
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67936
|
+
Processing by ExamplesController#index as HTML
|
67937
|
+
[AdvertSelector] AdvertSelection initialized
|
67938
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67939
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.008708' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.008882' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
67940
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67941
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67942
|
+
[AdvertSelector] Showing banner parade_banner in placement Parade
|
67943
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67944
|
+
[AdvertSelector] AdvertSelection finished
|
67945
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.4ms)
|
67946
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67947
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
67948
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67949
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67950
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
67951
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
67952
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
67953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67954
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000412' WHERE "advert_selector_banners"."id" = 814558298[0m
|
67955
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
67956
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67958
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002460' WHERE "advert_selector_banners"."id" = 394627963[0m
|
67959
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
67960
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67961
|
+
|
67962
|
+
|
67963
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67964
|
+
Processing by ExamplesController#index as HTML
|
67965
|
+
[AdvertSelector] AdvertSelection initialized
|
67966
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67967
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.000226' OR end_time IS NULL) ORDER BY priority desc
|
67968
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
67969
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
67970
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67971
|
+
[AdvertSelector] AdvertSelection finished
|
67972
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.3ms)
|
67973
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
67974
|
+
|
67975
|
+
|
67976
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
67977
|
+
Processing by ExamplesController#index as HTML
|
67978
|
+
[AdvertSelector] AdvertSelection initialized
|
67979
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67980
|
+
[AdvertSelector] AdvertSelection finished
|
67981
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
67982
|
+
|
67983
|
+
|
67984
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:15:00 +0300 2012
|
67985
|
+
Processing by ExamplesController#index as HTML
|
67986
|
+
[AdvertSelector] AdvertSelection initialized
|
67987
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
67988
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
67989
|
+
[AdvertSelector] AdvertSelection finished
|
67990
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
67991
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67993
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
67994
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
67995
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
67996
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67997
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000378' WHERE "advert_selector_banners"."id" = 814558298
|
67998
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
67999
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68000
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68001
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002287' WHERE "advert_selector_banners"."id" = 394627963
|
68002
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68004
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68005
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68006
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "only_once_per_session" = 't', "updated_at" = '2012-10-25 09:00:00.001148' WHERE "advert_selector_placements"."id" = 405688915[0m
|
68007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68008
|
+
|
68009
|
+
|
68010
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68011
|
+
Processing by ExamplesController#index as HTML
|
68012
|
+
[AdvertSelector] AdvertSelection initialized
|
68013
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68014
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.004355' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.004561' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68015
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68016
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68017
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68018
|
+
[AdvertSelector] AdvertSelection finished
|
68019
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.4ms)
|
68020
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68021
|
+
|
68022
|
+
|
68023
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68024
|
+
Processing by ExamplesController#index as HTML
|
68025
|
+
[AdvertSelector] AdvertSelection initialized
|
68026
|
+
[AdvertSelector] AdvertSelection finished
|
68027
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
68028
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68029
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68031
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68032
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68033
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68034
|
+
Processing by ExamplesController#index as HTML
|
68035
|
+
[AdvertSelector] AdvertSelection initialized
|
68036
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68037
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.002334' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.002521' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68038
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68039
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68040
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68041
|
+
[AdvertSelector] AdvertSelection finished
|
68042
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.4ms)
|
68043
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68044
|
+
Connecting to database specified by database.yml
|
68045
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68046
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "advert_selector_banners"
|
68047
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "running_view_count", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Coke banner', 'Coke', 405688915, '2012-10-22 15:16:00', 100, '2012-10-27 00:00:00', 't', '2012-10-22 15:16:00', 50, 814558298, 1000, 'f', 0, '2012-10-17 00:00:00')[0m
|
68048
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Pepsi banner', 'Pepsi', 405688915, '2012-10-22 15:16:00', '2012-11-01 00:00:00', 't', '2012-10-22 15:16:00', 100, 394627963, 1000, 't', 0, '2012-10-22 00:00:00')
|
68049
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_banners" ("name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('parade_banner', 718799085, '2012-10-22 15:16:00', '2012-11-01 00:00:00', 'f', '2012-10-22 15:16:00', 1000, 207249520, 1000, 't', 1, '2012-10-22 00:00:00')[0m
|
68050
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "advert_selector_helper_items"
|
68051
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_leaderboard', 2, '2012-10-22 15:16:00', '2012-10-22 15:16:00', 960656439, 't', 394627963, '<img src=''pepsi_banner''/>')[0m
|
68052
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("position", "name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES (1, 'banner_leaderboard', '2012-10-22 15:16:00', '2012-10-22 15:16:00', 929640376, 't', 814558298, '<img src=''coke_banner''/>')
|
68053
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_parade', 1, '2012-10-22 15:16:00', '2012-10-22 15:16:00', 281932184, 't', 207249520, '<img src=''banner_parade''/>')[0m
|
68054
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('request_params_include?', '2012-10-22 15:16:00', '2012-10-22 15:16:00', 435138789, 'f', 394627963, 'pepsi=true')
|
68055
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "advert_selector_placements"[0m
|
68056
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Parade', '2012-10-22 15:16:00', '2012-10-22 15:16:00', 'leaderboard,video', 718799085)
|
68057
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "only_once_per_session", "id") VALUES ('Video', '2012-10-22 15:16:00', '2012-10-22 15:16:00', 'parade', 't', 1019730477)[0m
|
68058
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Leaderboard', '2012-10-22 15:16:00', '2012-10-22 15:16:00', 'parade', 405688915)
|
68059
|
+
[1m[36m (41.0ms)[0m [1mcommit transaction[0m
|
68060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68061
|
+
[1m[36mAdvertSelector::Banner Load (0.6ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68062
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68063
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68064
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_helper_items"
|
68065
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
68066
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE ("advert_selector_helper_items"."banner_id" = 814558298) ORDER BY advert_selector_helper_items.position DESC LIMIT 1
|
68067
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", nil], ["position", 2], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68068
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 10)
|
68069
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", true], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "content_for_invalid"], ["position", 10], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68070
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
68071
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "some_limit_helper_here"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68072
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68073
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656440]]
|
68074
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position > 3)
|
68075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68076
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68077
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" [0m
|
68078
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position LIMIT 1
|
68079
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position DESC LIMIT 1[0m
|
68080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68082
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68083
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68084
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68085
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000094' OR end_time IS NULL)[0m
|
68086
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000865' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.000976' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
68087
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.001814' OR end_time IS NULL)[0m
|
68088
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.002456' OR end_time IS NULL) AND (start_time < '2011-10-22 10:00:00.002564' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
68089
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68090
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68091
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68092
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68093
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68094
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68096
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68097
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68098
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68099
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68100
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.000789' WHERE "advert_selector_banners"."id" = 814558298
|
68101
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68102
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68103
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68105
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 551, "updated_at" = '2012-10-22 09:00:00.005922' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68106
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68107
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68110
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68111
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68112
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68113
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68114
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.000809', "target_view_count" = 10 WHERE "advert_selector_banners"."id" = 814558298
|
68115
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68118
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 10, "updated_at" = '2012-10-22 09:00:00.004122' WHERE "advert_selector_banners"."id" = 814558298
|
68119
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68120
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68121
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68123
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68124
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68125
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68126
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68127
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.000358' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68128
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68131
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-22 09:00:00.002241' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68132
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68133
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68134
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68136
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68137
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68138
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68140
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000724', "start_time" = '2012-10-22 10:00:00.000316' WHERE "advert_selector_banners"."id" = 814558298
|
68141
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68142
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68143
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68144
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002878', "start_time" = '2012-10-22 07:00:00.002467', "end_time" = '2012-10-22 08:00:00.002542' WHERE "advert_selector_banners"."id" = 814558298
|
68145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68147
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.004233', "start_time" = NULL, "end_time" = '2012-10-22 10:00:00.003937' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68148
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68149
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68151
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68152
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68153
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68155
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000751', "start_time" = '2012-10-21 21:00:00.000000', "target_view_count" = 100, "end_time" = '2012-11-01 00:00:00.000000' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68156
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68159
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.002626' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68160
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68161
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68162
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68163
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68164
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68165
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68166
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68167
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68169
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 16:00:00.001589', "start_time" = '2012-10-22 15:00:00.000812' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68170
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68172
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68173
|
+
Connecting to database specified by database.yml
|
68174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68175
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "advert_selector_banners"
|
68176
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "running_view_count", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Coke banner', 'Coke', 405688915, '2012-10-22 15:16:09', 100, '2012-10-27 00:00:00', 't', '2012-10-22 15:16:09', 50, 814558298, 1000, 'f', 0, '2012-10-17 00:00:00')[0m
|
68177
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Pepsi banner', 'Pepsi', 405688915, '2012-10-22 15:16:09', '2012-11-01 00:00:00', 't', '2012-10-22 15:16:09', 100, 394627963, 1000, 't', 0, '2012-10-22 00:00:00')
|
68178
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_banners" ("name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('parade_banner', 718799085, '2012-10-22 15:16:09', '2012-11-01 00:00:00', 'f', '2012-10-22 15:16:09', 1000, 207249520, 1000, 't', 1, '2012-10-22 00:00:00')[0m
|
68179
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "advert_selector_helper_items"
|
68180
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_leaderboard', 2, '2012-10-22 15:16:09', '2012-10-22 15:16:09', 960656439, 't', 394627963, '<img src=''pepsi_banner''/>')[0m
|
68181
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("position", "name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES (1, 'banner_leaderboard', '2012-10-22 15:16:09', '2012-10-22 15:16:09', 929640376, 't', 814558298, '<img src=''coke_banner''/>')
|
68182
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_parade', 1, '2012-10-22 15:16:09', '2012-10-22 15:16:09', 281932184, 't', 207249520, '<img src=''banner_parade''/>')[0m
|
68183
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('request_params_include?', '2012-10-22 15:16:09', '2012-10-22 15:16:09', 435138789, 'f', 394627963, 'pepsi=true')
|
68184
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "advert_selector_placements"[0m
|
68185
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Parade', '2012-10-22 15:16:09', '2012-10-22 15:16:09', 'leaderboard,video', 718799085)
|
68186
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "only_once_per_session", "id") VALUES ('Video', '2012-10-22 15:16:09', '2012-10-22 15:16:09', 'parade', 't', 1019730477)[0m
|
68187
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Leaderboard', '2012-10-22 15:16:09', '2012-10-22 15:16:09', 'parade', 405688915)
|
68188
|
+
[1m[36m (55.3ms)[0m [1mcommit transaction[0m
|
68189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68190
|
+
[1m[36mAdvertSelector::Banner Load (0.6ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68191
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68192
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68193
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_helper_items"
|
68194
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
68195
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE ("advert_selector_helper_items"."banner_id" = 814558298) ORDER BY advert_selector_helper_items.position DESC LIMIT 1
|
68196
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", nil], ["position", 2], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68197
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 10)
|
68198
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", true], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "content_for_invalid"], ["position", 10], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68199
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
68200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "some_limit_helper_here"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68201
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68202
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656440]]
|
68203
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position > 3)
|
68204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68205
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68206
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" [0m
|
68207
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position LIMIT 1
|
68208
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position DESC LIMIT 1[0m
|
68209
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68211
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68212
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68213
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68214
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000081' OR end_time IS NULL)[0m
|
68215
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000831' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.000942' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
68216
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.001780' OR end_time IS NULL)[0m
|
68217
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.002421' OR end_time IS NULL) AND (start_time < '2011-10-22 10:00:00.002528' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
68218
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68220
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68221
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68222
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68225
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68226
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68227
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68229
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000859', "running_view_count" = 0 WHERE "advert_selector_banners"."id" = 814558298
|
68230
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68232
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68234
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.006277', "running_view_count" = 551 WHERE "advert_selector_banners"."id" = 814558298[0m
|
68235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68236
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68237
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68239
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68240
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68241
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68243
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000786', "running_view_count" = 0, "target_view_count" = 10 WHERE "advert_selector_banners"."id" = 814558298
|
68244
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68245
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68246
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68247
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.004201', "running_view_count" = 10 WHERE "advert_selector_banners"."id" = 814558298
|
68248
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68249
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68250
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68252
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68253
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68254
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68256
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000396', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68257
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68260
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002371', "confirmed" = 't' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68262
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68263
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68265
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68266
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68267
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68269
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000731', "start_time" = '2012-10-22 10:00:00.000336' WHERE "advert_selector_banners"."id" = 814558298
|
68270
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68273
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002782', "end_time" = '2012-10-22 08:00:00.002458', "start_time" = '2012-10-22 07:00:00.002387' WHERE "advert_selector_banners"."id" = 814558298
|
68274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68275
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68276
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.004102', "end_time" = '2012-10-22 10:00:00.003795', "start_time" = NULL WHERE "advert_selector_banners"."id" = 814558298[0m
|
68277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68278
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68280
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68281
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68282
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68283
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68284
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000860', "end_time" = '2012-11-01 00:00:00.000000', "target_view_count" = 100, "start_time" = '2012-10-21 21:00:00.000000' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68285
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68286
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68288
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002868', "running_view_count" = 0 WHERE "advert_selector_banners"."id" = 814558298[0m
|
68289
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68290
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68291
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68292
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68293
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68294
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68295
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68296
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68298
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 16:00:00.002524', "start_time" = '2012-10-22 15:00:00.001311' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68299
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68302
|
+
Connecting to database specified by database.yml
|
68303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68304
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "advert_selector_banners"
|
68305
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "running_view_count", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Coke banner', 'Coke', 405688915, '2012-10-22 15:16:30', 100, '2012-10-27 00:00:00', 't', '2012-10-22 15:16:30', 50, 814558298, 1000, 'f', 0, '2012-10-17 00:00:00')[0m
|
68306
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Pepsi banner', 'Pepsi', 405688915, '2012-10-22 15:16:30', '2012-11-01 00:00:00', 't', '2012-10-22 15:16:30', 100, 394627963, 1000, 't', 0, '2012-10-22 00:00:00')
|
68307
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_banners" ("name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('parade_banner', 718799085, '2012-10-22 15:16:30', '2012-11-01 00:00:00', 'f', '2012-10-22 15:16:30', 1000, 207249520, 1000, 't', 1, '2012-10-22 00:00:00')[0m
|
68308
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "advert_selector_helper_items"
|
68309
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_leaderboard', 2, '2012-10-22 15:16:30', '2012-10-22 15:16:30', 960656439, 't', 394627963, '<img src=''pepsi_banner''/>')[0m
|
68310
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("position", "name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES (1, 'banner_leaderboard', '2012-10-22 15:16:30', '2012-10-22 15:16:30', 929640376, 't', 814558298, '<img src=''coke_banner''/>')
|
68311
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_parade', 1, '2012-10-22 15:16:30', '2012-10-22 15:16:30', 281932184, 't', 207249520, '<img src=''banner_parade''/>')[0m
|
68312
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('request_params_include?', '2012-10-22 15:16:30', '2012-10-22 15:16:30', 435138789, 'f', 394627963, 'pepsi=true')
|
68313
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "advert_selector_placements"[0m
|
68314
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Parade', '2012-10-22 15:16:30', '2012-10-22 15:16:30', 'leaderboard,video', 718799085)
|
68315
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "only_once_per_session", "id") VALUES ('Video', '2012-10-22 15:16:30', '2012-10-22 15:16:30', 'parade', 't', 1019730477)[0m
|
68316
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Leaderboard', '2012-10-22 15:16:30', '2012-10-22 15:16:30', 'parade', 405688915)
|
68317
|
+
[1m[36m (44.4ms)[0m [1mcommit transaction[0m
|
68318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68319
|
+
[1m[36mAdvertSelector::Banner Load (0.6ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68320
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68321
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68322
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_helper_items"
|
68323
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
68324
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE ("advert_selector_helper_items"."banner_id" = 814558298) ORDER BY advert_selector_helper_items.position DESC LIMIT 1
|
68325
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", nil], ["position", 2], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68326
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 10)
|
68327
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", true], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "content_for_invalid"], ["position", 10], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68328
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
68329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "some_limit_helper_here"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68330
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68331
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656440]]
|
68332
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position > 3)
|
68333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68334
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68335
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" [0m
|
68336
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position LIMIT 1
|
68337
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position DESC LIMIT 1[0m
|
68338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68340
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68341
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68342
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68343
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000070' OR end_time IS NULL)[0m
|
68344
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000884' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.000998' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
68345
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.001857' OR end_time IS NULL)[0m
|
68346
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.002541' OR end_time IS NULL) AND (start_time < '2011-10-22 10:00:00.002660' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
68347
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68348
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68349
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68350
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68351
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68354
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68355
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68356
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68357
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68358
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.000850' WHERE "advert_selector_banners"."id" = 814558298
|
68359
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68361
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68363
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 551, "updated_at" = '2012-10-22 09:00:00.006428' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68365
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68368
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68369
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68370
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68371
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68372
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "target_view_count" = 10, "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.000898' WHERE "advert_selector_banners"."id" = 814558298
|
68373
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68375
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68376
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 10, "updated_at" = '2012-10-22 09:00:00.004420' WHERE "advert_selector_banners"."id" = 814558298
|
68377
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68378
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68380
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68381
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68382
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68383
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68384
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68385
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.000397' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68386
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68387
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68388
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68389
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-22 09:00:00.002438' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68390
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68391
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68394
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68395
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68396
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68398
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "start_time" = '2012-10-22 10:00:00.000375', "updated_at" = '2012-10-22 09:00:00.000789' WHERE "advert_selector_banners"."id" = 814558298
|
68399
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68400
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68402
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "start_time" = '2012-10-22 07:00:00.002446', "updated_at" = '2012-10-22 09:00:00.002851', "end_time" = '2012-10-22 08:00:00.002524' WHERE "advert_selector_banners"."id" = 814558298
|
68403
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68405
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "start_time" = NULL, "updated_at" = '2012-10-22 09:00:00.004231', "end_time" = '2012-10-22 10:00:00.003917' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68406
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68407
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68409
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68410
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68411
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68413
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "advert_selector_banners" SET "target_view_count" = 100, "start_time" = '2012-10-21 21:00:00.000000', "updated_at" = '2012-10-22 09:00:00.000807', "end_time" = '2012-11-01 00:00:00.000000' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68414
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68415
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68416
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68417
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 0, "updated_at" = '2012-10-22 09:00:00.002804' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68418
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68419
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68420
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68421
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68422
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68423
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68424
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68425
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68427
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "start_time" = '2012-10-22 15:00:00.000781', "updated_at" = '2012-10-22 16:00:00.001538' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68428
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68430
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68431
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68432
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68433
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68434
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68435
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" [0m
|
68436
|
+
Processing by AdvertSelector::BannersController#create as HTML
|
68437
|
+
Parameters: {"banner"=>{"comment"=>"Pepsi banner", "name"=>"Pepsi", "placement_id"=>"405688915", "end_time"=>"2012-11-01 00:00:00 UTC", "target_view_count"=>"1000", "frequency"=>"0", "start_time"=>"2012-10-22 00:00:00 UTC"}}
|
68438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68439
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "confirmed", "created_at", "end_time", "fast_mode", "frequency", "name", "placement_id", "priority", "running_view_count", "start_time", "target_view_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["comment", "Pepsi banner"], ["confirmed", false], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["end_time", Thu, 01 Nov 2012 00:00:00 UTC +00:00], ["fast_mode", false], ["frequency", 0], ["name", "Pepsi"], ["placement_id", 405688915], ["priority", 0], ["running_view_count", 0], ["start_time", Mon, 22 Oct 2012 00:00:00 UTC +00:00], ["target_view_count", 1000], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68440
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558299 ORDER BY position
|
68441
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68442
|
+
Redirected to http://test.host/advert_selector/banners/814558299
|
68443
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
68444
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_banners"
|
68445
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68447
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68448
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68449
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68450
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners"
|
68451
|
+
Processing by AdvertSelector::BannersController#destroy as HTML
|
68452
|
+
Parameters: {"id"=>"394627963"}
|
68453
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
68454
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68455
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68456
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ? [["id", 435138789]]
|
68457
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656439]]
|
68458
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 394627963 AND position > 2)
|
68459
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ?[0m [["id", 394627963]]
|
68460
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68461
|
+
Redirected to http://test.host/advert_selector/banners
|
68462
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
68463
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" [0m
|
68464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68465
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68466
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68467
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68468
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68469
|
+
Processing by AdvertSelector::BannersController#edit as HTML
|
68470
|
+
Parameters: {"id"=>"394627963"}
|
68471
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
68472
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68473
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963[0m
|
68474
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
68475
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/banners/_form.html.erb (44.2ms)
|
68476
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.056488') ORDER BY priority desc LIMIT 10[0m
|
68477
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
68478
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68479
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68480
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
68481
|
+
Completed 200 OK in 61ms (Views: 59.5ms | ActiveRecord: 0.8ms)
|
68482
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68484
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68485
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68486
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68487
|
+
Processing by AdvertSelector::BannersController#index as HTML
|
68488
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" [0m
|
68489
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.007765') ORDER BY priority desc LIMIT 10
|
68490
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68491
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68492
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68493
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68494
|
+
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.6ms)
|
68495
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68497
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68498
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68499
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68500
|
+
Processing by AdvertSelector::BannersController#new as HTML
|
68501
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68502
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/banners/_form.html.erb (18.8ms)
|
68503
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.023467') ORDER BY priority desc LIMIT 10[0m
|
68504
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
68505
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68506
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68507
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
68508
|
+
Completed 200 OK in 27ms (Views: 25.6ms | ActiveRecord: 0.6ms)
|
68509
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68511
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68512
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68513
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68514
|
+
Processing by AdvertSelector::BannersController#show as HTML
|
68515
|
+
Parameters: {"id"=>"394627963"}
|
68516
|
+
Redirected to http://test.host/advert_selector/banners/394627963/edit
|
68517
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
68518
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68519
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68520
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68521
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68522
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68523
|
+
Processing by AdvertSelector::BannersController#update as HTML
|
68524
|
+
Parameters: {"banner"=>{"comment"=>"Pepsi banner"}, "id"=>"394627963"}
|
68525
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", "394627963"]]
|
68526
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68527
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
68528
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68529
|
+
Redirected to http://test.host/advert_selector/banners/394627963
|
68530
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
68531
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68532
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68533
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68534
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68535
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68536
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68537
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 1, "updated_at" = '2012-10-22 09:00:00.001212' WHERE "advert_selector_banners"."id" = 394627963
|
68538
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68539
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68540
|
+
Processing by AdvertSelector::BannersController#update_running_view_count as HTML
|
68541
|
+
Parameters: {"banner"=>{"running_view_count"=>"99"}, "id"=>"394627963"}
|
68542
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
68543
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 99 WHERE "advert_selector_banners"."id" = 394627963
|
68544
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 99 WHERE "advert_selector_banners"."id" = 394627963[0m
|
68545
|
+
Redirected to http://test.host/advert_selector/banners/394627963
|
68546
|
+
Completed 302 Found in 1117ms (ActiveRecord: 0.5ms)
|
68547
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68548
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68550
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68551
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68552
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68553
|
+
Processing by AdvertSelector::MainController#index as HTML
|
68554
|
+
Filter chain halted as :admin_access_only rendered or redirected
|
68555
|
+
Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
68556
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68558
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68559
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68560
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68561
|
+
Processing by AdvertSelector::MainController#clear_errors_log as HTML
|
68562
|
+
Redirected to http://test.host/advert_selector/
|
68563
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
68564
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68566
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68567
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68568
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68569
|
+
Processing by AdvertSelector::MainController#index as HTML
|
68570
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.004074') ORDER BY priority desc LIMIT 10
|
68571
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68572
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68573
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68574
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68575
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.4ms)
|
68576
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68577
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68578
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68579
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68580
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68581
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
68582
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
68583
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68584
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68585
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68586
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68587
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68588
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
68589
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68590
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68591
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_placements" SET "updated_at" = '2012-10-22 09:00:00.000838', "conflicting_placements_array" = 'not_found,video' WHERE "advert_selector_placements"."id" = 718799085
|
68592
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1[0m
|
68593
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "updated_at" = '2012-10-22 09:00:00.002273', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 405688915
|
68594
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
68595
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."name" = 'not_found' LIMIT 1
|
68596
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."name" = 'video' LIMIT 1[0m
|
68597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68598
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
68599
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68600
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68602
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68603
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68604
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68605
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
68606
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
68607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68609
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68610
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68611
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68612
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
68613
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68614
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68616
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68617
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68618
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68619
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
68620
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
68621
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68623
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68624
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68625
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68626
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
68627
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
68628
|
+
Processing by AdvertSelector::PlacementsController#create as HTML
|
68629
|
+
Parameters: {"placement"=>{"name"=>"new placement"}}
|
68630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68631
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "advert_selector_placements" ("conflicting_placements_array", "created_at", "name", "only_once_per_session", "updated_at") VALUES (?, ?, ?, ?, ?) [["conflicting_placements_array", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "new placement"], ["only_once_per_session", nil], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68633
|
+
Redirected to http://test.host/advert_selector/placements/1019730478
|
68634
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
68635
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
68636
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68638
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68639
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68640
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68641
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68642
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_placements" [0m
|
68643
|
+
Processing by AdvertSelector::PlacementsController#destroy as HTML
|
68644
|
+
Parameters: {"id"=>"405688915"}
|
68645
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", "405688915"]]
|
68646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68647
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? [["id", 405688915]]
|
68648
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68649
|
+
Redirected to http://test.host/advert_selector/placements
|
68650
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
68651
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
68652
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68654
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68655
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68656
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68657
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68658
|
+
Processing by AdvertSelector::PlacementsController#edit as HTML
|
68659
|
+
Parameters: {"id"=>"405688915"}
|
68660
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", "405688915"]]
|
68661
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1
|
68662
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
68663
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/placements/_form.html.erb (6.2ms)
|
68664
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.011818') ORDER BY priority desc LIMIT 10
|
68665
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68666
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68667
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68668
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68669
|
+
Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.6ms)
|
68670
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68672
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68673
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68674
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68675
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68676
|
+
Processing by AdvertSelector::PlacementsController#index as HTML
|
68677
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
68678
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.006164') ORDER BY priority desc LIMIT 10
|
68679
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68680
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68681
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68682
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68683
|
+
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.5ms)
|
68684
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68686
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68687
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68688
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68689
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68690
|
+
Processing by AdvertSelector::PlacementsController#new as HTML
|
68691
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = '') LIMIT 1[0m
|
68692
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/placements/_form.html.erb (4.1ms)
|
68693
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.008171') ORDER BY priority desc LIMIT 10
|
68694
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68695
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68696
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68697
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68698
|
+
Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.5ms)
|
68699
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68700
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68701
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68702
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68703
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68704
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68705
|
+
Processing by AdvertSelector::PlacementsController#show as HTML
|
68706
|
+
Parameters: {"id"=>"405688915"}
|
68707
|
+
Redirected to http://test.host/advert_selector/placements/405688915/edit
|
68708
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
68709
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68711
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68712
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68713
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68714
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
68715
|
+
Processing by AdvertSelector::PlacementsController#update as HTML
|
68716
|
+
Parameters: {"id"=>"405688915", "placement"=>{"name"=>"Leaderboard"}}
|
68717
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", "405688915"]]
|
68718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68719
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68720
|
+
Redirected to http://test.host/advert_selector/placements/405688915
|
68721
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
68722
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68724
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68725
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68726
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68727
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68728
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68729
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68730
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68731
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68732
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68733
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-22 09:00:00.000373' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68734
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68735
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68736
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68737
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.002287' WHERE "advert_selector_banners"."id" = 394627963[0m
|
68738
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
68739
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68740
|
+
|
68741
|
+
|
68742
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
68743
|
+
Processing by ExamplesController#index as HTML
|
68744
|
+
[AdvertSelector] AdvertSelection initialized
|
68745
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68746
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.006292' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.006477' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
68747
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
68748
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
68749
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68750
|
+
[AdvertSelector] AdvertSelection finished
|
68751
|
+
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.4ms)
|
68752
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68754
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)[0m
|
68755
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "always_false"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68757
|
+
|
68758
|
+
|
68759
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
68760
|
+
Processing by ExamplesController#index as HTML
|
68761
|
+
[AdvertSelector] AdvertSelection initialized
|
68762
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68763
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.019141' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.019378' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
68764
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
68765
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
68766
|
+
[AdvertSelector] AdvertSelection finished
|
68767
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms)
|
68768
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68769
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68771
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68772
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68773
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68774
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68775
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-22 09:00:00.000406' WHERE "advert_selector_banners"."id" = 814558298
|
68776
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68778
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68779
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.002286' WHERE "advert_selector_banners"."id" = 394627963
|
68780
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68782
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68783
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
68784
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "raise_error"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
68785
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68786
|
+
|
68787
|
+
|
68788
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
68789
|
+
Processing by ExamplesController#index as HTML
|
68790
|
+
[AdvertSelector] AdvertSelection initialized
|
68791
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68792
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.004110' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.004283' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68793
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68794
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68795
|
+
[AdvertSelector] Error with banner Coke in placement Leaderboard.
|
68796
|
+
2012-10-22T12:00:00+03:00 - http://www.example.com/ - {"action"=>"index", "controller"=>"examples"}
|
68797
|
+
#<ZeroDivisionError: divided by 0>
|
68798
|
+
|
68799
|
+
/home/ohu/koodi/gems/advert_selector/test/dummy/app/helpers/advert_selector_helper.rb:9:in `/'
|
68800
|
+
/home/ohu/koodi/gems/advert_selector/test/dummy/app/helpers/advert_selector_helper.rb:9:in `advert_selector_raise_error'
|
68801
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:53:in `send'
|
68802
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:53:in `advert_selector_banner_try'
|
68803
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `each'
|
68804
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `send'
|
68805
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
|
68806
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:49:in `advert_selector_banner_try'
|
68807
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:20:in `advert_selector_initialize'
|
68808
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in `each'
|
68809
|
+
[AdvertSelector] AdvertSelection finished
|
68810
|
+
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.4ms)
|
68811
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68812
|
+
|
68813
|
+
|
68814
|
+
Started GET "/advert_selector/placements" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
68815
|
+
Processing by AdvertSelector::PlacementsController#index as HTML
|
68816
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
68817
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.021326') ORDER BY priority desc LIMIT 10
|
68818
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68819
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
68820
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
68821
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
68822
|
+
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.4ms)
|
68823
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68825
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
68826
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
68827
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
68828
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68829
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-22 09:00:00.000411' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68830
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
68831
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68832
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68833
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-22 09:00:00.003760' WHERE "advert_selector_banners"."id" = 394627963[0m
|
68834
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
68835
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68837
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "frequency" = 2, "updated_at" = '2012-10-22 09:00:00.000466' WHERE "advert_selector_banners"."id" = 814558298[0m
|
68838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68839
|
+
|
68840
|
+
|
68841
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
68842
|
+
Processing by ExamplesController#index as HTML
|
68843
|
+
[AdvertSelector] AdvertSelection initialized
|
68844
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68845
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.3ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.004970' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.005338' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68846
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68847
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.2ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68848
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68849
|
+
[AdvertSelector] AdvertSelection finished
|
68850
|
+
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.6ms)
|
68851
|
+
[1m[35mAdvertSelector::HelperItem Load (0.2ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68852
|
+
|
68853
|
+
|
68854
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68855
|
+
Processing by ExamplesController#index as HTML
|
68856
|
+
[AdvertSelector] AdvertSelection initialized
|
68857
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68858
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.024446' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.024625' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68859
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68860
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68861
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68862
|
+
[AdvertSelector] AdvertSelection finished
|
68863
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms)
|
68864
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68865
|
+
|
68866
|
+
|
68867
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68868
|
+
Processing by ExamplesController#index as HTML
|
68869
|
+
[AdvertSelector] AdvertSelection initialized
|
68870
|
+
[AdvertSelector] AdvertSelection finished
|
68871
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
68872
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68873
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68875
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68876
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68877
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68878
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68879
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000421' WHERE "advert_selector_banners"."id" = 814558298
|
68880
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68882
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68883
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002286' WHERE "advert_selector_banners"."id" = 394627963
|
68884
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68886
|
+
|
68887
|
+
|
68888
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68889
|
+
Processing by ExamplesController#index as HTML
|
68890
|
+
[AdvertSelector] AdvertSelection initialized
|
68891
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68892
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.002363' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.002549' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68893
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68894
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68895
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68896
|
+
[AdvertSelector] AdvertSelection finished
|
68897
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.4ms)
|
68898
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68899
|
+
|
68900
|
+
|
68901
|
+
Started GET "/?advert_selector_force=207249520" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68902
|
+
Processing by ExamplesController#index as HTML
|
68903
|
+
Parameters: {"advert_selector_force"=>"207249520"}
|
68904
|
+
[AdvertSelector] AdvertSelection initialized
|
68905
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = 207249520 LIMIT 1[0m
|
68906
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
68907
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position[0m
|
68908
|
+
[AdvertSelector] ForceShowing banner parade_banner in placement Parade
|
68909
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68910
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.015938' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.016122' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
68911
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
68912
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
68913
|
+
[AdvertSelector] AdvertSelection finished
|
68914
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.6ms)
|
68915
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68916
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68918
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68919
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68920
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68922
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000399' WHERE "advert_selector_banners"."id" = 814558298
|
68923
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68924
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68925
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68926
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002256' WHERE "advert_selector_banners"."id" = 394627963
|
68927
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68928
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68929
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68930
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-25 09:00:00.000438' WHERE "advert_selector_banners"."id" = 207249520
|
68931
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position[0m
|
68932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68933
|
+
|
68934
|
+
|
68935
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68936
|
+
Processing by ExamplesController#index as HTML
|
68937
|
+
[AdvertSelector] AdvertSelection initialized
|
68938
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68939
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.003867' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.004043' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68940
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68941
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68942
|
+
[AdvertSelector] Showing banner parade_banner in placement Parade
|
68943
|
+
[AdvertSelector] AdvertSelection finished
|
68944
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms)
|
68945
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68946
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68947
|
+
|
68948
|
+
|
68949
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68950
|
+
Processing by ExamplesController#index as HTML
|
68951
|
+
[AdvertSelector] AdvertSelection initialized
|
68952
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68953
|
+
[AdvertSelector] AdvertSelection finished
|
68954
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
68955
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68956
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68957
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68959
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
68960
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
68961
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
68962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68963
|
+
[1m[35m (0.4ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000645' WHERE "advert_selector_banners"."id" = 814558298
|
68964
|
+
[1m[36mAdvertSelector::HelperItem Load (0.4ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
68965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68966
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68967
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.003669' WHERE "advert_selector_banners"."id" = 394627963
|
68968
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
68969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
68971
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 't', "updated_at" = '2012-10-25 09:00:00.000415' WHERE "advert_selector_banners"."id" = 207249520
|
68972
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position[0m
|
68973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68974
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
68975
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68976
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.002449', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 718799085[0m
|
68977
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1
|
68978
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.003807', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 405688915[0m
|
68979
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1
|
68980
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'video') LIMIT 1[0m
|
68981
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.005675', "conflicting_placements_array" = '' WHERE "advert_selector_placements"."id" = 1019730477
|
68982
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
68983
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68984
|
+
|
68985
|
+
|
68986
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
68987
|
+
Processing by ExamplesController#index as HTML
|
68988
|
+
[AdvertSelector] AdvertSelection initialized
|
68989
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
68990
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.009192' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.009391' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
68991
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
68992
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
68993
|
+
[AdvertSelector] Showing banner parade_banner in placement Parade
|
68994
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
68995
|
+
[AdvertSelector] AdvertSelection finished
|
68996
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.4ms)
|
68997
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
68998
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
68999
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69001
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69002
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69003
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69004
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69005
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000393' WHERE "advert_selector_banners"."id" = 814558298
|
69006
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69009
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002311' WHERE "advert_selector_banners"."id" = 394627963
|
69010
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69011
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69012
|
+
|
69013
|
+
|
69014
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69015
|
+
Processing by ExamplesController#index as HTML
|
69016
|
+
[AdvertSelector] AdvertSelection initialized
|
69017
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69018
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.000226' OR end_time IS NULL) ORDER BY priority desc[0m
|
69019
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69020
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69021
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69022
|
+
[AdvertSelector] AdvertSelection finished
|
69023
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.4ms)
|
69024
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69025
|
+
|
69026
|
+
|
69027
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69028
|
+
Processing by ExamplesController#index as HTML
|
69029
|
+
[AdvertSelector] AdvertSelection initialized
|
69030
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69031
|
+
[AdvertSelector] AdvertSelection finished
|
69032
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
69033
|
+
|
69034
|
+
|
69035
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:15:00 +0300 2012
|
69036
|
+
Processing by ExamplesController#index as HTML
|
69037
|
+
[AdvertSelector] AdvertSelection initialized
|
69038
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69039
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69040
|
+
[AdvertSelector] AdvertSelection finished
|
69041
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
69042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69044
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69045
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69046
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69048
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "fast_mode" = 't', "updated_at" = '2012-10-25 09:00:00.000413' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69049
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69050
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69052
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "confirmed" = 'f', "updated_at" = '2012-10-25 09:00:00.002317' WHERE "advert_selector_banners"."id" = 394627963[0m
|
69053
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
69054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69055
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69057
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "updated_at" = '2012-10-25 09:00:00.000869', "only_once_per_session" = 't' WHERE "advert_selector_placements"."id" = 405688915
|
69058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69059
|
+
|
69060
|
+
|
69061
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69062
|
+
Processing by ExamplesController#index as HTML
|
69063
|
+
[AdvertSelector] AdvertSelection initialized
|
69064
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69065
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.003759' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.003929' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69066
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69067
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69068
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69069
|
+
[AdvertSelector] AdvertSelection finished
|
69070
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.4ms)
|
69071
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69072
|
+
|
69073
|
+
|
69074
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69075
|
+
Processing by ExamplesController#index as HTML
|
69076
|
+
[AdvertSelector] AdvertSelection initialized
|
69077
|
+
[AdvertSelector] AdvertSelection finished
|
69078
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
69079
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69080
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69082
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69083
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69084
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69085
|
+
Processing by ExamplesController#index as HTML
|
69086
|
+
[AdvertSelector] AdvertSelection initialized
|
69087
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69088
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.002359' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.002536' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69089
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69090
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69091
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69092
|
+
[AdvertSelector] AdvertSelection finished
|
69093
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.3ms)
|
69094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69095
|
+
Connecting to database specified by database.yml
|
69096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69097
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "advert_selector_banners"
|
69098
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "running_view_count", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Coke banner', 'Coke', 405688915, '2012-10-22 15:17:50', 100, '2012-10-27 00:00:00', 't', '2012-10-22 15:17:50', 50, 814558298, 1000, 'f', 0, '2012-10-17 00:00:00')[0m
|
69099
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "advert_selector_banners" ("comment", "name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('Pepsi banner', 'Pepsi', 405688915, '2012-10-22 15:17:50', '2012-11-01 00:00:00', 't', '2012-10-22 15:17:50', 100, 394627963, 1000, 't', 0, '2012-10-22 00:00:00')
|
69100
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "advert_selector_banners" ("name", "placement_id", "created_at", "end_time", "confirmed", "updated_at", "priority", "id", "target_view_count", "fast_mode", "frequency", "start_time") VALUES ('parade_banner', 718799085, '2012-10-22 15:17:50', '2012-11-01 00:00:00', 'f', '2012-10-22 15:17:50', 1000, 207249520, 1000, 't', 1, '2012-10-22 00:00:00')[0m
|
69101
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "advert_selector_helper_items"
|
69102
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_leaderboard', 2, '2012-10-22 15:17:50', '2012-10-22 15:17:50', 960656439, 't', 394627963, '<img src=''pepsi_banner''/>')[0m
|
69103
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("position", "name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES (1, 'banner_leaderboard', '2012-10-22 15:17:50', '2012-10-22 15:17:50', 929640376, 't', 814558298, '<img src=''coke_banner''/>')
|
69104
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("name", "position", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('banner_parade', 1, '2012-10-22 15:17:50', '2012-10-22 15:17:50', 281932184, 't', 207249520, '<img src=''banner_parade''/>')[0m
|
69105
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_helper_items" ("name", "created_at", "updated_at", "id", "content_for", "banner_id", "content") VALUES ('request_params_include?', '2012-10-22 15:17:50', '2012-10-22 15:17:50', 435138789, 'f', 394627963, 'pepsi=true')
|
69106
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "advert_selector_placements"[0m
|
69107
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Parade', '2012-10-22 15:17:50', '2012-10-22 15:17:50', 'leaderboard,video', 718799085)
|
69108
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "only_once_per_session", "id") VALUES ('Video', '2012-10-22 15:17:50', '2012-10-22 15:17:50', 'parade', 't', 1019730477)[0m
|
69109
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "advert_selector_placements" ("name", "created_at", "updated_at", "conflicting_placements_array", "id") VALUES ('Leaderboard', '2012-10-22 15:17:50', '2012-10-22 15:17:50', 'parade', 405688915)
|
69110
|
+
[1m[36m (48.7ms)[0m [1mcommit transaction[0m
|
69111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69112
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69113
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69114
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69115
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_helper_items"
|
69116
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
69117
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE ("advert_selector_helper_items"."banner_id" = 814558298) ORDER BY advert_selector_helper_items.position DESC LIMIT 1
|
69118
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", nil], ["position", 2], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69119
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 10)
|
69120
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", true], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "content_for_invalid"], ["position", 10], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69121
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
69122
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "some_limit_helper_here"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69123
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69124
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656440]]
|
69125
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position > 3)
|
69126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69127
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69128
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" [0m
|
69129
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position LIMIT 1
|
69130
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position DESC LIMIT 1[0m
|
69131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69133
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69134
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69135
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69136
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000064' OR end_time IS NULL)[0m
|
69137
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.000853' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.000969' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
69138
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.001803' OR end_time IS NULL)[0m
|
69139
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners" WHERE (end_time > '2011-10-22 09:00:00.002530' OR end_time IS NULL) AND (start_time < '2011-10-22 10:00:00.002651' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count)
|
69140
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69142
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69143
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69144
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69145
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69147
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69148
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69149
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69150
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69151
|
+
[1m[35m (0.3ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000879', "running_view_count" = 0 WHERE "advert_selector_banners"."id" = 814558298
|
69152
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69154
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69155
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69156
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.007089', "running_view_count" = 551 WHERE "advert_selector_banners"."id" = 814558298[0m
|
69157
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69158
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69159
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69161
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69162
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69163
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69164
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69165
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000862', "target_view_count" = 10, "running_view_count" = 0 WHERE "advert_selector_banners"."id" = 814558298
|
69166
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69167
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69168
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69169
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.004099', "running_view_count" = 10 WHERE "advert_selector_banners"."id" = 814558298
|
69170
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69171
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69172
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69174
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69175
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69176
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69177
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69178
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000372', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69179
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69180
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69181
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69182
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002416', "confirmed" = 't' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69184
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69187
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69188
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69189
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69191
|
+
[1m[35m (0.3ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000738', "start_time" = '2012-10-22 10:00:00.000342' WHERE "advert_selector_banners"."id" = 814558298
|
69192
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69193
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69195
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002875', "start_time" = '2012-10-22 07:00:00.002472', "end_time" = '2012-10-22 08:00:00.002547' WHERE "advert_selector_banners"."id" = 814558298
|
69196
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69198
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.004478', "start_time" = NULL, "end_time" = '2012-10-22 10:00:00.004137' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69200
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69201
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69202
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69203
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69204
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69206
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000868', "start_time" = '2012-10-21 21:00:00.000000', "target_view_count" = 100, "end_time" = '2012-11-01 00:00:00.000000' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69207
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69209
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69210
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.003239', "running_view_count" = 0 WHERE "advert_selector_banners"."id" = 814558298[0m
|
69211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69212
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69213
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69214
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69215
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69216
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69217
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69218
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69219
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69220
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 16:00:00.001481', "start_time" = '2012-10-22 15:00:00.000763' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69221
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69222
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69225
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69226
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69227
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69228
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" [0m
|
69229
|
+
Processing by AdvertSelector::BannersController#create as HTML
|
69230
|
+
Parameters: {"banner"=>{"comment"=>"Pepsi banner", "name"=>"Pepsi", "placement_id"=>"405688915", "end_time"=>"2012-11-01 00:00:00 UTC", "target_view_count"=>"1000", "frequency"=>"0", "start_time"=>"2012-10-22 00:00:00 UTC"}}
|
69231
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
69232
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "advert_selector_banners" ("comment", "confirmed", "created_at", "end_time", "fast_mode", "frequency", "name", "placement_id", "priority", "running_view_count", "start_time", "target_view_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["comment", "Pepsi banner"], ["confirmed", false], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["end_time", Thu, 01 Nov 2012 00:00:00 UTC +00:00], ["fast_mode", false], ["frequency", 0], ["name", "Pepsi"], ["placement_id", 405688915], ["priority", 0], ["running_view_count", 0], ["start_time", Mon, 22 Oct 2012 00:00:00 UTC +00:00], ["target_view_count", 1000], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69233
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558299 ORDER BY position
|
69234
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69235
|
+
Redirected to http://test.host/advert_selector/banners/814558299
|
69236
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
69237
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners"
|
69238
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69240
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69241
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69242
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69243
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "advert_selector_banners"
|
69244
|
+
Processing by AdvertSelector::BannersController#destroy as HTML
|
69245
|
+
Parameters: {"id"=>"394627963"}
|
69246
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
69247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69248
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69249
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ? [["id", 435138789]]
|
69250
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."id" = ?[0m [["id", 960656439]]
|
69251
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "advert_selector_helper_items" SET position = (position - 1) WHERE ("advert_selector_helper_items"."banner_id" = 394627963 AND position > 2)
|
69252
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ?[0m [["id", 394627963]]
|
69253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69254
|
+
Redirected to http://test.host/advert_selector/banners
|
69255
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
69256
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_banners" [0m
|
69257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69259
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69260
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69261
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69262
|
+
Processing by AdvertSelector::BannersController#edit as HTML
|
69263
|
+
Parameters: {"id"=>"394627963"}
|
69264
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
69265
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69266
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963[0m
|
69267
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
69268
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/banners/_form.html.erb (50.0ms)
|
69269
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.062558') ORDER BY priority desc LIMIT 10[0m
|
69270
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
69271
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69272
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69273
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
69274
|
+
Completed 200 OK in 67ms (Views: 65.8ms | ActiveRecord: 0.8ms)
|
69275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69277
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69278
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69279
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69280
|
+
Processing by AdvertSelector::BannersController#index as HTML
|
69281
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" [0m
|
69282
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.007016') ORDER BY priority desc LIMIT 10
|
69283
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69284
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69285
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69286
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69287
|
+
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.5ms)
|
69288
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69290
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69291
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69292
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69293
|
+
Processing by AdvertSelector::BannersController#new as HTML
|
69294
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69295
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/banners/_form.html.erb (18.5ms)
|
69296
|
+
[1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.023227') ORDER BY priority desc LIMIT 10[0m
|
69297
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
69298
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69299
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69300
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
69301
|
+
Completed 200 OK in 27ms (Views: 25.5ms | ActiveRecord: 0.5ms)
|
69302
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69304
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69305
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69306
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69307
|
+
Processing by AdvertSelector::BannersController#show as HTML
|
69308
|
+
Parameters: {"id"=>"394627963"}
|
69309
|
+
Redirected to http://test.host/advert_selector/banners/394627963/edit
|
69310
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
69311
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69313
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69314
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69315
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69316
|
+
Processing by AdvertSelector::BannersController#update as HTML
|
69317
|
+
Parameters: {"banner"=>{"comment"=>"Pepsi banner"}, "id"=>"394627963"}
|
69318
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", "394627963"]]
|
69319
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69320
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
69321
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69322
|
+
Redirected to http://test.host/advert_selector/banners/394627963
|
69323
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
69324
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69326
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69327
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69328
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69329
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69330
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.001172', "running_view_count" = 1 WHERE "advert_selector_banners"."id" = 394627963
|
69331
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69333
|
+
Processing by AdvertSelector::BannersController#update_running_view_count as HTML
|
69334
|
+
Parameters: {"banner"=>{"running_view_count"=>"99"}, "id"=>"394627963"}
|
69335
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", "394627963"]]
|
69336
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "advert_selector_banners" SET "running_view_count" = 99 WHERE "advert_selector_banners"."id" = 394627963
|
69337
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "advert_selector_banners" SET "running_view_count" = 99 WHERE "advert_selector_banners"."id" = 394627963[0m
|
69338
|
+
Redirected to http://test.host/advert_selector/banners/394627963
|
69339
|
+
Completed 302 Found in 1057ms (ActiveRecord: 0.6ms)
|
69340
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69341
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69342
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69343
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69344
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69345
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69346
|
+
Processing by AdvertSelector::MainController#index as HTML
|
69347
|
+
Filter chain halted as :admin_access_only rendered or redirected
|
69348
|
+
Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
69349
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69351
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69352
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69353
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69354
|
+
Processing by AdvertSelector::MainController#clear_errors_log as HTML
|
69355
|
+
Redirected to http://test.host/advert_selector/
|
69356
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
69357
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69358
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69359
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69360
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69361
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69362
|
+
Processing by AdvertSelector::MainController#index as HTML
|
69363
|
+
[1m[35mAdvertSelector::Banner Load (0.3ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.005957') ORDER BY priority desc LIMIT 10
|
69364
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69365
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69366
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69367
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69368
|
+
Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.8ms)
|
69369
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69371
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69372
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69373
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69374
|
+
[1m[35mAdvertSelector::Placement Load (0.2ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
69375
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
69376
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69378
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69379
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69380
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69381
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
69382
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69383
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69384
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_placements" SET "conflicting_placements_array" = 'not_found,video', "updated_at" = '2012-10-22 09:00:00.000774' WHERE "advert_selector_placements"."id" = 718799085
|
69385
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1[0m
|
69386
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "conflicting_placements_array" = '', "updated_at" = '2012-10-22 09:00:00.002278' WHERE "advert_selector_placements"."id" = 405688915
|
69387
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
69388
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."name" = 'not_found' LIMIT 1
|
69389
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."name" = 'video' LIMIT 1[0m
|
69390
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69391
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
69392
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69393
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69395
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69396
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69397
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69398
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
69399
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
69400
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69402
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69403
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69404
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69405
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 718799085]]
|
69406
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69407
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69409
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69410
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69411
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69412
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 718799085]]
|
69413
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
69414
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69415
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69416
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69417
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69418
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69419
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", 405688915]]
|
69420
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
69421
|
+
Processing by AdvertSelector::PlacementsController#create as HTML
|
69422
|
+
Parameters: {"placement"=>{"name"=>"new placement"}}
|
69423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
69424
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "advert_selector_placements" ("conflicting_placements_array", "created_at", "name", "only_once_per_session", "updated_at") VALUES (?, ?, ?, ?, ?) [["conflicting_placements_array", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "new placement"], ["only_once_per_session", nil], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69425
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69426
|
+
Redirected to http://test.host/advert_selector/placements/1019730478
|
69427
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
69428
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
69429
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69431
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69432
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69433
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69434
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69435
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "advert_selector_placements" [0m
|
69436
|
+
Processing by AdvertSelector::PlacementsController#destroy as HTML
|
69437
|
+
Parameters: {"id"=>"405688915"}
|
69438
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", "405688915"]]
|
69439
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69440
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? [["id", 405688915]]
|
69441
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69442
|
+
Redirected to http://test.host/advert_selector/placements
|
69443
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
69444
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "advert_selector_placements"
|
69445
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69447
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69448
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69449
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69450
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69451
|
+
Processing by AdvertSelector::PlacementsController#edit as HTML
|
69452
|
+
Parameters: {"id"=>"405688915"}
|
69453
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", "405688915"]]
|
69454
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1
|
69455
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
69456
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/placements/_form.html.erb (5.6ms)
|
69457
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.011102') ORDER BY priority desc LIMIT 10
|
69458
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69459
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69460
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69461
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69462
|
+
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.6ms)
|
69463
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69464
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69465
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69466
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69467
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69468
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69469
|
+
Processing by AdvertSelector::PlacementsController#index as HTML
|
69470
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
69471
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.006383') ORDER BY priority desc LIMIT 10
|
69472
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69473
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69474
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69475
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69476
|
+
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.5ms)
|
69477
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69479
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69480
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69481
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69482
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69483
|
+
Processing by AdvertSelector::PlacementsController#new as HTML
|
69484
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = '') LIMIT 1[0m
|
69485
|
+
Rendered /home/ohu/koodi/gems/advert_selector/app/views/advert_selector/placements/_form.html.erb (4.1ms)
|
69486
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.008278') ORDER BY priority desc LIMIT 10
|
69487
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69488
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69489
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69490
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69491
|
+
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.5ms)
|
69492
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69494
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69495
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69496
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69497
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69498
|
+
Processing by AdvertSelector::PlacementsController#show as HTML
|
69499
|
+
Parameters: {"id"=>"405688915"}
|
69500
|
+
Redirected to http://test.host/advert_selector/placements/405688915/edit
|
69501
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
69502
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69504
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69505
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69506
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69507
|
+
[1m[35mAdvertSelector::Placement Load (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1 [["id", 405688915]]
|
69508
|
+
Processing by AdvertSelector::PlacementsController#update as HTML
|
69509
|
+
Parameters: {"id"=>"405688915", "placement"=>{"name"=>"Leaderboard"}}
|
69510
|
+
[1m[36mAdvertSelector::Placement Load (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = ? LIMIT 1[0m [["id", "405688915"]]
|
69511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69513
|
+
Redirected to http://test.host/advert_selector/placements/405688915
|
69514
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
69515
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69517
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69518
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69519
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69522
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69523
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69524
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69526
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000371', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69527
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69528
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69530
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002222', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963[0m
|
69531
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
69532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69533
|
+
|
69534
|
+
|
69535
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
69536
|
+
Processing by ExamplesController#index as HTML
|
69537
|
+
[AdvertSelector] AdvertSelection initialized
|
69538
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69539
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.006269' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.006451' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69540
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69541
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69542
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69543
|
+
[AdvertSelector] AdvertSelection finished
|
69544
|
+
Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.4ms)
|
69545
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69547
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)[0m
|
69548
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "always_false"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69549
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69550
|
+
|
69551
|
+
|
69552
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
69553
|
+
Processing by ExamplesController#index as HTML
|
69554
|
+
[AdvertSelector] AdvertSelection initialized
|
69555
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69556
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.019408' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.019585' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69557
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69558
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69559
|
+
[AdvertSelector] AdvertSelection finished
|
69560
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.4ms)
|
69561
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69562
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69564
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69565
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69566
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69568
|
+
[1m[35m (0.3ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000439', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298
|
69569
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69570
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69571
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69572
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002523', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963
|
69573
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69574
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69576
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "advert_selector_helper_items" SET position = (position + 1) WHERE ("advert_selector_helper_items"."banner_id" = 814558298 AND position >= 0)
|
69577
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "advert_selector_helper_items" ("banner_id", "content", "content_for", "created_at", "name", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["banner_id", 814558298], ["content", nil], ["content_for", nil], ["created_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00], ["name", "raise_error"], ["position", 0], ["updated_at", Mon, 22 Oct 2012 09:00:00 UTC +00:00]]
|
69578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69579
|
+
|
69580
|
+
|
69581
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
69582
|
+
Processing by ExamplesController#index as HTML
|
69583
|
+
[AdvertSelector] AdvertSelection initialized
|
69584
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69585
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.004324' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.004496' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
69586
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69587
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69588
|
+
[AdvertSelector] Error with banner Coke in placement Leaderboard.
|
69589
|
+
2012-10-22T12:00:00+03:00 - http://www.example.com/ - {"action"=>"index", "controller"=>"examples"}
|
69590
|
+
#<ZeroDivisionError: divided by 0>
|
69591
|
+
|
69592
|
+
/home/ohu/koodi/gems/advert_selector/test/dummy/app/helpers/advert_selector_helper.rb:9:in `/'
|
69593
|
+
/home/ohu/koodi/gems/advert_selector/test/dummy/app/helpers/advert_selector_helper.rb:9:in `advert_selector_raise_error'
|
69594
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:53:in `send'
|
69595
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:53:in `advert_selector_banner_try'
|
69596
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `each'
|
69597
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `send'
|
69598
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
|
69599
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:49:in `advert_selector_banner_try'
|
69600
|
+
/home/ohu/koodi/gems/advert_selector/app/helpers/advert_selector/application_helper.rb:20:in `advert_selector_initialize'
|
69601
|
+
/home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in `each'
|
69602
|
+
[AdvertSelector] AdvertSelection finished
|
69603
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms)
|
69604
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69605
|
+
|
69606
|
+
|
69607
|
+
Started GET "/advert_selector/placements" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
69608
|
+
Processing by AdvertSelector::PlacementsController#index as HTML
|
69609
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" [0m
|
69610
|
+
[1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time is null or end_time > '2012-10-20 09:00:00.020387') ORDER BY priority desc LIMIT 10
|
69611
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69612
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69613
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1[0m
|
69614
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements"
|
69615
|
+
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.4ms)
|
69616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69618
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69619
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69620
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69622
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000398', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69623
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69626
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.002358', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963[0m
|
69627
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
69628
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69629
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69630
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-22 09:00:00.000267', "frequency" = 2 WHERE "advert_selector_banners"."id" = 814558298[0m
|
69631
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69632
|
+
|
69633
|
+
|
69634
|
+
Started GET "/" for 127.0.0.1 at Mon Oct 22 12:00:00 +0300 2012
|
69635
|
+
Processing by ExamplesController#index as HTML
|
69636
|
+
[AdvertSelector] AdvertSelection initialized
|
69637
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69638
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-22 09:00:00.003111' OR end_time IS NULL) AND (start_time < '2012-10-22 10:00:00.003281' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
69639
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69640
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69641
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69642
|
+
[AdvertSelector] AdvertSelection finished
|
69643
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
69644
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69645
|
+
|
69646
|
+
|
69647
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69648
|
+
Processing by ExamplesController#index as HTML
|
69649
|
+
[AdvertSelector] AdvertSelection initialized
|
69650
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69651
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.016358' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.016524' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
69652
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69653
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69654
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69655
|
+
[AdvertSelector] AdvertSelection finished
|
69656
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
69657
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69658
|
+
|
69659
|
+
|
69660
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69661
|
+
Processing by ExamplesController#index as HTML
|
69662
|
+
[AdvertSelector] AdvertSelection initialized
|
69663
|
+
[AdvertSelector] AdvertSelection finished
|
69664
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
69665
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69666
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69667
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69668
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69669
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69670
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69671
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69672
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000399', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298
|
69673
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69675
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69676
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.002262', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963
|
69677
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69679
|
+
|
69680
|
+
|
69681
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69682
|
+
Processing by ExamplesController#index as HTML
|
69683
|
+
[AdvertSelector] AdvertSelection initialized
|
69684
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69685
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.002335' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.002527' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
69686
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69687
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69688
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69689
|
+
[AdvertSelector] AdvertSelection finished
|
69690
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
69691
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69692
|
+
|
69693
|
+
|
69694
|
+
Started GET "/?advert_selector_force=207249520" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69695
|
+
Processing by ExamplesController#index as HTML
|
69696
|
+
Parameters: {"advert_selector_force"=>"207249520"}
|
69697
|
+
[AdvertSelector] AdvertSelection initialized
|
69698
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = 207249520 LIMIT 1[0m
|
69699
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1
|
69700
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position[0m
|
69701
|
+
[AdvertSelector] ForceShowing banner parade_banner in placement Parade
|
69702
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69703
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.015686' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.015863' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69704
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69705
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69706
|
+
[AdvertSelector] AdvertSelection finished
|
69707
|
+
Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.6ms)
|
69708
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69709
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69711
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69712
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69713
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69715
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000398', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298
|
69716
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69717
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69718
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69719
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.002296', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963
|
69720
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69723
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000419', "confirmed" = 't' WHERE "advert_selector_banners"."id" = 207249520
|
69724
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position[0m
|
69725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69726
|
+
|
69727
|
+
|
69728
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69729
|
+
Processing by ExamplesController#index as HTML
|
69730
|
+
[AdvertSelector] AdvertSelection initialized
|
69731
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69732
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.003950' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.004140' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
69733
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69734
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69735
|
+
[AdvertSelector] Showing banner parade_banner in placement Parade
|
69736
|
+
[AdvertSelector] AdvertSelection finished
|
69737
|
+
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.4ms)
|
69738
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69739
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69740
|
+
|
69741
|
+
|
69742
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69743
|
+
Processing by ExamplesController#index as HTML
|
69744
|
+
[AdvertSelector] AdvertSelection initialized
|
69745
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69746
|
+
[AdvertSelector] AdvertSelection finished
|
69747
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
69748
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69749
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69750
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69752
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69753
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69754
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69755
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69756
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000421', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298
|
69757
|
+
[1m[36mAdvertSelector::HelperItem Load (0.4ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69758
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69760
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.002589', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963
|
69761
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69762
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69763
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69764
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000426', "confirmed" = 't' WHERE "advert_selector_banners"."id" = 207249520
|
69765
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 ORDER BY position[0m
|
69766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69767
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 718799085 LIMIT 1[0m
|
69768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69769
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "conflicting_placements_array" = '', "updated_at" = '2012-10-25 09:00:00.002717' WHERE "advert_selector_placements"."id" = 718799085[0m
|
69770
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'leaderboard') LIMIT 1
|
69771
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_placements" SET "conflicting_placements_array" = '', "updated_at" = '2012-10-25 09:00:00.003988' WHERE "advert_selector_placements"."id" = 405688915[0m
|
69772
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1
|
69773
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'video') LIMIT 1[0m
|
69774
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "conflicting_placements_array" = '', "updated_at" = '2012-10-25 09:00:00.005645' WHERE "advert_selector_placements"."id" = 1019730477
|
69775
|
+
[1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE (LOWER(name) = 'parade') LIMIT 1[0m
|
69776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69777
|
+
|
69778
|
+
|
69779
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69780
|
+
Processing by ExamplesController#index as HTML
|
69781
|
+
[AdvertSelector] AdvertSelection initialized
|
69782
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69783
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.009033' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.009233' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc[0m
|
69784
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69785
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69786
|
+
[AdvertSelector] Showing banner parade_banner in placement Parade
|
69787
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69788
|
+
[AdvertSelector] AdvertSelection finished
|
69789
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.3ms)
|
69790
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 207249520 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69791
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69792
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69793
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69794
|
+
[1m[35mAdvertSelector::Banner Load (0.1ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 814558298]]
|
69795
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 394627963]]
|
69796
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 207249520]]
|
69797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69798
|
+
[1m[35m (0.2ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000417', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298
|
69799
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position[0m
|
69800
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69801
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69802
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.002290', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963
|
69803
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position[0m
|
69804
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69805
|
+
|
69806
|
+
|
69807
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69808
|
+
Processing by ExamplesController#index as HTML
|
69809
|
+
[AdvertSelector] AdvertSelection initialized
|
69810
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69811
|
+
[AdvertSelector] [1m[36mAdvertSelector::Banner Load (0.2ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.000281' OR end_time IS NULL) ORDER BY priority desc[0m
|
69812
|
+
[AdvertSelector] [1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)
|
69813
|
+
[AdvertSelector] [1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position[0m
|
69814
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69815
|
+
[AdvertSelector] AdvertSelection finished
|
69816
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.4ms)
|
69817
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69818
|
+
|
69819
|
+
|
69820
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69821
|
+
Processing by ExamplesController#index as HTML
|
69822
|
+
[AdvertSelector] AdvertSelection initialized
|
69823
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69824
|
+
[AdvertSelector] AdvertSelection finished
|
69825
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
69826
|
+
|
69827
|
+
|
69828
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:15:00 +0300 2012
|
69829
|
+
Processing by ExamplesController#index as HTML
|
69830
|
+
[AdvertSelector] AdvertSelection initialized
|
69831
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69832
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69833
|
+
[AdvertSelector] AdvertSelection finished
|
69834
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
69835
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69836
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69837
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69838
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69839
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69841
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.000388', "fast_mode" = 't' WHERE "advert_selector_banners"."id" = 814558298[0m
|
69842
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 ORDER BY position
|
69843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69845
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "advert_selector_banners" SET "updated_at" = '2012-10-25 09:00:00.002367', "confirmed" = 'f' WHERE "advert_selector_banners"."id" = 394627963[0m
|
69846
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 394627963 ORDER BY position
|
69847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69848
|
+
[1m[35mAdvertSelector::Placement Load (0.1ms)[0m SELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" = 405688915 LIMIT 1
|
69849
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
69850
|
+
[1m[35m (0.1ms)[0m UPDATE "advert_selector_placements" SET "only_once_per_session" = 't', "updated_at" = '2012-10-25 09:00:00.001013' WHERE "advert_selector_placements"."id" = 405688915
|
69851
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69852
|
+
|
69853
|
+
|
69854
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69855
|
+
Processing by ExamplesController#index as HTML
|
69856
|
+
[AdvertSelector] AdvertSelection initialized
|
69857
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69858
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.003860' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.004022' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69859
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69860
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69861
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69862
|
+
[AdvertSelector] AdvertSelection finished
|
69863
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms)
|
69864
|
+
[1m[36mAdvertSelector::HelperItem Load (0.1ms)[0m [1mSELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1[0m
|
69865
|
+
|
69866
|
+
|
69867
|
+
Started GET "/" for 127.0.0.1 at Thu Oct 25 12:00:00 +0300 2012
|
69868
|
+
Processing by ExamplesController#index as HTML
|
69869
|
+
[AdvertSelector] AdvertSelection initialized
|
69870
|
+
[AdvertSelector] AdvertSelection finished
|
69871
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
69872
|
+
[1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" = 814558298 AND "advert_selector_helper_items"."content_for" = 't' ORDER BY position DESC LIMIT 1
|
69873
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69874
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69875
|
+
[1m[36mAdvertSelector::Banner Load (0.1ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 814558298]]
|
69876
|
+
[1m[35mAdvertSelector::Banner Load (0.0ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1 [["id", 394627963]]
|
69877
|
+
[1m[36mAdvertSelector::Banner Load (0.0ms)[0m [1mSELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE "advert_selector_banners"."id" = ? LIMIT 1[0m [["id", 207249520]]
|
69878
|
+
Processing by ExamplesController#index as HTML
|
69879
|
+
[AdvertSelector] AdvertSelection initialized
|
69880
|
+
[AdvertSelector] AdvertSelection fetching banners and placements
|
69881
|
+
[AdvertSelector] [1m[35mAdvertSelector::Banner Load (0.2ms)[0m SELECT "advert_selector_banners".* FROM "advert_selector_banners" WHERE (end_time > '2012-10-25 09:00:00.002177' OR end_time IS NULL) AND (start_time < '2012-10-25 10:00:00.002353' OR start_time IS NULL) AND (target_view_count IS NULL OR target_view_count > running_view_count) ORDER BY priority desc
|
69882
|
+
[AdvertSelector] [1m[36mAdvertSelector::Placement Load (0.1ms)[0m [1mSELECT "advert_selector_placements".* FROM "advert_selector_placements" WHERE "advert_selector_placements"."id" IN (718799085, 405688915)[0m
|
69883
|
+
[AdvertSelector] [1m[35mAdvertSelector::HelperItem Load (0.1ms)[0m SELECT "advert_selector_helper_items".* FROM "advert_selector_helper_items" WHERE "advert_selector_helper_items"."banner_id" IN (207249520, 394627963, 814558298) ORDER BY position
|
69884
|
+
[AdvertSelector] Showing banner Coke in placement Leaderboard
|
69885
|
+
[AdvertSelector] AdvertSelection finished
|
69886
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.4ms)
|
69887
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|