bookingsync-engine 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bookingsync/engine/version.rb +1 -1
- data/spec/dummy/log/development.log +100 -0
- data/spec/dummy/log/test.log +2050 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e039b4e380e28741a2c5e9260c43b65b0b8d383d
|
4
|
+
data.tar.gz: cbea5209a017df774f61919b49a10d97c813fb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ec5bc9e3b27cfb29ad156d4f28ee3713f24fa049198c727dd947f5d5933a3ec99c15f6848d11bc741d07f220bcdd320be3782555998ff982298251c0b67ba1
|
7
|
+
data.tar.gz: 721ca0d730b5da027d317e6d5e28438d65bd7c080fd5658b59746007897142d70ef26b56b98e187f1327f8b56860fafbee2b658e7555197f872f365231e8273f
|
@@ -412,3 +412,103 @@
|
|
412
412
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
413
413
|
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
414
414
|
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
415
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
416
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
417
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
418
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
419
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
420
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
421
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
422
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
423
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
424
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
|
425
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
426
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
427
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
428
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
|
429
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
|
430
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
431
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
432
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
433
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
434
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
435
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
436
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
437
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
438
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
439
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
440
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
441
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
442
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
443
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
444
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
445
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
446
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
447
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
448
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
449
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
450
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
451
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
452
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
453
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
454
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
455
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
|
456
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
457
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
458
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
459
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
|
460
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
|
461
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
462
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
463
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
464
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
465
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
466
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
467
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
468
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
469
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar, "uid" integer, "name" varchar, "oauth_access_token" varchar, "oauth_refresh_token" varchar, "oauth_expires_at" varchar) [0m
|
470
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
471
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
472
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
473
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
474
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
475
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
476
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
477
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
478
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
|
479
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
480
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
481
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
482
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
|
483
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
|
484
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
485
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
486
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
487
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
488
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
489
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
490
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
491
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
492
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
493
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")
|
494
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
495
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
496
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
497
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110454')
|
498
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110326')[0m
|
499
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
500
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
501
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
502
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
503
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
504
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
505
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
506
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
507
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
508
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
509
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
510
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
511
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
512
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
513
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
514
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
data/spec/dummy/log/test.log
CHANGED
@@ -5286,3 +5286,2053 @@ Processing by SessionsController#create as HTML
|
|
5286
5286
|
Redirected to http://test.host/
|
5287
5287
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
5288
5288
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5289
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5290
|
+
Processing by AuthenticatedController#index as HTML
|
5291
|
+
Rendered text template (0.0ms)
|
5292
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5293
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
5294
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5296
|
+
Processing by AuthenticatedController#index as HTML
|
5297
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
5298
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5299
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5300
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5302
|
+
Processing by AuthenticatedController#index as JS
|
5303
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5304
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
5305
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5306
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5307
|
+
Processing by AuthenticatedController#index as JS
|
5308
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5309
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
5310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5312
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5313
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.553587"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.553587"]]
|
5314
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5315
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5316
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.556977"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.556977"]]
|
5317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5318
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5319
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5320
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:10:43.564840"]]
|
5321
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5322
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5325
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.568381"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.568381"]]
|
5326
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5327
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5328
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.569238"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.569238"]]
|
5329
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5330
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5332
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:10:43.570385"]]
|
5333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5334
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
5335
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5337
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5338
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.572306"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.572306"]]
|
5339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5341
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.573033"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.573033"]]
|
5342
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5343
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5345
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:10:43.574456"]]
|
5346
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5347
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
5348
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5351
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.576499"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.576499"]]
|
5352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5353
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
5354
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5355
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5356
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.580522"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.580522"]]
|
5357
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5358
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
5359
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5360
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5361
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5362
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.582972"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.582972"]]
|
5363
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5364
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5365
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5366
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.584984"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.584984"]]
|
5367
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5368
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5371
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.586873"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.586873"]]
|
5372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5373
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5374
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5375
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.588004"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.588004"]]
|
5376
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5377
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5378
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5380
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.589860"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:10:43.589860"]]
|
5381
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5382
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5383
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5384
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:10:43.591245"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.591245"]]
|
5385
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5386
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5388
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5389
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5391
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.611943"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:10:43.611943"]]
|
5392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5394
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:10:43.613223"]]
|
5395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5396
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
5397
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5399
|
+
Processing by SessionsController#create as HTML
|
5400
|
+
Parameters: {"provider"=>"bookingsync"}
|
5401
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5403
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.619569"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.619569"]]
|
5404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5405
|
+
Redirected to http://test.host/
|
5406
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
5407
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5409
|
+
Processing by SessionsController#create as HTML
|
5410
|
+
Parameters: {"provider"=>"bookingsync"}
|
5411
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5413
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.623654"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.623654"]]
|
5414
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5415
|
+
Redirected to http://test.host/admin
|
5416
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
5417
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5419
|
+
Processing by SessionsController#create as HTML
|
5420
|
+
Parameters: {"provider"=>"bookingsync"}
|
5421
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5422
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5423
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:10:43.626906"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:10:43.626906"]]
|
5424
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5425
|
+
Redirected to http://test.host/
|
5426
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
5427
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5429
|
+
Processing by SessionsController#failure as HTML
|
5430
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
5431
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5433
|
+
Processing by SessionsController#failure as HTML
|
5434
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
5435
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5436
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5437
|
+
Processing by SessionsController#destroy as HTML
|
5438
|
+
Redirected to http://test.host/
|
5439
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5440
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5442
|
+
Processing by SessionsController#destroy as HTML
|
5443
|
+
Redirected to http://test.host/signed_out
|
5444
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5445
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5446
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5447
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5450
|
+
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00]]
|
5451
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5453
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00]]
|
5454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5455
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5457
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00]]
|
5458
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5459
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5461
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5462
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00]]
|
5463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5465
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:56 UTC +00:00]]
|
5466
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5467
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5468
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5469
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5470
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5471
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
5472
|
+
[1m[36m (3.2ms)[0m [1mrollback transaction[0m
|
5473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5475
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5476
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5477
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5478
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5479
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5480
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5481
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5482
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5484
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
5485
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5486
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5488
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5489
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5490
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
5491
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5493
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5494
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5495
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
5496
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5499
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5501
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5502
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5503
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5504
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5505
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5507
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5508
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5510
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5512
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5514
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5517
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5518
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5519
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5520
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5521
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5522
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5523
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5526
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5527
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5528
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5529
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5530
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5531
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
5532
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5533
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5534
|
+
Processing by AuthenticatedController#index as HTML
|
5535
|
+
Rendered text template (0.0ms)
|
5536
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5537
|
+
Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
5538
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
5539
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5540
|
+
Processing by AuthenticatedController#index as HTML
|
5541
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
5542
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5543
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5544
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5545
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5546
|
+
Processing by AuthenticatedController#index as JS
|
5547
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5548
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
5549
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5550
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5551
|
+
Processing by AuthenticatedController#index as JS
|
5552
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5553
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
5554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5555
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5556
|
+
Processing by SessionsController#failure as HTML
|
5557
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
5558
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5560
|
+
Processing by SessionsController#failure as HTML
|
5561
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
5562
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5564
|
+
Processing by SessionsController#create as HTML
|
5565
|
+
Parameters: {"provider"=>"bookingsync"}
|
5566
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5568
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5570
|
+
Redirected to http://test.host/admin
|
5571
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
5572
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
5573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5574
|
+
Processing by SessionsController#create as HTML
|
5575
|
+
Parameters: {"provider"=>"bookingsync"}
|
5576
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5577
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
5578
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5579
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
5580
|
+
Redirected to http://test.host/
|
5581
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
5582
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5583
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5584
|
+
Processing by SessionsController#create as HTML
|
5585
|
+
Parameters: {"provider"=>"bookingsync"}
|
5586
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5588
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:10:57 UTC +00:00]]
|
5589
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5590
|
+
Redirected to http://test.host/
|
5591
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
5592
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5594
|
+
Processing by SessionsController#destroy as HTML
|
5595
|
+
Redirected to http://test.host/
|
5596
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5597
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5598
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5599
|
+
Processing by SessionsController#destroy as HTML
|
5600
|
+
Redirected to http://test.host/signed_out
|
5601
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5602
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5603
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5604
|
+
Processing by SessionsController#destroy as HTML
|
5605
|
+
Redirected to http://test.host/signed_out
|
5606
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5607
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5609
|
+
Processing by SessionsController#destroy as HTML
|
5610
|
+
Redirected to http://test.host/
|
5611
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5612
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5613
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5614
|
+
Processing by SessionsController#create as HTML
|
5615
|
+
Parameters: {"provider"=>"bookingsync"}
|
5616
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5618
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.068860"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.068860"]]
|
5619
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5620
|
+
Redirected to http://test.host/
|
5621
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.3ms)
|
5622
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
5623
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5624
|
+
Processing by SessionsController#create as HTML
|
5625
|
+
Parameters: {"provider"=>"bookingsync"}
|
5626
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5627
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5628
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.076348"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.076348"]]
|
5629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5630
|
+
Redirected to http://test.host/
|
5631
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
5632
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5634
|
+
Processing by SessionsController#create as HTML
|
5635
|
+
Parameters: {"provider"=>"bookingsync"}
|
5636
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5637
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5638
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.080792"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.080792"]]
|
5639
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5640
|
+
Redirected to http://test.host/admin
|
5641
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
5642
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5644
|
+
Processing by SessionsController#failure as HTML
|
5645
|
+
Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
|
5646
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5648
|
+
Processing by SessionsController#failure as HTML
|
5649
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
5650
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5651
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5652
|
+
Processing by AuthenticatedController#index as JS
|
5653
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5654
|
+
Completed 401 Unauthorized in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
5655
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5656
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5657
|
+
Processing by AuthenticatedController#index as JS
|
5658
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5659
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
5660
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5661
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5662
|
+
Processing by AuthenticatedController#index as HTML
|
5663
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
5664
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5665
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5666
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5667
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5668
|
+
Processing by AuthenticatedController#index as HTML
|
5669
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5670
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
5671
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5674
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.108796"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:11:16.108796"]]
|
5675
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5677
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:11:16.109794"]]
|
5678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5679
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
5680
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5682
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5683
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.113083"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.113083"]]
|
5684
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5685
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
5686
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5688
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.115959"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.115959"]]
|
5689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5690
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
5691
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5694
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.117970"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.117970"]]
|
5695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5696
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5698
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.118984"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.118984"]]
|
5699
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5700
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
5701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5703
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.121209"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.121209"]]
|
5704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5705
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5707
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.122743"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.122743"]]
|
5708
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5709
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5711
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.124777"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.124777"]]
|
5713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5714
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5716
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.125770"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.125770"]]
|
5717
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5718
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5720
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5721
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.127470"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.127470"]]
|
5722
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5724
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.128140"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.128140"]]
|
5725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5726
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5728
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:11:16.129162"]]
|
5729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5730
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5731
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5733
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.130977"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.130977"]]
|
5734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5736
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.131720"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.131720"]]
|
5737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5738
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5740
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:11:16.132804"]]
|
5741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5742
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
5743
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5745
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5746
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:16.134496"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:16.134496"]]
|
5747
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5749
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:16.135280"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:16.135280"]]
|
5750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5751
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5753
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:11:16.136418"]]
|
5754
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5755
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
5756
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5757
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5758
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5759
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
5760
|
+
Processing by SessionsController#destroy as HTML
|
5761
|
+
Redirected to http://test.host/signed_out
|
5762
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5765
|
+
Processing by SessionsController#destroy as HTML
|
5766
|
+
Redirected to http://test.host/
|
5767
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5770
|
+
Processing by SessionsController#create as HTML
|
5771
|
+
Parameters: {"provider"=>"bookingsync"}
|
5772
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5774
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.331813"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.331813"]]
|
5775
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5776
|
+
Redirected to http://test.host/
|
5777
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.3ms)
|
5778
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
5779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5780
|
+
Processing by SessionsController#create as HTML
|
5781
|
+
Parameters: {"provider"=>"bookingsync"}
|
5782
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5783
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.338863"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.338863"]]
|
5785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5786
|
+
Redirected to http://test.host/
|
5787
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
5788
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5790
|
+
Processing by SessionsController#create as HTML
|
5791
|
+
Parameters: {"provider"=>"bookingsync"}
|
5792
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5793
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5794
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.343491"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.343491"]]
|
5795
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5796
|
+
Redirected to http://test.host/admin
|
5797
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
5798
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
5799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5800
|
+
Processing by SessionsController#failure as HTML
|
5801
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
|
5802
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5804
|
+
Processing by SessionsController#failure as HTML
|
5805
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
5806
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5808
|
+
Processing by AuthenticatedController#index as JS
|
5809
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5810
|
+
Completed 401 Unauthorized in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
5811
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5813
|
+
Processing by AuthenticatedController#index as JS
|
5814
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5815
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
5816
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5817
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5818
|
+
Processing by AuthenticatedController#index as HTML
|
5819
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
5820
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5821
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
5822
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5824
|
+
Processing by AuthenticatedController#index as HTML
|
5825
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
5826
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
5827
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5828
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5830
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.369133"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:11:37.369133"]]
|
5831
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5832
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5833
|
+
[1m[35mSQL (0.9ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:11:37.370220"]]
|
5834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5835
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
5836
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5837
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5838
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5839
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.373776"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.373776"]]
|
5840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5841
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
5842
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5844
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.376725"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.376725"]]
|
5845
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5846
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
5847
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5849
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5850
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.378794"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.378794"]]
|
5851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5852
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.379842"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.379842"]]
|
5855
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5856
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5858
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5859
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.381493"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.381493"]]
|
5860
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5861
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5863
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.382612"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.382612"]]
|
5864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5865
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5867
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5868
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.384409"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.384409"]]
|
5869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5870
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5872
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.385618"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.385618"]]
|
5873
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5874
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5875
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5877
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.387530"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.387530"]]
|
5878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5880
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.388288"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.388288"]]
|
5881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5882
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5884
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:11:37.389466"]]
|
5885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5886
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5887
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5888
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5889
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.391124"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.391124"]]
|
5890
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5892
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.391892"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.391892"]]
|
5893
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5894
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5895
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5896
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:11:37.392950"]]
|
5897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5898
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
5899
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5901
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5902
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:11:37.394627"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:11:37.394627"]]
|
5903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5904
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
5905
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:11:37.395385"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:11:37.395385"]]
|
5906
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5907
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5908
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5909
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:11:37.396425"]]
|
5910
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5911
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
5912
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5914
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
5915
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
5916
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5918
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5919
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.356415"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.356415"]]
|
5920
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5922
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.358935"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.358935"]]
|
5923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5924
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5925
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5926
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:12:13.364818"]]
|
5927
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5928
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
5929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5930
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5931
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.368339"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.368339"]]
|
5932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5934
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.369300"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.369300"]]
|
5935
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5936
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5937
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5938
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:12:13.370569"]]
|
5939
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5940
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
5941
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
5942
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5943
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5944
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.372462"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.372462"]]
|
5945
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5946
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5947
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.373483"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.373483"]]
|
5948
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5949
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5951
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:12:13.374562"]]
|
5952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5953
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
5954
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
5955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5957
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.376434"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.376434"]]
|
5958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5959
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
5960
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5961
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5962
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.379235"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.379235"]]
|
5963
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5964
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
5965
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5966
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5967
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5968
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.381427"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.381427"]]
|
5969
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5970
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5971
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5972
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.382504"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.382504"]]
|
5973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5974
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
5975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5976
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5977
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.384312"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.384312"]]
|
5978
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5979
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
5980
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5981
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.385481"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.385481"]]
|
5982
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5983
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
5984
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5986
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.387168"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:12:13.387168"]]
|
5987
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5988
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
5989
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5990
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:12:13.388146"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.388146"]]
|
5991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
5992
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
5993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5994
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
5995
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.389878"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:12:13.389878"]]
|
5996
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
5997
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
5998
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:12:13.390642"]]
|
5999
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6000
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6001
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6002
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6003
|
+
Processing by AuthenticatedController#index as HTML
|
6004
|
+
Rendered text template (0.0ms)
|
6005
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6006
|
+
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
6007
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6009
|
+
Processing by AuthenticatedController#index as HTML
|
6010
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6011
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6012
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6013
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6015
|
+
Processing by AuthenticatedController#index as JS
|
6016
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6017
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6018
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6019
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6020
|
+
Processing by AuthenticatedController#index as JS
|
6021
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6022
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6023
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6024
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6025
|
+
Processing by SessionsController#failure as HTML
|
6026
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
6027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6029
|
+
Processing by SessionsController#failure as HTML
|
6030
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
6031
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6032
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6033
|
+
Processing by SessionsController#create as HTML
|
6034
|
+
Parameters: {"provider"=>"bookingsync"}
|
6035
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6037
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.419910"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.419910"]]
|
6038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6039
|
+
Redirected to http://test.host/admin
|
6040
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
6041
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6043
|
+
Processing by SessionsController#create as HTML
|
6044
|
+
Parameters: {"provider"=>"bookingsync"}
|
6045
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6047
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.423932"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.423932"]]
|
6048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6049
|
+
Redirected to http://test.host/
|
6050
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
6051
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6052
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6053
|
+
Processing by SessionsController#create as HTML
|
6054
|
+
Parameters: {"provider"=>"bookingsync"}
|
6055
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6057
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:12:13.427908"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:12:13.427908"]]
|
6058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6059
|
+
Redirected to http://test.host/
|
6060
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
6061
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
6062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6063
|
+
Processing by SessionsController#destroy as HTML
|
6064
|
+
Redirected to http://test.host/
|
6065
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6066
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6068
|
+
Processing by SessionsController#destroy as HTML
|
6069
|
+
Redirected to http://test.host/signed_out
|
6070
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6071
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6072
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
6073
|
+
Processing by AuthenticatedController#index as HTML
|
6074
|
+
Rendered text template (0.0ms)
|
6075
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6076
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
6077
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6079
|
+
Processing by AuthenticatedController#index as HTML
|
6080
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6081
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6082
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6085
|
+
Processing by AuthenticatedController#index as JS
|
6086
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6087
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
6088
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6089
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6090
|
+
Processing by AuthenticatedController#index as JS
|
6091
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6092
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6093
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6096
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6099
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6101
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6102
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6103
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6104
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6105
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
6106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6108
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6110
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6111
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6112
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6113
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6114
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6115
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6116
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6117
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
6118
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6120
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6121
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6124
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6125
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6126
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6127
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6128
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6129
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6130
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
6131
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6134
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6136
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
6137
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6139
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6141
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
6142
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6144
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6145
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6146
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6147
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6148
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6149
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6151
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6154
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6156
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6157
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6158
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6159
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6160
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6163
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6164
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6165
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6166
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6167
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6168
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6169
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6174
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6175
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6176
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6177
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6179
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6180
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6182
|
+
Processing by SessionsController#create as HTML
|
6183
|
+
Parameters: {"provider"=>"bookingsync"}
|
6184
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6186
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6188
|
+
Redirected to http://test.host/
|
6189
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
6190
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6192
|
+
Processing by SessionsController#create as HTML
|
6193
|
+
Parameters: {"provider"=>"bookingsync"}
|
6194
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6196
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6198
|
+
Redirected to http://test.host/admin
|
6199
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
6200
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6201
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6202
|
+
Processing by SessionsController#create as HTML
|
6203
|
+
Parameters: {"provider"=>"bookingsync"}
|
6204
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6206
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:16 UTC +00:00]]
|
6207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6208
|
+
Redirected to http://test.host/
|
6209
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
6210
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6212
|
+
Processing by SessionsController#failure as HTML
|
6213
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
6214
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6215
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6216
|
+
Processing by SessionsController#failure as HTML
|
6217
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
6218
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6220
|
+
Processing by SessionsController#destroy as HTML
|
6221
|
+
Redirected to http://test.host/
|
6222
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6223
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6225
|
+
Processing by SessionsController#destroy as HTML
|
6226
|
+
Redirected to http://test.host/signed_out
|
6227
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6228
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6229
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6230
|
+
Processing by SessionsController#destroy as HTML
|
6231
|
+
Redirected to http://test.host/signed_out
|
6232
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6235
|
+
Processing by SessionsController#destroy as HTML
|
6236
|
+
Redirected to http://test.host/
|
6237
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6238
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6240
|
+
Processing by SessionsController#create as HTML
|
6241
|
+
Parameters: {"provider"=>"bookingsync"}
|
6242
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6243
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6244
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.423392"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.423392"]]
|
6245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6246
|
+
Redirected to http://test.host/
|
6247
|
+
Completed 302 Found in 17ms (ActiveRecord: 1.5ms)
|
6248
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6250
|
+
Processing by SessionsController#create as HTML
|
6251
|
+
Parameters: {"provider"=>"bookingsync"}
|
6252
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6253
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6254
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.431216"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.431216"]]
|
6255
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6256
|
+
Redirected to http://test.host/
|
6257
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
6258
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6259
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6260
|
+
Processing by SessionsController#create as HTML
|
6261
|
+
Parameters: {"provider"=>"bookingsync"}
|
6262
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6263
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6264
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.435212"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.435212"]]
|
6265
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6266
|
+
Redirected to http://test.host/admin
|
6267
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
6268
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6270
|
+
Processing by SessionsController#failure as HTML
|
6271
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
6272
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6274
|
+
Processing by SessionsController#failure as HTML
|
6275
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
6276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6277
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6278
|
+
Processing by AuthenticatedController#index as JS
|
6279
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6280
|
+
Completed 401 Unauthorized in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
6281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6283
|
+
Processing by AuthenticatedController#index as JS
|
6284
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6285
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6286
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6288
|
+
Processing by AuthenticatedController#index as HTML
|
6289
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6290
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6291
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6292
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6294
|
+
Processing by AuthenticatedController#index as HTML
|
6295
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6296
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
6297
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6300
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.459885"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:13:21.459885"]]
|
6301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6303
|
+
[1m[35mSQL (0.8ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:13:21.461224"]]
|
6304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6305
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6306
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6309
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.466210"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.466210"]]
|
6310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6311
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
6312
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6314
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.470562"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.470562"]]
|
6315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6316
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
6317
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6319
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6320
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.472730"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.472730"]]
|
6321
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6322
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6324
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.473967"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.473967"]]
|
6325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6326
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6329
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.475649"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.475649"]]
|
6330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6331
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6333
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.476818"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.476818"]]
|
6334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6335
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
6336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6337
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6338
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.479334"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.479334"]]
|
6339
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6340
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6342
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.480443"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.480443"]]
|
6343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6344
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6346
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6347
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.482382"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.482382"]]
|
6348
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6349
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6350
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.483601"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.483601"]]
|
6351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6352
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6353
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6354
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:21.485327"]]
|
6355
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6356
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6357
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6359
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.487455"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.487455"]]
|
6360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6362
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.488288"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.488288"]]
|
6363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6364
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6365
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6366
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:21.489481"]]
|
6367
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6368
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
6369
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6372
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:21.491149"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:21.491149"]]
|
6373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6374
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6375
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:21.491913"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:21.491913"]]
|
6376
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6377
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6379
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:21.492962"]]
|
6380
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6381
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
6382
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6383
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6384
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6385
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6386
|
+
Processing by SessionsController#destroy as HTML
|
6387
|
+
Redirected to http://test.host/signed_out
|
6388
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6389
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6390
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6391
|
+
Processing by SessionsController#destroy as HTML
|
6392
|
+
Redirected to http://test.host/
|
6393
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6394
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6396
|
+
Processing by SessionsController#create as HTML
|
6397
|
+
Parameters: {"provider"=>"bookingsync"}
|
6398
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
6399
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6400
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.704325"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.704325"]]
|
6401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6402
|
+
Redirected to http://test.host/
|
6403
|
+
Completed 302 Found in 22ms (ActiveRecord: 1.6ms)
|
6404
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6406
|
+
Processing by SessionsController#create as HTML
|
6407
|
+
Parameters: {"provider"=>"bookingsync"}
|
6408
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
6409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6410
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.710802"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.710802"]]
|
6411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6412
|
+
Redirected to http://test.host/
|
6413
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
6414
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6415
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6416
|
+
Processing by SessionsController#create as HTML
|
6417
|
+
Parameters: {"provider"=>"bookingsync"}
|
6418
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
6419
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6420
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.715367"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.715367"]]
|
6421
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6422
|
+
Redirected to http://test.host/admin
|
6423
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
6424
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6425
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6426
|
+
Processing by SessionsController#failure as HTML
|
6427
|
+
Rendered /Users/seb/Work/WebSites/BookingSync/Gems/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
6428
|
+
Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
|
6429
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6431
|
+
Processing by SessionsController#failure as HTML
|
6432
|
+
Rendered /Users/seb/Work/WebSites/BookingSync/Gems/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.2ms)
|
6433
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
6434
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6436
|
+
Processing by AuthenticatedController#index as JS
|
6437
|
+
Rendered text template (0.0ms)
|
6438
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6439
|
+
Completed 401 Unauthorized in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
6440
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6442
|
+
Processing by AuthenticatedController#index as JS
|
6443
|
+
Rendered text template (0.0ms)
|
6444
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6445
|
+
Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
6446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6448
|
+
Processing by AuthenticatedController#index as HTML
|
6449
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6450
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6451
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6452
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6454
|
+
Processing by AuthenticatedController#index as HTML
|
6455
|
+
Rendered text template (0.0ms)
|
6456
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6457
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
6458
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6460
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6461
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.746147"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:13:26.746147"]]
|
6462
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6463
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6464
|
+
[1m[35mSQL (0.9ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:13:26.747864"]]
|
6465
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6466
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6467
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6468
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6470
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.753018"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.753018"]]
|
6471
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6472
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
6473
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
6474
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6475
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.756289"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.756289"]]
|
6476
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6477
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
6478
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6481
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.758868"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.758868"]]
|
6482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6483
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
6484
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6485
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.761453"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.761453"]]
|
6486
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6487
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6489
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6490
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.764758"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.764758"]]
|
6491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6492
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
6493
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6494
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.766303"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.766303"]]
|
6495
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6496
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6497
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6499
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.768423"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.768423"]]
|
6500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6501
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
6502
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6503
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.770086"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.770086"]]
|
6504
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6505
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6506
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6507
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6508
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.772317"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.772317"]]
|
6509
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.773514"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.773514"]]
|
6512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6513
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
6514
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6515
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:26.775195"]]
|
6516
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6517
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6518
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6520
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.777391"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.777391"]]
|
6521
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6523
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.778895"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.778895"]]
|
6524
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6525
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
6526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6527
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:26.781124"]]
|
6528
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6529
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
6530
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6533
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:26.783373"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:26.783373"]]
|
6534
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6536
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:26.784525"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:26.784525"]]
|
6537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6538
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
6539
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6540
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:26.786281"]]
|
6541
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6542
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
6543
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6544
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6545
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6546
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6547
|
+
Processing by AuthenticatedController#index as JS
|
6548
|
+
Rendered text template (0.0ms)
|
6549
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6550
|
+
Completed 401 Unauthorized in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
6551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6553
|
+
Processing by AuthenticatedController#index as JS
|
6554
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6555
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6556
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6558
|
+
Processing by AuthenticatedController#index as HTML
|
6559
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6560
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6561
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6562
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6564
|
+
Processing by AuthenticatedController#index as HTML
|
6565
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6566
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6567
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6568
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6569
|
+
Processing by SessionsController#create as HTML
|
6570
|
+
Parameters: {"provider"=>"bookingsync"}
|
6571
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6573
|
+
[1m[35mSQL (2.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6574
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6575
|
+
Redirected to http://test.host/
|
6576
|
+
Completed 302 Found in 13ms (ActiveRecord: 3.5ms)
|
6577
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
6578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6579
|
+
Processing by SessionsController#create as HTML
|
6580
|
+
Parameters: {"provider"=>"bookingsync"}
|
6581
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6583
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6585
|
+
Redirected to http://test.host/
|
6586
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
6587
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6588
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6589
|
+
Processing by SessionsController#create as HTML
|
6590
|
+
Parameters: {"provider"=>"bookingsync"}
|
6591
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6592
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6593
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6594
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6595
|
+
Redirected to http://test.host/admin
|
6596
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
|
6597
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6598
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6599
|
+
Processing by SessionsController#destroy as HTML
|
6600
|
+
Redirected to http://test.host/signed_out
|
6601
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6602
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6604
|
+
Processing by SessionsController#destroy as HTML
|
6605
|
+
Redirected to http://test.host/
|
6606
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6607
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6609
|
+
Processing by SessionsController#failure as HTML
|
6610
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
6611
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6613
|
+
Processing by SessionsController#failure as HTML
|
6614
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
6615
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6616
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6617
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6618
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6620
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
6621
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6622
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6623
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6625
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
6626
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6628
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6629
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6631
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6632
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6633
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6634
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6635
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6638
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6640
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6644
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
6645
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6647
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6648
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6649
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6651
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6653
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6655
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6656
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6657
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6659
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6660
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6661
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6663
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6665
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6666
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6668
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6671
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6673
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6675
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6676
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6677
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
6678
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6679
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6681
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6683
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6684
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6685
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6686
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6688
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6690
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
6691
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6694
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6697
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", Thu, 13 Nov 2014 12:13:46 UTC +00:00]]
|
6698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6699
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6700
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6701
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6702
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6703
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6704
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6706
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6707
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.199989"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.199989"]]
|
6708
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6709
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6710
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.202578"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.202578"]]
|
6711
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6712
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6713
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6714
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:50.207900"]]
|
6715
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6716
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
6717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.211444"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.211444"]]
|
6720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6722
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.212464"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.212464"]]
|
6723
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6724
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6725
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6726
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:50.213670"]]
|
6727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6728
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
6729
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6730
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6731
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6732
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.215474"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.215474"]]
|
6733
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6734
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6735
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.216382"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.216382"]]
|
6736
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6737
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6738
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6739
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:13:50.217469"]]
|
6740
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6741
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
6742
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6744
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6745
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.219250"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.219250"]]
|
6746
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6747
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
6748
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6749
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6750
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.221922"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.221922"]]
|
6751
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6752
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
6753
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6755
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6756
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.223971"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.223971"]]
|
6757
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6758
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6760
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.224972"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.224972"]]
|
6761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6762
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6764
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6765
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.226687"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.226687"]]
|
6766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6767
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6769
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.227879"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.227879"]]
|
6770
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6771
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6774
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.229592"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:13:50.229592"]]
|
6775
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6776
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6778
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:13:50.230634"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.230634"]]
|
6779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6780
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6783
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.232564"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:13:50.232564"]]
|
6784
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6786
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:13:50.233392"]]
|
6787
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6788
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6789
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6790
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6791
|
+
Processing by AuthenticatedController#index as HTML
|
6792
|
+
Rendered text template (0.0ms)
|
6793
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6794
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
6795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6797
|
+
Processing by AuthenticatedController#index as HTML
|
6798
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6799
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6800
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6801
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6803
|
+
Processing by AuthenticatedController#index as JS
|
6804
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6805
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
6806
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6807
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6808
|
+
Processing by AuthenticatedController#index as JS
|
6809
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6810
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6811
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6812
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6813
|
+
Processing by SessionsController#failure as HTML
|
6814
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
6815
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6817
|
+
Processing by SessionsController#failure as HTML
|
6818
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
6819
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6821
|
+
Processing by SessionsController#create as HTML
|
6822
|
+
Parameters: {"provider"=>"bookingsync"}
|
6823
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6825
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.258035"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.258035"]]
|
6826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6827
|
+
Redirected to http://test.host/admin
|
6828
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
6829
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6830
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6831
|
+
Processing by SessionsController#create as HTML
|
6832
|
+
Parameters: {"provider"=>"bookingsync"}
|
6833
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6834
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6835
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.261472"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.261472"]]
|
6836
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6837
|
+
Redirected to http://test.host/
|
6838
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
6839
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6840
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6841
|
+
Processing by SessionsController#create as HTML
|
6842
|
+
Parameters: {"provider"=>"bookingsync"}
|
6843
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6845
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:13:50.264729"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:13:50.264729"]]
|
6846
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6847
|
+
Redirected to http://test.host/
|
6848
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
6849
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6850
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6851
|
+
Processing by SessionsController#destroy as HTML
|
6852
|
+
Redirected to http://test.host/
|
6853
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6854
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6856
|
+
Processing by SessionsController#destroy as HTML
|
6857
|
+
Redirected to http://test.host/signed_out
|
6858
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6859
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6860
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6861
|
+
Processing by AuthenticatedController#index as HTML
|
6862
|
+
Rendered text template (0.0ms)
|
6863
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6864
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
6865
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6867
|
+
Processing by AuthenticatedController#index as HTML
|
6868
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
6869
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6870
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
6871
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6872
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6873
|
+
Processing by AuthenticatedController#index as JS
|
6874
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6875
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6876
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6877
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6878
|
+
Processing by AuthenticatedController#index as JS
|
6879
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
6880
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
6881
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6884
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6886
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6887
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6888
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6889
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6890
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6891
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6892
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6893
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
6894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6895
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6896
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6898
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6899
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6900
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6901
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6903
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6904
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6905
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
6906
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6908
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6909
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6910
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6912
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6913
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6914
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6915
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6916
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6917
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6918
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
6919
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6921
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6922
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6923
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6924
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
6925
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6926
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6927
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6928
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6929
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
6930
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6931
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6932
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6933
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6934
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6935
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6937
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6939
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6941
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6942
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6944
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6945
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6946
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6947
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6948
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6949
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6950
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6951
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["provider", "bookingsync"], ["uid", 456], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6952
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6953
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
6954
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6955
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6956
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6957
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6959
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6962
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6965
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6966
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6967
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
6968
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6970
|
+
Processing by SessionsController#create as HTML
|
6971
|
+
Parameters: {"provider"=>"bookingsync"}
|
6972
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6974
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6976
|
+
Redirected to http://test.host/
|
6977
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
6978
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6980
|
+
Processing by SessionsController#create as HTML
|
6981
|
+
Parameters: {"provider"=>"bookingsync"}
|
6982
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6983
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6984
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6986
|
+
Redirected to http://test.host/admin
|
6987
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
6988
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6990
|
+
Processing by SessionsController#create as HTML
|
6991
|
+
Parameters: {"provider"=>"bookingsync"}
|
6992
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
6993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6994
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", Thu, 13 Nov 2014 12:14:13 UTC +00:00]]
|
6995
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6996
|
+
Redirected to http://test.host/
|
6997
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
6998
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7000
|
+
Processing by SessionsController#failure as HTML
|
7001
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
7002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7004
|
+
Processing by SessionsController#failure as HTML
|
7005
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
7006
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
7007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7008
|
+
Processing by SessionsController#destroy as HTML
|
7009
|
+
Redirected to http://test.host/
|
7010
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7011
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
7012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7013
|
+
Processing by SessionsController#destroy as HTML
|
7014
|
+
Redirected to http://test.host/signed_out
|
7015
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7016
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
7017
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
7018
|
+
Processing by AuthenticatedController#index as JS
|
7019
|
+
Rendered text template (0.0ms)
|
7020
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7021
|
+
Completed 401 Unauthorized in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
7022
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7024
|
+
Processing by AuthenticatedController#index as JS
|
7025
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7026
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
7027
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7029
|
+
Processing by AuthenticatedController#index as HTML
|
7030
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
7031
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7032
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7033
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7035
|
+
Processing by AuthenticatedController#index as HTML
|
7036
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7037
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
7038
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7040
|
+
Processing by SessionsController#create as HTML
|
7041
|
+
Parameters: {"provider"=>"bookingsync"}
|
7042
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7043
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7044
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.683602"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.683602"]]
|
7045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7046
|
+
Redirected to http://test.host/
|
7047
|
+
Completed 302 Found in 17ms (ActiveRecord: 1.5ms)
|
7048
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
7049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7050
|
+
Processing by SessionsController#create as HTML
|
7051
|
+
Parameters: {"provider"=>"bookingsync"}
|
7052
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7053
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7054
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.692241"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.692241"]]
|
7055
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7056
|
+
Redirected to http://test.host/
|
7057
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
7058
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7060
|
+
Processing by SessionsController#create as HTML
|
7061
|
+
Parameters: {"provider"=>"bookingsync"}
|
7062
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7063
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7064
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.697040"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.697040"]]
|
7065
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7066
|
+
Redirected to http://test.host/admin
|
7067
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
7068
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7070
|
+
Processing by SessionsController#destroy as HTML
|
7071
|
+
Redirected to http://test.host/signed_out
|
7072
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7073
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7075
|
+
Processing by SessionsController#destroy as HTML
|
7076
|
+
Redirected to http://test.host/
|
7077
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7078
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7080
|
+
Processing by SessionsController#failure as HTML
|
7081
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
7082
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7084
|
+
Processing by SessionsController#failure as HTML
|
7085
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
7086
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7089
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.709212"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.709212"]]
|
7090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7091
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
7092
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7093
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7094
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.713824"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.713824"]]
|
7095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7096
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
7097
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7099
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7100
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.716799"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.716799"]]
|
7101
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7102
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7103
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7104
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.718047"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.718047"]]
|
7105
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7106
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7108
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7109
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.719923"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.719923"]]
|
7110
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7111
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
7112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7113
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.720983"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.720983"]]
|
7114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7115
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
7116
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7118
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.722655"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.722655"]]
|
7119
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7120
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7122
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.723713"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.723713"]]
|
7123
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7124
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
7125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7126
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7127
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.725353"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.725353"]]
|
7128
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7129
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7130
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.726051"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.726051"]]
|
7131
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7132
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7133
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7134
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:14:42.727160"]]
|
7135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7136
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7138
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7139
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.729990"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.729990"]]
|
7140
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7141
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7142
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.730894"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.730894"]]
|
7143
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7144
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7146
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:14:42.731998"]]
|
7147
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7148
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
7149
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7152
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:14:42.733942"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:14:42.733942"]]
|
7153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7155
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.734723"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:14:42.734723"]]
|
7156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7157
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
7158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7159
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:14:42.735822"]]
|
7160
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7161
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
7162
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7164
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7165
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:14:42.737786"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:14:42.737786"]]
|
7166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7167
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7168
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:14:42.738565"]]
|
7169
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7170
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
7171
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
7172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7173
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
7174
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "provider" varchar(255), "uid" integer, "name" varchar(255), "oauth_access_token" varchar(255), "oauth_refresh_token" varchar(255), "oauth_expires_at" varchar(255)) [0m
|
7175
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
7176
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
7177
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
7178
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7179
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7180
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
7181
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
7182
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7183
|
+
Processing by AuthenticatedController#index as HTML
|
7184
|
+
Rendered text template (0.0ms)
|
7185
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7186
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
7187
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7189
|
+
Processing by AuthenticatedController#index as HTML
|
7190
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
7191
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7192
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7195
|
+
Processing by AuthenticatedController#index as JS
|
7196
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7197
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
7198
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7200
|
+
Processing by AuthenticatedController#index as JS
|
7201
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
7202
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
7203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7205
|
+
Processing by SessionsController#create as HTML
|
7206
|
+
Parameters: {"provider"=>"bookingsync"}
|
7207
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7209
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.342182"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.342182"]]
|
7210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7211
|
+
Redirected to http://test.host/
|
7212
|
+
Completed 302 Found in 16ms (ActiveRecord: 1.3ms)
|
7213
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
7214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7215
|
+
Processing by SessionsController#create as HTML
|
7216
|
+
Parameters: {"provider"=>"bookingsync"}
|
7217
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7219
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.350643"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.350643"]]
|
7220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7221
|
+
Redirected to http://test.host/
|
7222
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
7223
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7225
|
+
Processing by SessionsController#create as HTML
|
7226
|
+
Parameters: {"provider"=>"bookingsync"}
|
7227
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7228
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7229
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.355533"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.355533"]]
|
7230
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7231
|
+
Redirected to http://test.host/admin
|
7232
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
7233
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7235
|
+
Processing by SessionsController#destroy as HTML
|
7236
|
+
Redirected to http://test.host/
|
7237
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7240
|
+
Processing by SessionsController#destroy as HTML
|
7241
|
+
Redirected to http://test.host/signed_out
|
7242
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
7243
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7245
|
+
Processing by SessionsController#failure as HTML
|
7246
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
7247
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7248
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7249
|
+
Processing by SessionsController#failure as HTML
|
7250
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
7251
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7254
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.367965"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.367965"]]
|
7255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7257
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.368956"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.368956"]]
|
7258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7259
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7261
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:16:38.370547"]]
|
7262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7263
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7266
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.372750"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.372750"]]
|
7267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7269
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.373557"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.373557"]]
|
7270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7271
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7273
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2 [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:16:38.374705"]]
|
7274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7275
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
7276
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
7277
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7279
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.376789"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.376789"]]
|
7280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7281
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7282
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.377651"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.377651"]]
|
7283
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7284
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
7285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7286
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 2[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["updated_at", "2014-11-13 12:16:38.378804"]]
|
7287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7288
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
7289
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
7290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7292
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.380663"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.380663"]]
|
7293
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7294
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
7295
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7297
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.383488"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.383488"]]
|
7298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7299
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "accounts"
|
7300
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7301
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7303
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.385677"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.385677"]]
|
7304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7305
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7307
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.386747"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.386747"]]
|
7308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7309
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7312
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.388646"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.388646"]]
|
7313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7314
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
7315
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7316
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.389955"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.389955"]]
|
7317
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7318
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7321
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.392841"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2014-11-13 12:16:38.392841"]]
|
7322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7323
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
7324
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7325
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-13 12:16:38.394152"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2014-11-13 12:16:38.394152"]]
|
7326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7327
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
7328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7330
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-11-13 12:16:38.396043"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2014-11-13 12:16:38.396043"]]
|
7331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7333
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2014-11-13 12:16:38.396738"]]
|
7334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7335
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
7336
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7337
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7338
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|