bookingsync-engine 0.4.5 → 0.4.6
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.rb +1 -0
- data/lib/bookingsync/engine.rb +1 -1
- data/lib/bookingsync/engine/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +112 -0
- data/spec/dummy/log/test.log +3057 -192
- metadata +8 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f55a6e835b6ed9a619a45ca38d1bc85c3e91b426
|
|
4
|
+
data.tar.gz: d9a4cfd9d9d7c30af32bf90fc254595e15c0f24f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 552bb7ba519eb9fce5aa30e1f62bcd488a4e0b0566bdf5f4c51185ea37cf0c6d8275f753c8aa147989737c0cc50fc9957eb039f9bee712f536c79b45b10497d6
|
|
7
|
+
data.tar.gz: e8e32127494f4508bb2ad9f1b67274d77c345425cc5a4f78c0c514b21d860b83bd87ed6b6172267a845379ffeb4b935a64ca6a1862f5d222c14f76635fd3ea41
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'bookingsync'
|
data/lib/bookingsync/engine.rb
CHANGED
|
File without changes
|
data/spec/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
[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
|
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
3
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
4
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
5
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
6
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
7
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
8
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
9
|
+
[1m[36m (1.2ms)[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
|
|
10
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
11
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
12
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
13
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
14
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
15
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
16
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
17
|
+
[1m[36m (1.2ms)[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
|
|
18
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
19
|
+
[1m[36m (1.6ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
20
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
21
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
22
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
23
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
24
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
25
|
+
[1m[36m (1.2ms)[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
|
|
26
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
27
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
28
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
29
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
30
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
31
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
32
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
33
|
+
[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
|
|
34
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
|
35
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
36
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
37
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
38
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
39
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
40
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
41
|
+
[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
|
|
42
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
43
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
44
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
45
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
46
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
|
47
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
48
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
49
|
+
[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
|
|
50
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
51
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
52
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
53
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
54
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
55
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
56
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
57
|
+
[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
|
|
58
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
59
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
60
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
61
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
62
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
63
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
64
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
65
|
+
[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
|
|
66
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
67
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
68
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
69
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
70
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
71
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
72
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
73
|
+
[1m[36m (3.8ms)[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
|
|
74
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
75
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
76
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
77
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
78
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
79
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
80
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
81
|
+
[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
|
|
82
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
83
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
84
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
85
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
86
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
87
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
88
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
89
|
+
[1m[36m (1.5ms)[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
|
|
90
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
91
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
92
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
93
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
94
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
95
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
96
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
97
|
+
[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
|
|
98
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
99
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
100
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
101
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
102
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
103
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
104
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
105
|
+
[1m[36m (1.2ms)[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
|
|
106
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
107
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
108
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
109
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
110
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
111
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
112
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
data/spec/dummy/log/test.log
CHANGED
|
@@ -1,146 +1,2720 @@
|
|
|
1
|
-
[1m[36m (0.
|
|
1
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
2
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
4
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.864440"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-01-14 14:17:11.864440"]]
|
|
5
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
7
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
8
|
+
[1m[35mSQL (1.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", "2015-01-14 14:17:11.867401"]]
|
|
9
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
10
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
11
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
12
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
13
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
14
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
15
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:17:11.880511"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.880511"]]
|
|
16
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
17
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
18
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
19
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
20
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
21
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:17:11.889074"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.889074"]]
|
|
22
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
23
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
24
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
25
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
26
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
27
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
28
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.892760"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.892760"]]
|
|
29
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
30
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
31
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
32
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
33
|
+
[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", "2015-01-14 14:17:11.894925"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.894925"]]
|
|
34
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
35
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
37
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
38
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
39
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:17:11.900050"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.900050"]]
|
|
40
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
41
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
42
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
43
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
44
|
+
[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", "2015-01-14 14:17:11.903947"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.903947"]]
|
|
45
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
46
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
47
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
48
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
49
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
50
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.907705"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.907705"]]
|
|
51
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
52
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
53
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
54
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
55
|
+
[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", "2015-01-14 14:17:11.909819"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.909819"]]
|
|
56
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
57
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
58
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
59
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
60
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
61
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:17:11.913581"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.913581"]]
|
|
62
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
63
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
64
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
65
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:17:11.915243"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.915243"]]
|
|
66
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
67
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
68
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
69
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
70
|
+
[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", "2015-01-14 14:17:11.917442"]]
|
|
71
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
72
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
73
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
74
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
75
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
76
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.920923"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.920923"]]
|
|
77
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
80
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.923683"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.923683"]]
|
|
81
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
82
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
83
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
84
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
85
|
+
[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", "2015-01-14 14:17:11.926740"]]
|
|
86
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
87
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
88
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
89
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
90
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
91
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
92
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.930171"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:17:11.930171"]]
|
|
93
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
94
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
95
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
96
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:17:11.931635"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:11.931635"]]
|
|
97
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
98
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
99
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
100
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
101
|
+
[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", "2015-01-14 14:17:11.933578"]]
|
|
102
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
103
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
104
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
106
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
108
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1
|
|
109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
110
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-14 14:17:11.956404"], ["uid", 0], ["updated_at", "2015-01-14 14:17:11.956404"]]
|
|
111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
112
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
113
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
114
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
116
|
+
Processing by SessionsController#failure as HTML
|
|
117
|
+
Rendered /Users/manda/projects/bookingsync-engine-2/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
118
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
|
119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
121
|
+
Processing by SessionsController#failure as HTML
|
|
122
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
125
|
+
Processing by SessionsController#destroy as HTML
|
|
126
|
+
Redirected to http://test.host/signed_out
|
|
127
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
2
128
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
3
129
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
130
|
+
Processing by SessionsController#destroy as HTML
|
|
131
|
+
Redirected to http://test.host/
|
|
132
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
4
133
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
135
|
+
Processing by SessionsController#create as HTML
|
|
136
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
137
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
139
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
140
|
+
[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", "2015-01-14 14:17:12.008309"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:12.008309"]]
|
|
141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
142
|
+
Redirected to http://test.host/admin
|
|
143
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
144
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
146
|
+
Processing by SessionsController#create as HTML
|
|
147
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
148
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
150
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
151
|
+
[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", "2015-01-14 14:17:12.013999"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:12.013999"]]
|
|
152
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
153
|
+
Redirected to http://test.host/
|
|
154
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
|
155
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
156
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
157
|
+
Processing by SessionsController#create as HTML
|
|
158
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
159
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
160
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
161
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
162
|
+
[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", "2015-01-14 14:17:12.020165"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:17:12.020165"]]
|
|
163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
164
|
+
Redirected to http://test.host/
|
|
165
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
166
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
168
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
170
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
172
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
173
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
174
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
176
|
+
Processing by AuthenticatedController#index as JS
|
|
177
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
178
|
+
Completed 401 Unauthorized in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
|
179
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
180
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
181
|
+
Processing by AuthenticatedController#index as JS
|
|
182
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
183
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
184
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
186
|
+
Processing by AuthenticatedController#index as HTML
|
|
187
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
188
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
189
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
190
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
192
|
+
Processing by AuthenticatedController#index as HTML
|
|
193
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
194
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
195
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
196
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
197
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
198
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
199
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.924011"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-01-14 14:26:20.924011"]]
|
|
200
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
201
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
202
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
203
|
+
[1m[35mSQL (1.4ms)[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", "2015-01-14 14:26:20.926673"]]
|
|
204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
205
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
206
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
208
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
209
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
211
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
212
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:20.950900"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.950900"]]
|
|
213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
214
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
215
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
217
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
218
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:20.959545"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.959545"]]
|
|
219
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
220
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
221
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
223
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
224
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
225
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.963767"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.963767"]]
|
|
226
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
227
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
229
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
230
|
+
[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", "2015-01-14 14:26:20.965789"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.965789"]]
|
|
231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
232
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
235
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
236
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:20.969228"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.969228"]]
|
|
237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
238
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
239
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
240
|
+
[1m[36mAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
241
|
+
[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", "2015-01-14 14:26:20.971151"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.971151"]]
|
|
242
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
243
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
246
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
247
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.974857"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.974857"]]
|
|
248
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
249
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
250
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
251
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
252
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:20.979172"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.979172"]]
|
|
253
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
254
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
255
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
257
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
258
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:20.983646"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.983646"]]
|
|
259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
261
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:20.985242"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.985242"]]
|
|
263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
264
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
266
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
267
|
+
[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", "2015-01-14 14:26:20.987410"]]
|
|
268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
269
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
272
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
273
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.990554"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.990554"]]
|
|
274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
275
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
276
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
277
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.992285"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.992285"]]
|
|
278
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
279
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
281
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
282
|
+
[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", "2015-01-14 14:26:20.994549"]]
|
|
283
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
284
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
285
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
288
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
289
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.997556"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 14:26:20.997556"]]
|
|
290
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
292
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
293
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 14:26:20.999016"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:20.999016"]]
|
|
294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
295
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
297
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
298
|
+
[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", "2015-01-14 14:26:21.001507"]]
|
|
299
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
300
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
301
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
303
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1
|
|
304
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
305
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-01-14 14:26:21.007057"], ["uid", 0], ["updated_at", "2015-01-14 14:26:21.007057"]]
|
|
306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
307
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
308
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
309
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
5
310
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
6
311
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
7
312
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
8
313
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
9
316
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
10
317
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
11
318
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
319
|
+
Processing by SessionsController#failure as HTML
|
|
320
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
321
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
|
322
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
324
|
+
Processing by SessionsController#failure as HTML
|
|
325
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
328
|
+
Processing by SessionsController#destroy as HTML
|
|
329
|
+
Redirected to http://test.host/signed_out
|
|
330
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
333
|
+
Processing by SessionsController#destroy as HTML
|
|
334
|
+
Redirected to http://test.host/
|
|
335
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
336
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
338
|
+
Processing by SessionsController#create as HTML
|
|
339
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
340
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
341
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
342
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
343
|
+
[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", "2015-01-14 14:26:21.063111"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:21.063111"]]
|
|
344
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
345
|
+
Redirected to http://test.host/admin
|
|
346
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
|
347
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
349
|
+
Processing by SessionsController#create as HTML
|
|
350
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
351
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
352
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
353
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
354
|
+
[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", "2015-01-14 14:26:21.071132"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:21.071132"]]
|
|
355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
356
|
+
Redirected to http://test.host/
|
|
357
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
358
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
359
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
360
|
+
Processing by SessionsController#create as HTML
|
|
361
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
362
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
363
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
364
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
365
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 14:26:21.079009"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 14:26:21.079009"]]
|
|
366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
367
|
+
Redirected to http://test.host/
|
|
368
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
369
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
371
|
+
Processing by AuthenticatedController#index as JS
|
|
372
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
373
|
+
Completed 401 Unauthorized in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
|
374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
376
|
+
Processing by AuthenticatedController#index as JS
|
|
377
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
378
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
380
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
381
|
+
Processing by AuthenticatedController#index as HTML
|
|
382
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
383
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
384
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
385
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
387
|
+
Processing by AuthenticatedController#index as HTML
|
|
388
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
389
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
391
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
12
394
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
13
395
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
396
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
14
398
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
15
399
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
16
|
-
|
|
400
|
+
Processing by AuthenticatedController#index as JS
|
|
401
|
+
Rendered text template (0.0ms)
|
|
402
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
403
|
+
Completed 401 Unauthorized in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
|
404
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
17
405
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
18
|
-
|
|
406
|
+
Processing by AuthenticatedController#index as JS
|
|
407
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
408
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
409
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
19
410
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
411
|
+
Processing by AuthenticatedController#index as HTML
|
|
412
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
413
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
414
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
20
415
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
21
416
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
417
|
+
Processing by AuthenticatedController#index as HTML
|
|
418
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
419
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
22
420
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
422
|
+
Processing by SessionsController#create as HTML
|
|
423
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
424
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
425
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
426
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
427
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.854779"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.854779"]]
|
|
428
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
429
|
+
Redirected to http://test.host/
|
|
430
|
+
Completed 302 Found in 33ms (ActiveRecord: 2.5ms)
|
|
431
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
433
|
+
Processing by SessionsController#create as HTML
|
|
434
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
435
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
436
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
437
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
438
|
+
[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", "2015-01-14 15:22:02.862200"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.862200"]]
|
|
439
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
440
|
+
Redirected to http://test.host/
|
|
441
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
442
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
443
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
444
|
+
Processing by SessionsController#create as HTML
|
|
445
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
446
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
447
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
448
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
449
|
+
[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", "2015-01-14 15:22:02.869164"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.869164"]]
|
|
450
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
451
|
+
Redirected to http://test.host/admin
|
|
452
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
453
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
455
|
+
Processing by SessionsController#destroy as HTML
|
|
456
|
+
Redirected to http://test.host/signed_out
|
|
457
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
459
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
460
|
+
Processing by SessionsController#destroy as HTML
|
|
461
|
+
Redirected to http://test.host/
|
|
462
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
463
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
464
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
465
|
+
Processing by SessionsController#failure as HTML
|
|
466
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
467
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
468
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
469
|
+
Processing by SessionsController#failure as HTML
|
|
470
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
|
471
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
473
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
475
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
476
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
477
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.914883"], ["uid", 0], ["updated_at", "2015-01-14 15:22:02.914883"]]
|
|
478
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
479
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
480
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
481
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
482
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
484
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
485
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.927542"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.927542"]]
|
|
486
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
487
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
488
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
489
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
490
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
491
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.933685"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.933685"]]
|
|
492
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
493
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
494
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
496
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
497
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
498
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.938609"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.938609"]]
|
|
499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
500
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
502
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
503
|
+
[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", "2015-01-14 15:22:02.940729"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.940729"]]
|
|
504
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
505
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
507
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
508
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
509
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.944169"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.944169"]]
|
|
510
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
511
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
512
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
513
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
514
|
+
[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", "2015-01-14 15:22:02.946255"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.946255"]]
|
|
515
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
516
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
518
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
519
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
520
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.950528"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.950528"]]
|
|
521
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
522
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
523
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
524
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
525
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.954084"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.954084"]]
|
|
526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
527
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
529
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
530
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
531
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.958375"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.958375"]]
|
|
532
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
533
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
534
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
535
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:02.960279"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.960279"]]
|
|
536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
537
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
539
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
540
|
+
[1m[35mSQL (0.2ms)[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", "2015-01-14 15:22:02.963047"]]
|
|
541
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
542
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
544
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
545
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
546
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.967111"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.967111"]]
|
|
547
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
548
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
549
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.968628"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.968628"]]
|
|
551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
552
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
554
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
555
|
+
[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", "2015-01-14 15:22:02.970495"]]
|
|
556
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
557
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
558
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
23
559
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
560
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
561
|
+
[1m[36mAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
562
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.974951"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:02.974951"]]
|
|
563
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
565
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
566
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.977734"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:02.977734"]]
|
|
567
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
568
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
569
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
570
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
571
|
+
[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", "2015-01-14 15:22:02.980809"]]
|
|
572
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
573
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
574
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
575
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
577
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
578
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-01-14 15:22:02.984562"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-01-14 15:22:02.984562"]]
|
|
579
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
581
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
582
|
+
[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", "2015-01-14 15:22:02.986248"]]
|
|
583
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
584
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
585
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
586
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
24
587
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
25
588
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
589
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
26
591
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
27
592
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
593
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
594
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
595
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
598
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
599
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.187674"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-01-14 15:22:48.187674"]]
|
|
600
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
601
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
602
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
603
|
+
[1m[35mSQL (1.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", "2015-01-14 15:22:48.190859"]]
|
|
604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
605
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
606
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
607
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
608
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
610
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-01-14 15:22:48.200613"], ["uid", 0], ["updated_at", "2015-01-14 15:22:48.200613"]]
|
|
611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
612
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
613
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
614
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
616
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
617
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
618
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:48.214799"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.214799"]]
|
|
619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
621
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
622
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:48.216403"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.216403"]]
|
|
623
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
624
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
626
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
627
|
+
[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", "2015-01-14 15:22:48.221444"]]
|
|
628
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
629
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
631
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
632
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
633
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.227096"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.227096"]]
|
|
634
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
635
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
636
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
637
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.230025"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.230025"]]
|
|
638
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
639
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
640
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
641
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
642
|
+
[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", "2015-01-14 15:22:48.233145"]]
|
|
643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
644
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
645
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
646
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
647
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
648
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
649
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.237054"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.237054"]]
|
|
650
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
652
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
653
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.238704"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.238704"]]
|
|
654
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
655
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
656
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
657
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
658
|
+
[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", "2015-01-14 15:22:48.240588"]]
|
|
659
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
660
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
661
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
663
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
664
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
665
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.245490"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.245490"]]
|
|
666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
667
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
668
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
669
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
670
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
671
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.252175"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.252175"]]
|
|
672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
673
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
674
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
677
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
678
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:48.266139"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.266139"]]
|
|
679
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
680
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
681
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
682
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
683
|
+
[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", "2015-01-14 15:22:48.268643"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.268643"]]
|
|
684
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
685
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
688
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
689
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-01-14 15:22:48.271864"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.271864"]]
|
|
690
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
691
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
693
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
694
|
+
[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", "2015-01-14 15:22:48.274111"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.274111"]]
|
|
695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
696
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
698
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
699
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-01-14 15:22:48.277197"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-01-14 15:22:48.277197"]]
|
|
701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
702
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
704
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
705
|
+
[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", "2015-01-14 15:22:48.279188"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.279188"]]
|
|
706
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
707
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
28
709
|
Processing by AuthenticatedController#index as HTML
|
|
29
710
|
Rendered text template (0.0ms)
|
|
30
711
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
31
|
-
Completed 200 OK in
|
|
712
|
+
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
|
32
713
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
33
714
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
34
715
|
Processing by AuthenticatedController#index as HTML
|
|
35
716
|
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
36
717
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
37
|
-
Completed 302 Found in
|
|
718
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
38
719
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
39
|
-
[1m[36m (0.
|
|
720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
40
721
|
Processing by AuthenticatedController#index as JS
|
|
41
722
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
42
|
-
Completed 401 Unauthorized in 1ms (Views: 0.
|
|
723
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
43
724
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
44
725
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
45
726
|
Processing by AuthenticatedController#index as JS
|
|
46
727
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
47
|
-
Completed 401 Unauthorized in
|
|
48
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
49
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
728
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
50
729
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
51
|
-
[1m[36m (0.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
55
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
731
|
+
Processing by SessionsController#failure as HTML
|
|
732
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
|
56
733
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
57
734
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
735
|
+
Processing by SessionsController#failure as HTML
|
|
736
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
|
58
737
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
59
738
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
60
739
|
Processing by SessionsController#create as HTML
|
|
61
740
|
Parameters: {"provider"=>"bookingsync"}
|
|
62
741
|
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
[1m[
|
|
742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
743
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
744
|
+
[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", "2015-01-14 15:22:48.317817"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.317817"]]
|
|
745
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
746
|
+
Redirected to http://test.host/admin
|
|
747
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
748
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
66
749
|
[1m[35m (0.1ms)[0m begin transaction
|
|
67
750
|
Processing by SessionsController#create as HTML
|
|
68
751
|
Parameters: {"provider"=>"bookingsync"}
|
|
69
752
|
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
[1m[
|
|
753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
754
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
755
|
+
[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", "2015-01-14 15:22:48.324046"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.324046"]]
|
|
756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
757
|
+
Redirected to http://test.host/
|
|
758
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
759
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
73
760
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
74
761
|
Processing by SessionsController#create as HTML
|
|
75
762
|
Parameters: {"provider"=>"bookingsync"}
|
|
76
763
|
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
77
|
-
|
|
78
|
-
|
|
764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
765
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
766
|
+
[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", "2015-01-14 15:22:48.329955"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-01-14 15:22:48.329955"]]
|
|
767
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
768
|
+
Redirected to http://test.host/
|
|
769
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
770
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
771
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
772
|
+
Processing by SessionsController#destroy as HTML
|
|
773
|
+
Redirected to http://test.host/
|
|
774
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
777
|
+
Processing by SessionsController#destroy as HTML
|
|
778
|
+
Redirected to http://test.host/signed_out
|
|
779
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
780
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
781
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
|
782
|
+
Processing by AuthenticatedController#index as HTML
|
|
783
|
+
Rendered text template (0.1ms)
|
|
784
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
785
|
+
Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms)
|
|
786
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
788
|
+
Processing by AuthenticatedController#index as HTML
|
|
789
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
790
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
791
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
792
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
793
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
794
|
+
Processing by AuthenticatedController#index as JS
|
|
795
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
796
|
+
Completed 401 Unauthorized in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
797
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
799
|
+
Processing by AuthenticatedController#index as JS
|
|
800
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
801
|
+
Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
802
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
804
|
+
Processing by SessionsController#create as HTML
|
|
805
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
806
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
807
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
808
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
809
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.652332"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.652332"]]
|
|
810
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
811
|
+
Redirected to http://test.host/
|
|
812
|
+
Completed 302 Found in 51ms (ActiveRecord: 2.9ms)
|
|
813
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
815
|
+
Processing by SessionsController#create as HTML
|
|
816
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
817
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
819
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
820
|
+
[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", "2015-02-17 11:52:26.664726"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.664726"]]
|
|
821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
822
|
+
Redirected to http://test.host/
|
|
823
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
|
824
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
825
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
826
|
+
Processing by SessionsController#create as HTML
|
|
827
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
828
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
829
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
830
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
831
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.676363"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.676363"]]
|
|
832
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
833
|
+
Redirected to http://test.host/admin
|
|
834
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
|
|
835
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
836
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
837
|
+
Processing by SessionsController#destroy as HTML
|
|
838
|
+
Redirected to http://test.host/
|
|
839
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
840
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
842
|
+
Processing by SessionsController#destroy as HTML
|
|
843
|
+
Redirected to http://test.host/signed_out
|
|
844
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
845
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
847
|
+
Processing by SessionsController#failure as HTML
|
|
848
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
|
849
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
851
|
+
Processing by SessionsController#failure as HTML
|
|
852
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
853
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
855
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
856
|
+
[1m[35mAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
857
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.709846"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.709846"]]
|
|
858
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
859
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
860
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
861
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.713804"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.713804"]]
|
|
862
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
863
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
865
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
866
|
+
[1m[35mSQL (0.2ms)[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", "2015-02-17 11:52:26.721121"]]
|
|
867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
868
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
870
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
871
|
+
[1m[36mAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
872
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.728406"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.728406"]]
|
|
873
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
874
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
875
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
876
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.732311"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.732311"]]
|
|
877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
878
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
879
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
880
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
881
|
+
[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", "2015-02-17 11:52:26.737292"]]
|
|
882
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
883
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
884
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
886
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
887
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
888
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.743490"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.743490"]]
|
|
889
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
891
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
892
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.747240"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.747240"]]
|
|
893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
894
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
895
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
896
|
+
[1m[35mAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
897
|
+
[1m[36mSQL (0.2ms)[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", "2015-02-17 11:52:26.753392"]]
|
|
898
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
899
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
900
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
903
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
904
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.759537"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.759537"]]
|
|
905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
906
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
907
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
908
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
909
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
910
|
+
[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", "2015-02-17 11:52:26.769026"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.769026"]]
|
|
911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
912
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
913
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
914
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
915
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
916
|
+
[1m[35mAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
917
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.775027"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.775027"]]
|
|
918
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
919
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
920
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
921
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
922
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.779616"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.779616"]]
|
|
923
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
924
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
926
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
927
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
928
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.785771"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.785771"]]
|
|
929
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
930
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
931
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
932
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
933
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.790236"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.790236"]]
|
|
934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
935
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
|
936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
937
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
938
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
939
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.798754"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:52:26.798754"]]
|
|
940
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
941
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
942
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
943
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
944
|
+
[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", "2015-02-17 11:52:26.802004"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.802004"]]
|
|
945
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
946
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
948
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
949
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
950
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1
|
|
951
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
952
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-02-17 11:52:26.823940"], ["uid", 0], ["updated_at", "2015-02-17 11:52:26.823940"]]
|
|
953
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
954
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
955
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
956
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
958
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
959
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
960
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.847475"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424260346], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.847475"]]
|
|
961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
962
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
964
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
965
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
966
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.855020"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087546"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.855020"]]
|
|
967
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
968
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
969
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
970
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424346746"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:52:26.857682"]]
|
|
971
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
972
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
974
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
975
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
976
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:52:26.862942"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087546"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:52:26.862942"]]
|
|
977
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
978
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
979
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
980
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424346746"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:52:26.868269"]]
|
|
981
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
982
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
983
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
984
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
985
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
986
|
+
[1m[35mAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1
|
|
987
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:52:26.875550"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-17 11:52:26.875550"]]
|
|
988
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
989
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
990
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1
|
|
991
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2015-02-17 11:52:26.879050"]]
|
|
992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
993
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
994
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
995
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
996
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1000
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1002
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1003
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1004
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1005
|
+
[1m[36m (4.5ms)[0m [1mbegin transaction[0m
|
|
1006
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1008
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1010
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1012
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1013
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1014
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1016
|
+
Processing by SessionsController#destroy as HTML
|
|
1017
|
+
Redirected to http://test.host/signed_out
|
|
1018
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1019
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1020
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1021
|
+
Processing by SessionsController#destroy as HTML
|
|
1022
|
+
Redirected to http://test.host/
|
|
1023
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
1024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1026
|
+
Processing by SessionsController#failure as HTML
|
|
1027
|
+
Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms)
|
|
1028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1030
|
+
Processing by SessionsController#failure as HTML
|
|
1031
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
|
1032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1033
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1034
|
+
Processing by SessionsController#create as HTML
|
|
1035
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1036
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1037
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1038
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1039
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.030066"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.030066"]]
|
|
1040
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1041
|
+
Redirected to http://test.host/
|
|
1042
|
+
Completed 302 Found in 63ms (ActiveRecord: 4.1ms)
|
|
1043
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1044
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1045
|
+
Processing by SessionsController#create as HTML
|
|
1046
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1047
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1048
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1049
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1050
|
+
[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", "2015-02-17 11:54:10.043176"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.043176"]]
|
|
1051
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1052
|
+
Redirected to http://test.host/admin
|
|
1053
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
|
1054
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1055
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1056
|
+
Processing by SessionsController#create as HTML
|
|
1057
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1058
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1060
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1061
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.052677"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.052677"]]
|
|
1062
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1063
|
+
Redirected to http://test.host/
|
|
1064
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
|
1065
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
1066
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1067
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
1068
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1069
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.063340"], ["uid", 0], ["updated_at", "2015-02-17 11:54:10.063340"]]
|
|
1070
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1071
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
1072
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
1073
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1075
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1076
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1
|
|
1077
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.085653"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-17 11:54:10.085653"]]
|
|
1078
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1079
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1080
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1
|
|
1081
|
+
[1m[36mSQL (1.6ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2015-02-17 11:54:10.090317"]]
|
|
1082
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1083
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
1084
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1086
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1087
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1088
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.099813"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.099813"]]
|
|
1089
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1090
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
1091
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1092
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1093
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1094
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.109377"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.109377"]]
|
|
1095
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1096
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
1097
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1098
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1100
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1101
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.115534"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.115534"]]
|
|
1102
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1103
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1104
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1105
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1106
|
+
[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", "2015-02-17 11:54:10.119698"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.119698"]]
|
|
1107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1108
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1110
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1111
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1112
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.126712"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.126712"]]
|
|
1113
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1114
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1115
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1116
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1117
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.131176"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.131176"]]
|
|
1118
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1119
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1121
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1122
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1123
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.136707"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.136707"]]
|
|
1124
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1125
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1127
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1128
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.140913"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.140913"]]
|
|
1129
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1130
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1132
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1133
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1134
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.147170"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.147170"]]
|
|
1135
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1136
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1137
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1138
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.150456"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.150456"]]
|
|
1139
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1140
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1141
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1142
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1143
|
+
[1m[36mSQL (0.2ms)[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", "2015-02-17 11:54:10.154811"]]
|
|
1144
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1145
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1147
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1148
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1149
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.160303"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.160303"]]
|
|
1150
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1152
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1153
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.163513"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.163513"]]
|
|
1154
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1155
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1156
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1157
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
1158
|
+
[1m[35mSQL (0.2ms)[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", "2015-02-17 11:54:10.167885"]]
|
|
1159
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1160
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
|
1161
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1163
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1164
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1165
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.173237"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:54:10.173237"]]
|
|
1166
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1168
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1169
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.176459"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.176459"]]
|
|
1170
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1171
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1172
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1173
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
1174
|
+
[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", "2015-02-17 11:54:10.180831"]]
|
|
1175
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1176
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
|
1177
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1178
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1179
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1180
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1181
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:54:10.187568"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087650"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.187568"]]
|
|
1182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1184
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
1185
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424346850"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:54:10.191641"]]
|
|
1186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1187
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
1188
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1190
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1191
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1192
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.198258"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087650"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.198258"]]
|
|
1193
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1194
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1195
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
1196
|
+
[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", "refreshed_token"], ["oauth_expires_at", "1424346850"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:54:10.201621"]]
|
|
1197
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1198
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1201
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1202
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:54:10.206427"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424260450], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:54:10.206427"]]
|
|
1203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1204
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1206
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1208
|
+
Processing by AuthenticatedController#index as JS
|
|
1209
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1210
|
+
Completed 401 Unauthorized in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
|
1211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1213
|
+
Processing by AuthenticatedController#index as JS
|
|
1214
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1215
|
+
Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
1216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1218
|
+
Processing by AuthenticatedController#index as HTML
|
|
1219
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
1220
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1221
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1222
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1223
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1224
|
+
Processing by AuthenticatedController#index as HTML
|
|
1225
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1226
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
1227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1228
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
1229
|
+
Processing by SessionsController#destroy as HTML
|
|
1230
|
+
Redirected to http://test.host/signed_out
|
|
1231
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1232
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1234
|
+
Processing by SessionsController#destroy as HTML
|
|
1235
|
+
Redirected to http://test.host/
|
|
1236
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1237
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1239
|
+
Processing by SessionsController#create as HTML
|
|
1240
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1241
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1243
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1244
|
+
[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", "2015-02-17 11:55:16.019788"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.019788"]]
|
|
1245
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1246
|
+
Redirected to http://test.host/
|
|
1247
|
+
Completed 302 Found in 48ms (ActiveRecord: 3.9ms)
|
|
1248
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1250
|
+
Processing by SessionsController#create as HTML
|
|
1251
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1252
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1253
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1254
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1255
|
+
[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", "2015-02-17 11:55:16.030759"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.030759"]]
|
|
1256
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1257
|
+
Redirected to http://test.host/
|
|
1258
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
|
1259
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1261
|
+
Processing by SessionsController#create as HTML
|
|
1262
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1263
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1264
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1265
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1266
|
+
[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", "2015-02-17 11:55:16.042689"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.042689"]]
|
|
1267
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1268
|
+
Redirected to http://test.host/admin
|
|
1269
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
|
|
1270
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1271
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1272
|
+
Processing by SessionsController#failure as HTML
|
|
1273
|
+
Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)
|
|
1274
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
1275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1276
|
+
Processing by SessionsController#failure as HTML
|
|
1277
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
1278
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1279
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1282
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1284
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1286
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1288
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1289
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1290
|
+
Processing by AuthenticatedController#index as JS
|
|
1291
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1292
|
+
Completed 401 Unauthorized in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
|
1293
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1294
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1295
|
+
Processing by AuthenticatedController#index as JS
|
|
1296
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1297
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
1298
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1300
|
+
Processing by AuthenticatedController#index as HTML
|
|
1301
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
1302
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1303
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1304
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1306
|
+
Processing by AuthenticatedController#index as HTML
|
|
1307
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1308
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
1309
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1311
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1312
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1313
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.111190"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087716"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.111190"]]
|
|
1314
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1315
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1316
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
1317
|
+
[1m[36mSQL (1.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424346916"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:55:16.115297"]]
|
|
1318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1319
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
1320
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
1321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1322
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1323
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1324
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.124459"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087716"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.124459"]]
|
|
1325
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1327
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
1328
|
+
[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", "refreshed_token"], ["oauth_expires_at", "1424346916"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:55:16.126926"]]
|
|
1329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1330
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1332
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1333
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1334
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.131704"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424260516], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.131704"]]
|
|
1335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1336
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1338
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1339
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
1340
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.138347"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-17 11:55:16.138347"]]
|
|
1341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1343
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
1344
|
+
[1m[35mSQL (0.4ms)[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", "2015-02-17 11:55:16.141104"]]
|
|
1345
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1346
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
1347
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
1348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1349
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1350
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1351
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.146742"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.146742"]]
|
|
1352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1353
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1354
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1355
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1356
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1357
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.154571"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.154571"]]
|
|
1358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1359
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1360
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1362
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1363
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1364
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.159459"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.159459"]]
|
|
1365
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1366
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1367
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1368
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1369
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.162675"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.162675"]]
|
|
1370
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1371
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1372
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
1373
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1374
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1375
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.168856"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.168856"]]
|
|
1376
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1377
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1378
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1379
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1380
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.173068"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.173068"]]
|
|
1381
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1382
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
1383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1384
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1385
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1386
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.178827"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.178827"]]
|
|
1387
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1388
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1389
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1390
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1391
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.182793"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.182793"]]
|
|
1392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1393
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1394
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1395
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1396
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1397
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.187921"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.187921"]]
|
|
1398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1399
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1400
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1401
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:55:16.191482"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.191482"]]
|
|
1402
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1403
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1404
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1405
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
1406
|
+
[1m[35mSQL (0.2ms)[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", "2015-02-17 11:55:16.195563"]]
|
|
1407
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1408
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1409
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1410
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1411
|
+
[1m[36mAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1412
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.201362"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.201362"]]
|
|
1413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1414
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1415
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1416
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.204651"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.204651"]]
|
|
1417
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1418
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1419
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1420
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1421
|
+
[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", "2015-02-17 11:55:16.209963"]]
|
|
1422
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1423
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
1424
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1426
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1427
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1428
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.214826"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:55:16.214826"]]
|
|
1429
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1430
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1431
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1432
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:55:16.217196"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:55:16.217196"]]
|
|
1433
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1434
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1435
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1436
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1437
|
+
[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", "2015-02-17 11:55:16.220079"]]
|
|
1438
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1439
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
1440
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
1441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1442
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1
|
|
1443
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1444
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-02-17 11:55:16.230650"], ["uid", 0], ["updated_at", "2015-02-17 11:55:16.230650"]]
|
|
1445
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1446
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
1447
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
1448
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1451
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
|
1452
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1454
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1456
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1458
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1459
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1462
|
+
Processing by AuthenticatedController#index as JS
|
|
1463
|
+
Rendered text template (0.0ms)
|
|
1464
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1465
|
+
Completed 401 Unauthorized in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)
|
|
1466
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1467
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1468
|
+
Processing by AuthenticatedController#index as JS
|
|
1469
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1470
|
+
Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
1471
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1473
|
+
Processing by AuthenticatedController#index as HTML
|
|
1474
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
1475
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1476
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
1477
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1479
|
+
Processing by AuthenticatedController#index as HTML
|
|
1480
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1481
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
1482
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1484
|
+
Processing by SessionsController#create as HTML
|
|
1485
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1486
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1487
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1488
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1489
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.546252"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.546252"]]
|
|
1490
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1491
|
+
Redirected to http://test.host/
|
|
1492
|
+
Completed 302 Found in 92ms (ActiveRecord: 3.1ms)
|
|
1493
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1495
|
+
Processing by SessionsController#create as HTML
|
|
1496
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1497
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1498
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1499
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1500
|
+
[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", "2015-02-17 11:57:14.558554"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.558554"]]
|
|
1501
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1502
|
+
Redirected to http://test.host/
|
|
1503
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
|
1504
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1506
|
+
Processing by SessionsController#create as HTML
|
|
1507
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1508
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1510
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1511
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.568675"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.568675"]]
|
|
1512
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1513
|
+
Redirected to http://test.host/admin
|
|
1514
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
|
|
1515
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1517
|
+
Processing by SessionsController#destroy as HTML
|
|
1518
|
+
Redirected to http://test.host/signed_out
|
|
1519
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1520
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1522
|
+
Processing by SessionsController#destroy as HTML
|
|
1523
|
+
Redirected to http://test.host/
|
|
1524
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1525
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
1526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1527
|
+
Processing by SessionsController#failure as HTML
|
|
1528
|
+
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
|
1529
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1531
|
+
Processing by SessionsController#failure as HTML
|
|
1532
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
|
1533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1535
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1537
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
1538
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1539
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.619311"], ["uid", 0], ["updated_at", "2015-02-17 11:57:14.619311"]]
|
|
1540
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1541
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
1542
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
1543
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
1544
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
1545
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1546
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1
|
|
1547
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.648354"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-17 11:57:14.648354"]]
|
|
1548
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1549
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1550
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1
|
|
1551
|
+
[1m[36mSQL (1.2ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2015-02-17 11:57:14.651802"]]
|
|
1552
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1553
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
1554
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
1555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1556
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1557
|
+
[1m[36mAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1558
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.661323"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087834"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.661323"]]
|
|
1559
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1560
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1561
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
1562
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424347034"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:57:14.665979"]]
|
|
1563
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1564
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
1565
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
1566
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1568
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1569
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.674249"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424087834"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.674249"]]
|
|
1570
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1571
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1572
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
1573
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424347034"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-17 11:57:14.678329"]]
|
|
1574
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1575
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
1576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1577
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1578
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1579
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.685213"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424260634], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.685213"]]
|
|
1580
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1581
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1582
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1584
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1585
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.691468"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.691468"]]
|
|
1586
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1587
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1588
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1590
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1591
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.705528"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.705528"]]
|
|
1592
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1593
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1594
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1597
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1598
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.711862"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.711862"]]
|
|
1599
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1600
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1601
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1602
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1603
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.716541"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.716541"]]
|
|
1604
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1605
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1607
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1608
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1609
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.722977"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.722977"]]
|
|
1610
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1611
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1612
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1613
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1614
|
+
[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", "2015-02-17 11:57:14.727541"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.727541"]]
|
|
1615
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1616
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
1617
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1618
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1619
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1620
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.733191"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.733191"]]
|
|
1621
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1622
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1623
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1624
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1625
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.736266"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.736266"]]
|
|
1626
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1627
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1628
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1630
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1631
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.740948"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.740948"]]
|
|
1632
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1633
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1634
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1635
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-17 11:57:14.743298"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.743298"]]
|
|
1636
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1637
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1638
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1639
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
1640
|
+
[1m[35mSQL (0.2ms)[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", "2015-02-17 11:57:14.747052"]]
|
|
1641
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1642
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1643
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1644
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1645
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1646
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.752435"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.752435"]]
|
|
1647
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1648
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1649
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1650
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.756092"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.756092"]]
|
|
1651
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1652
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1653
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1654
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1655
|
+
[1m[36mSQL (0.2ms)[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", "2015-02-17 11:57:14.760876"]]
|
|
1656
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1657
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
1658
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
1659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1660
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1661
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1662
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.767534"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-17 11:57:14.767534"]]
|
|
1663
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1664
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1665
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1666
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-17 11:57:14.769682"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-17 11:57:14.769682"]]
|
|
1667
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1668
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1669
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1670
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1671
|
+
[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", "2015-02-17 11:57:14.772446"]]
|
|
1672
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1673
|
+
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
1674
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
1675
|
+
[1m[36m (1.2ms)[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
|
|
1676
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
|
1677
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_accounts_on_uid" ON "accounts" ("uid")[0m
|
|
1678
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
1679
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
1680
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
1681
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140522110454')[0m
|
|
1682
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140522110326')
|
|
1683
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1685
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1686
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-18 13:36:20.976310"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424180180"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:36:20.976310"]]
|
|
1687
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1689
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
1690
|
+
[1m[35mSQL (1.2ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424439380"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 13:36:20.979913"]]
|
|
1691
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1692
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
1693
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
1694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1696
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1697
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:20.990531"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424180180"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:36:20.990531"]]
|
|
1698
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1699
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1700
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
1701
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424439380"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 13:36:20.992406"]]
|
|
1702
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1703
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
1704
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1705
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1706
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1707
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:20.995552"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424352980], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:36:20.995552"]]
|
|
1708
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1709
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
1710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1711
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1712
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1713
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.000344"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.000344"]]
|
|
1714
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1715
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1716
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1717
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1718
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1719
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.010535"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.010535"]]
|
|
1720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1721
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1722
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1724
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1725
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1726
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.014299"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.014299"]]
|
|
1727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1728
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1729
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1730
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1731
|
+
[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", "2015-02-18 13:36:21.016337"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.016337"]]
|
|
1732
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1733
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1735
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1736
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1737
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.019991"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.019991"]]
|
|
1738
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1739
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1740
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1741
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1742
|
+
[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", "2015-02-18 13:36:21.022231"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.022231"]]
|
|
1743
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1744
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1746
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1747
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1748
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.026929"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.026929"]]
|
|
1749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1750
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1751
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1752
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1753
|
+
[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", "2015-02-18 13:36:21.029062"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.029062"]]
|
|
1754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1755
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
1756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1757
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1758
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1759
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.032208"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.032208"]]
|
|
1760
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1761
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1762
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1763
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.033811"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.033811"]]
|
|
1764
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1765
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1766
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1767
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
1768
|
+
[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", "2015-02-18 13:36:21.037237"]]
|
|
1769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1770
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1772
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1773
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1774
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.041054"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.041054"]]
|
|
1775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1777
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1778
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.043058"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.043058"]]
|
|
1779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1780
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1781
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1782
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1783
|
+
[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", "2015-02-18 13:36:21.045131"]]
|
|
1784
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1785
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
1786
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1789
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1790
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.048577"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:36:21.048577"]]
|
|
1791
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1792
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1793
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1794
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.050159"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.050159"]]
|
|
1795
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1796
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1798
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
1799
|
+
[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", "2015-02-18 13:36:21.052350"]]
|
|
1800
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1801
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
1802
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
1803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1804
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1805
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
1806
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-18 13:36:21.055815"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-18 13:36:21.055815"]]
|
|
1807
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1808
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1809
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
1810
|
+
[1m[35mSQL (0.4ms)[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", "2015-02-18 13:36:21.057459"]]
|
|
1811
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1812
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
1813
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1815
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1817
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
1818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1819
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.071800"], ["uid", 0], ["updated_at", "2015-02-18 13:36:21.071800"]]
|
|
1820
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1821
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
1822
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
1823
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1825
|
+
Processing by SessionsController#destroy as HTML
|
|
1826
|
+
Redirected to http://test.host/signed_out
|
|
1827
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1828
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1830
|
+
Processing by SessionsController#destroy as HTML
|
|
1831
|
+
Redirected to http://test.host/
|
|
1832
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
1833
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1834
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1835
|
+
Processing by SessionsController#failure as HTML
|
|
1836
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
|
1837
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1838
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1839
|
+
Processing by SessionsController#failure as HTML
|
|
1840
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
1841
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1842
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1843
|
+
Processing by SessionsController#create as HTML
|
|
1844
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1845
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1846
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1847
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1848
|
+
[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", "2015-02-18 13:36:21.117481"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.117481"]]
|
|
1849
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1850
|
+
Redirected to http://test.host/
|
|
1851
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
|
1852
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1854
|
+
Processing by SessionsController#create as HTML
|
|
1855
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1856
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1857
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1858
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1859
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:36:21.125719"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.125719"]]
|
|
1860
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1861
|
+
Redirected to http://test.host/admin
|
|
1862
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
1863
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
1864
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1865
|
+
Processing by SessionsController#create as HTML
|
|
1866
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1867
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1869
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1870
|
+
[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", "2015-02-18 13:36:21.133129"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:36:21.133129"]]
|
|
1871
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1872
|
+
Redirected to http://test.host/
|
|
1873
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
1874
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1876
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1880
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1881
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1884
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1885
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1886
|
+
Processing by AuthenticatedController#index as JS
|
|
1887
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1888
|
+
Completed 401 Unauthorized in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
|
1889
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1891
|
+
Processing by AuthenticatedController#index as JS
|
|
1892
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1893
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
1894
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1896
|
+
Processing by AuthenticatedController#index as HTML
|
|
1897
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
1898
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1899
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
1900
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1902
|
+
Processing by AuthenticatedController#index as HTML
|
|
1903
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
1904
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
1905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1906
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1907
|
+
Processing by SessionsController#destroy as HTML
|
|
1908
|
+
Redirected to http://test.host/signed_out
|
|
1909
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1912
|
+
Processing by SessionsController#destroy as HTML
|
|
1913
|
+
Redirected to http://test.host/
|
|
1914
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
1915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1917
|
+
Processing by SessionsController#failure as HTML
|
|
1918
|
+
Completed 200 OK in 6ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
|
1919
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1921
|
+
Processing by SessionsController#failure as HTML
|
|
1922
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
1923
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1925
|
+
Processing by SessionsController#create as HTML
|
|
1926
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1927
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1929
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1930
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.229152"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.229152"]]
|
|
1931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1932
|
+
Redirected to http://test.host/
|
|
1933
|
+
Completed 302 Found in 34ms (ActiveRecord: 2.2ms)
|
|
1934
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1935
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1936
|
+
Processing by SessionsController#create as HTML
|
|
1937
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1938
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1940
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1941
|
+
[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", "2015-02-18 13:41:26.236533"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.236533"]]
|
|
1942
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1943
|
+
Redirected to http://test.host/admin
|
|
1944
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
1945
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1946
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1947
|
+
Processing by SessionsController#create as HTML
|
|
1948
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
1949
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1950
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1951
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1952
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.243458"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.243458"]]
|
|
1953
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1954
|
+
Redirected to http://test.host/
|
|
1955
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
|
1956
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
1957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1959
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1960
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.249285"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.249285"]]
|
|
1961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1962
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1963
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1965
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1966
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.256794"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.256794"]]
|
|
1967
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1968
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
1969
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
1970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1972
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1973
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.261515"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.261515"]]
|
|
1974
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1975
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1977
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
1978
|
+
[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", "2015-02-18 13:41:26.263814"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.263814"]]
|
|
1979
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1980
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
1981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1983
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
1984
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.268049"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.268049"]]
|
|
1985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1986
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
1987
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1988
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
1989
|
+
[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", "2015-02-18 13:41:26.270734"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.270734"]]
|
|
1990
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1991
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
1992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1994
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
1995
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.273931"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.273931"]]
|
|
1996
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1997
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
1998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1999
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2000
|
+
[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", "2015-02-18 13:41:26.276467"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.276467"]]
|
|
2001
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2002
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2004
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2005
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2006
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.281168"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.281168"]]
|
|
2007
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2009
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2010
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.283864"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.283864"]]
|
|
2011
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2012
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2014
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2015
|
+
[1m[35mSQL (0.3ms)[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", "2015-02-18 13:41:26.287557"]]
|
|
2016
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2017
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
2018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2019
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2020
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2021
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.292997"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.292997"]]
|
|
2022
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2023
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2024
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2025
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.295073"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.295073"]]
|
|
2026
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2027
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2029
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2030
|
+
[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", "2015-02-18 13:41:26.297332"]]
|
|
2031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2032
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
2033
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
2034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2036
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2037
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.300809"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:41:26.300809"]]
|
|
2038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2040
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2041
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.302500"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.302500"]]
|
|
2042
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2043
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2044
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2045
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2046
|
+
[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", "2015-02-18 13:41:26.304600"]]
|
|
2047
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2048
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
2049
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2052
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2053
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-18 13:41:26.309159"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424180486"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.309159"]]
|
|
2054
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2055
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2056
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2057
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1 [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424439686"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 13:41:26.311667"]]
|
|
2058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2059
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2060
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2061
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2063
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2064
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.316333"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424180486"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.316333"]]
|
|
2065
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2066
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2067
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
2068
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424439686"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 13:41:26.318900"]]
|
|
2069
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2070
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2073
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2074
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:41:26.322310"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424353286], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:41:26.322310"]]
|
|
2075
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2076
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2079
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1
|
|
2080
|
+
[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", "2015-02-18 13:41:26.326527"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-18 13:41:26.326527"]]
|
|
2081
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2083
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1
|
|
2084
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2015-02-18 13:41:26.328658"]]
|
|
2085
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2086
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2087
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2089
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1
|
|
2090
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2091
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-02-18 13:41:26.338751"], ["uid", 0], ["updated_at", "2015-02-18 13:41:26.338751"]]
|
|
2092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2093
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1
|
|
2094
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2096
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2098
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
2099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2100
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
2101
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2102
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2103
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2104
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
2105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2106
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2108
|
+
Processing by AuthenticatedController#index as JS
|
|
2109
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2110
|
+
Completed 401 Unauthorized in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
2111
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2113
|
+
Processing by AuthenticatedController#index as JS
|
|
2114
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2115
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2116
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2118
|
+
Processing by AuthenticatedController#index as HTML
|
|
2119
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
2120
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2121
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
2122
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2124
|
+
Processing by AuthenticatedController#index as HTML
|
|
2125
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2126
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
2127
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2128
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
2129
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2130
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2131
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.406951"], ["updated_at", "2015-02-18 13:41:32.406951"]]
|
|
2132
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2133
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
2134
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2135
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2136
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2137
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.418454"], ["updated_at", "2015-02-18 13:41:32.418454"]]
|
|
2138
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2139
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
2140
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2143
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2144
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.426136"], ["updated_at", "2015-02-18 13:41:32.426136"]]
|
|
2145
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2146
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2147
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2148
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2149
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.429446"], ["updated_at", "2015-02-18 13:41:32.429446"]]
|
|
2150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2151
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2154
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2155
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.434967"], ["updated_at", "2015-02-18 13:41:32.434967"]]
|
|
2156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2157
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2159
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2160
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.438125"], ["updated_at", "2015-02-18 13:41:32.438125"]]
|
|
2161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2162
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2165
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2166
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.443042"], ["updated_at", "2015-02-18 13:41:32.443042"]]
|
|
2167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2168
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2170
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2171
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.448385"], ["updated_at", "2015-02-18 13:41:32.448385"]]
|
|
2172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2173
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2176
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2177
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.452739"], ["updated_at", "2015-02-18 13:41:32.452739"]]
|
|
2178
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2179
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2180
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2181
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 13:41:32.456753"], ["updated_at", "2015-02-18 13:41:32.456753"]]
|
|
2182
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2183
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2185
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2186
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 13:41:32.462404"], ["id", 2]]
|
|
2187
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2188
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2191
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2192
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.466861"], ["updated_at", "2015-02-18 13:41:32.466861"]]
|
|
2193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2195
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2196
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 13:41:32.469037"], ["updated_at", "2015-02-18 13:41:32.469037"]]
|
|
2197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2198
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2200
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2201
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 13:41:32.472155"], ["id", 2]]
|
|
2202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2203
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
|
2204
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2206
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2207
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2208
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:41:32.478656"], ["updated_at", "2015-02-18 13:41:32.478656"]]
|
|
2209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2211
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2212
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 13:41:32.482138"], ["updated_at", "2015-02-18 13:41:32.482138"]]
|
|
2213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2214
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2216
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2217
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 13:41:32.485974"], ["id", 2]]
|
|
2218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2219
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
|
2220
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2222
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2223
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1
|
|
2224
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["oauth_access_token", "token"], ["oauth_refresh_token", "refresh"], ["oauth_expires_at", "expires"], ["created_at", "2015-02-18 13:41:32.490868"], ["updated_at", "2015-02-18 13:41:32.490868"]]
|
|
2225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2227
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1
|
|
2228
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", "2015-02-18 13:41:32.492961"], ["id", 1]]
|
|
2229
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2230
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2231
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2234
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2235
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424180492"], ["created_at", "2015-02-18 13:41:32.504106"], ["updated_at", "2015-02-18 13:41:32.504106"]]
|
|
2236
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2237
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2238
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2239
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["oauth_access_token", "refreshed_token"], ["oauth_refresh_token", "refreshed_refresh_token"], ["oauth_expires_at", "1424439692"], ["updated_at", "2015-02-18 13:41:32.508423"], ["id", 1]]
|
|
2240
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2241
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2242
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2245
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2246
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424180492"], ["created_at", "2015-02-18 13:41:32.515077"], ["updated_at", "2015-02-18 13:41:32.515077"]]
|
|
2247
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2248
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2249
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
2250
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["oauth_access_token", "refreshed_token"], ["oauth_refresh_token", "refreshed_refresh_token"], ["oauth_expires_at", "1424439692"], ["updated_at", "2015-02-18 13:41:32.519307"], ["id", 1]]
|
|
2251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2252
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2255
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2256
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424353292"], ["created_at", "2015-02-18 13:41:32.524310"], ["updated_at", "2015-02-18 13:41:32.524310"]]
|
|
2257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2258
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2260
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
2261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2262
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("uid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uid", 0], ["created_at", "2015-02-18 13:41:32.531854"], ["updated_at", "2015-02-18 13:41:32.531854"]]
|
|
2263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2264
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
2265
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2267
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2269
|
+
Processing by SessionsController#destroy as HTML
|
|
2270
|
+
Redirected to http://test.host/signed_out
|
|
2271
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
2272
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2273
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2274
|
+
Processing by SessionsController#destroy as HTML
|
|
2275
|
+
Redirected to http://test.host/
|
|
2276
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
2277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2279
|
+
Processing by SessionsController#failure as HTML
|
|
2280
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
2281
|
+
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
|
2282
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2283
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2284
|
+
Processing by SessionsController#failure as HTML
|
|
2285
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
2286
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
|
2287
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2289
|
+
Processing by SessionsController#create as HTML
|
|
2290
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
2291
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2293
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2294
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.595844"], ["updated_at", "2015-02-18 13:41:32.595844"]]
|
|
2295
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2296
|
+
Redirected to http://test.host/
|
|
2297
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
|
2298
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2300
|
+
Processing by SessionsController#create as HTML
|
|
2301
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
2302
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2304
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2305
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.603730"], ["updated_at", "2015-02-18 13:41:32.603730"]]
|
|
2306
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2307
|
+
Redirected to http://test.host/admin
|
|
2308
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
2309
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2311
|
+
Processing by SessionsController#create as HTML
|
|
2312
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
2313
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2314
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2315
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2316
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:41:32.613581"], ["updated_at", "2015-02-18 13:41:32.613581"]]
|
|
2317
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2318
|
+
Redirected to http://test.host/
|
|
2319
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
|
2320
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2322
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2324
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2325
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2326
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2328
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2330
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2331
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2332
|
+
Processing by AuthenticatedController#index as JS
|
|
2333
|
+
Rendered text template (0.0ms)
|
|
2334
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2335
|
+
Completed 401 Unauthorized in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
2336
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2338
|
+
Processing by AuthenticatedController#index as JS
|
|
2339
|
+
Rendered text template (0.0ms)
|
|
2340
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2341
|
+
Completed 401 Unauthorized in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
2342
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2343
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2344
|
+
Processing by AuthenticatedController#index as HTML
|
|
2345
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
2346
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2347
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
2348
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2349
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2350
|
+
Processing by AuthenticatedController#index as HTML
|
|
2351
|
+
Rendered text template (0.0ms)
|
|
2352
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2353
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
2354
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2355
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
2356
|
+
Processing by SessionsController#destroy as HTML
|
|
2357
|
+
Redirected to http://test.host/signed_out
|
|
2358
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
2359
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2361
|
+
Processing by SessionsController#destroy as HTML
|
|
2362
|
+
Redirected to http://test.host/
|
|
2363
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
2364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2366
|
+
Processing by SessionsController#create as HTML
|
|
2367
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
2368
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2369
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2370
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2371
|
+
[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", "2015-02-18 13:46:16.836683"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.836683"]]
|
|
2372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2373
|
+
Redirected to http://test.host/
|
|
2374
|
+
Completed 302 Found in 36ms (ActiveRecord: 2.6ms)
|
|
2375
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
2376
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2377
|
+
Processing by SessionsController#create as HTML
|
|
2378
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
2379
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2381
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2382
|
+
[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", "2015-02-18 13:46:16.848866"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.848866"]]
|
|
2383
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2384
|
+
Redirected to http://test.host/
|
|
2385
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
|
2386
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
2387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2388
|
+
Processing by SessionsController#create as HTML
|
|
2389
|
+
Parameters: {"provider"=>"bookingsync"}
|
|
2390
|
+
[1m[35mAccount Load (0.4ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2391
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2392
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2393
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.860920"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.860920"]]
|
|
2394
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2395
|
+
Redirected to http://test.host/admin
|
|
2396
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
|
|
2397
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2399
|
+
Processing by SessionsController#failure as HTML
|
|
2400
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
|
|
2401
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2402
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2403
|
+
Processing by SessionsController#failure as HTML
|
|
2404
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
|
2405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2406
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2407
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2409
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
2410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2411
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
2412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2413
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
79
2415
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
80
2416
|
[1m[35m (0.1ms)[0m begin transaction
|
|
81
|
-
Processing by
|
|
82
|
-
|
|
2417
|
+
Processing by AuthenticatedController#index as JS
|
|
2418
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2419
|
+
Completed 401 Unauthorized in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
|
83
2420
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
84
2421
|
[1m[35m (0.1ms)[0m begin transaction
|
|
85
|
-
Processing by
|
|
86
|
-
|
|
2422
|
+
Processing by AuthenticatedController#index as JS
|
|
2423
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2424
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
87
2425
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
88
|
-
[1m[35m (0.
|
|
89
|
-
Processing by
|
|
90
|
-
Redirected to http://test.host/
|
|
2426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2427
|
+
Processing by AuthenticatedController#index as HTML
|
|
2428
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
2429
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
91
2430
|
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
92
2431
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
93
2432
|
[1m[35m (0.1ms)[0m begin transaction
|
|
94
|
-
Processing by
|
|
95
|
-
|
|
96
|
-
Completed
|
|
2433
|
+
Processing by AuthenticatedController#index as HTML
|
|
2434
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
2435
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
97
2436
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
98
|
-
[1m[
|
|
99
|
-
[1m[
|
|
100
|
-
[1m[
|
|
101
|
-
[1m[
|
|
2437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2438
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
2439
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2440
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.918514"], ["uid", 0], ["updated_at", "2015-02-18 13:46:16.918514"]]
|
|
2441
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2442
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
2443
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
102
2444
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
103
|
-
[1m[35m (0.
|
|
104
|
-
[1m[
|
|
105
|
-
[1m[
|
|
106
|
-
[1m[36m (0.
|
|
107
|
-
[1m[35m (0.1ms)[0m
|
|
2445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2446
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
2447
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.930161"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-18 13:46:16.930161"]]
|
|
2448
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2449
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2450
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2451
|
+
[1m[35mSQL (1.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", "2015-02-18 13:46:16.932961"]]
|
|
2452
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2453
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2454
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2455
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2456
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2457
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2458
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.940365"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.940365"]]
|
|
2459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2460
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
2461
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2462
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2463
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2464
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.946129"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.946129"]]
|
|
2465
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2466
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
2467
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
108
2468
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
109
|
-
[1m[35m (0.
|
|
110
|
-
[1m[
|
|
111
|
-
[1m[
|
|
2469
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2470
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2471
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.950195"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.950195"]]
|
|
2472
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2473
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2475
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2476
|
+
[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", "2015-02-18 13:46:16.952953"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.952953"]]
|
|
2477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2478
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2479
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2480
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2481
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2482
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.956480"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.956480"]]
|
|
2483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2484
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2485
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2486
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2487
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.959172"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.959172"]]
|
|
2488
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2489
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
112
2490
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
113
|
-
[1m[35m (0.
|
|
114
|
-
[1m[
|
|
115
|
-
[1m[
|
|
116
|
-
[1m[36m (0.0ms)[0m [
|
|
117
|
-
[1m[
|
|
2491
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2492
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2493
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.962760"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.962760"]]
|
|
2494
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2495
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2496
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2497
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2498
|
+
[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", "2015-02-18 13:46:16.965211"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.965211"]]
|
|
2499
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2500
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2501
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2502
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2503
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2504
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.968757"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.968757"]]
|
|
2505
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2506
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2507
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2508
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:16.971615"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.971615"]]
|
|
2509
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2510
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2511
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2512
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2513
|
+
[1m[35mSQL (0.2ms)[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", "2015-02-18 13:46:16.975937"]]
|
|
2514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2515
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
118
2516
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
119
|
-
[1m[35m (0.0ms)[0m
|
|
120
|
-
[1m[
|
|
121
|
-
[1m[
|
|
122
|
-
[1m[36m (0.
|
|
123
|
-
[1m[35m (0.0ms)[0m
|
|
124
|
-
[1m[
|
|
125
|
-
[1m[
|
|
2517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2518
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2519
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.979729"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.979729"]]
|
|
2520
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2521
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2522
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2523
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.981560"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.981560"]]
|
|
2524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2525
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2526
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2527
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2528
|
+
[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", "2015-02-18 13:46:16.983777"]]
|
|
2529
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2530
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
2531
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
126
2532
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
127
|
-
[1m[35m (0.
|
|
2533
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2534
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2535
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.988388"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 13:46:16.988388"]]
|
|
2536
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2538
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2539
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.990204"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.990204"]]
|
|
2540
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2541
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2543
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2544
|
+
[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", "2015-02-18 13:46:16.992503"]]
|
|
2545
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2546
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
2547
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
128
2548
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
129
|
-
[1m[35m (0.
|
|
2549
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2550
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2551
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-18 13:46:16.996784"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424180776"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:46:16.996784"]]
|
|
2552
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2554
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2555
|
+
[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", "refreshed_token"], ["oauth_expires_at", "1424439976"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 13:46:16.999595"]]
|
|
2556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2557
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2558
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2559
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2560
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2561
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2562
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:17.004014"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424180777"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:46:17.004014"]]
|
|
2563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2565
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
2566
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424439977"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 13:46:17.005816"]]
|
|
2567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2568
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2569
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2570
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2571
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2572
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 13:46:17.010279"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424353577], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 13:46:17.010279"]]
|
|
2573
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2574
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2575
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2576
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2577
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
2578
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2579
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
2580
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["oauth_access_token", "token"], ["oauth_refresh_token", "refresh"], ["oauth_expires_at", "expires"], ["created_at", "2015-02-18 13:46:23.148261"], ["updated_at", "2015-02-18 13:46:23.148261"]]
|
|
2581
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2583
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2584
|
+
[1m[35mSQL (1.4ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", "2015-02-18 13:46:23.151927"], ["id", 1]]
|
|
2585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2586
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2587
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2588
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2590
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2591
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.164885"], ["updated_at", "2015-02-18 13:46:23.164885"]]
|
|
2592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2593
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
2594
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2595
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2596
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2597
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.172278"], ["updated_at", "2015-02-18 13:46:23.172278"]]
|
|
2598
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2599
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
2600
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
130
2601
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
131
|
-
[1m[35m (0.0ms)[0m
|
|
2602
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2603
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2604
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.178568"], ["updated_at", "2015-02-18 13:46:23.178568"]]
|
|
2605
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2606
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2608
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2609
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.181273"], ["updated_at", "2015-02-18 13:46:23.181273"]]
|
|
2610
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2611
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
2612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2613
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2614
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2615
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.186838"], ["updated_at", "2015-02-18 13:46:23.186838"]]
|
|
2616
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2617
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2618
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2619
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2620
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.190608"], ["updated_at", "2015-02-18 13:46:23.190608"]]
|
|
2621
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2622
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
132
2623
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
133
|
-
[1m[35m (0.1ms)[0m
|
|
2624
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2625
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2626
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.196635"], ["updated_at", "2015-02-18 13:46:23.196635"]]
|
|
2627
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2628
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2630
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2631
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.200192"], ["updated_at", "2015-02-18 13:46:23.200192"]]
|
|
2632
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2633
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2635
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2636
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2637
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.204129"], ["updated_at", "2015-02-18 13:46:23.204129"]]
|
|
2638
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2640
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2641
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 13:46:23.206160"], ["updated_at", "2015-02-18 13:46:23.206160"]]
|
|
2642
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2643
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2644
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2645
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2646
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 13:46:23.209365"], ["id", 2]]
|
|
2647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2648
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
134
2649
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
[1m[
|
|
2650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2651
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2652
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.213367"], ["updated_at", "2015-02-18 13:46:23.213367"]]
|
|
2653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2654
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2655
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2656
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 13:46:23.216652"], ["updated_at", "2015-02-18 13:46:23.216652"]]
|
|
2657
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2658
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2659
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2660
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2661
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 13:46:23.220560"], ["id", 2]]
|
|
2662
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2663
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
2664
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2666
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2667
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2668
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 13:46:23.224887"], ["updated_at", "2015-02-18 13:46:23.224887"]]
|
|
2669
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2670
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2671
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2672
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 13:46:23.227708"], ["updated_at", "2015-02-18 13:46:23.227708"]]
|
|
2673
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2674
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2675
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2676
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2677
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 13:46:23.231077"], ["id", 2]]
|
|
2678
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2679
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
2680
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
2681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2683
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2684
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424180783"], ["created_at", "2015-02-18 13:46:23.244175"], ["updated_at", "2015-02-18 13:46:23.244175"]]
|
|
2685
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2686
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2687
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2688
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["oauth_access_token", "refreshed_token"], ["oauth_refresh_token", "refreshed_refresh_token"], ["oauth_expires_at", "1424439983"], ["updated_at", "2015-02-18 13:46:23.247467"], ["id", 1]]
|
|
2689
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2690
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2691
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2693
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2694
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2695
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424180783"], ["created_at", "2015-02-18 13:46:23.254472"], ["updated_at", "2015-02-18 13:46:23.254472"]]
|
|
2696
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2697
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2698
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
2699
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["oauth_access_token", "refreshed_token"], ["oauth_refresh_token", "refreshed_refresh_token"], ["oauth_expires_at", "1424439983"], ["updated_at", "2015-02-18 13:46:23.258216"], ["id", 1]]
|
|
2700
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2701
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2703
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2704
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2705
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424353583"], ["created_at", "2015-02-18 13:46:23.263933"], ["updated_at", "2015-02-18 13:46:23.263933"]]
|
|
2706
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2707
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2709
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
2710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2711
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uid", 0], ["created_at", "2015-02-18 13:46:23.272472"], ["updated_at", "2015-02-18 13:46:23.272472"]]
|
|
2712
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2713
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
2714
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
139
2715
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
140
|
-
Processing by SessionsController#failure as HTML
|
|
141
|
-
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
|
142
2716
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
143
|
-
[1m[36m (0.
|
|
2717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
144
2718
|
Processing by SessionsController#destroy as HTML
|
|
145
2719
|
Redirected to http://test.host/signed_out
|
|
146
2720
|
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
@@ -148,38 +2722,72 @@ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
|
148
2722
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
149
2723
|
Processing by SessionsController#destroy as HTML
|
|
150
2724
|
Redirected to http://test.host/
|
|
151
|
-
Completed 302 Found in
|
|
2725
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
2726
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2728
|
+
Processing by SessionsController#failure as HTML
|
|
2729
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
2730
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
|
2731
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2733
|
+
Processing by SessionsController#failure as HTML
|
|
2734
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.2ms)
|
|
2735
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
|
152
2736
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
153
2737
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
154
2738
|
Processing by SessionsController#create as HTML
|
|
155
2739
|
Parameters: {"provider"=>"bookingsync"}
|
|
156
|
-
[1m[35mAccount Load (0.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
[1m[
|
|
2740
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2741
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2742
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2743
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.342486"], ["updated_at", "2015-02-18 13:46:23.342486"]]
|
|
2744
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2745
|
+
Redirected to http://test.host/
|
|
2746
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
|
|
2747
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
160
2748
|
[1m[35m (0.1ms)[0m begin transaction
|
|
161
2749
|
Processing by SessionsController#create as HTML
|
|
162
2750
|
Parameters: {"provider"=>"bookingsync"}
|
|
163
|
-
[1m[36mAccount Load (0.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
[1m[
|
|
2751
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
2752
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2753
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2754
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.351852"], ["updated_at", "2015-02-18 13:46:23.351852"]]
|
|
2755
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2756
|
+
Redirected to http://test.host/admin
|
|
2757
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
2758
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
167
2759
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
168
2760
|
Processing by SessionsController#create as HTML
|
|
169
2761
|
Parameters: {"provider"=>"bookingsync"}
|
|
170
|
-
[1m[35mAccount Load (0.
|
|
171
|
-
|
|
172
|
-
|
|
2762
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
2763
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2764
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2765
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 13:46:23.361951"], ["updated_at", "2015-02-18 13:46:23.361951"]]
|
|
2766
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2767
|
+
Redirected to http://test.host/
|
|
2768
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
|
2769
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2770
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2771
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2773
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2777
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
173
2779
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
174
2780
|
[1m[35m (0.1ms)[0m begin transaction
|
|
175
2781
|
Processing by AuthenticatedController#index as JS
|
|
2782
|
+
Rendered text template (0.0ms)
|
|
176
2783
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
177
|
-
Completed 401 Unauthorized in
|
|
2784
|
+
Completed 401 Unauthorized in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
178
2785
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
179
|
-
[1m[35m (0.
|
|
2786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
180
2787
|
Processing by AuthenticatedController#index as JS
|
|
2788
|
+
Rendered text template (0.0ms)
|
|
181
2789
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
182
|
-
Completed 401 Unauthorized in 1ms (Views: 0.
|
|
2790
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
183
2791
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
184
2792
|
[1m[35m (0.1ms)[0m begin transaction
|
|
185
2793
|
Processing by AuthenticatedController#index as HTML
|
|
@@ -187,34 +2795,153 @@ Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
|
187
2795
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
188
2796
|
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
189
2797
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
190
|
-
[1m[35m (0.
|
|
2798
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
191
2799
|
Processing by AuthenticatedController#index as HTML
|
|
2800
|
+
Rendered text template (0.0ms)
|
|
192
2801
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
193
2802
|
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
194
2803
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
195
2804
|
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
[1m[35m (0.1ms)[0m
|
|
201
|
-
[1m[
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
[1m[
|
|
2805
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2806
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2807
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 15:19:40.166022"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.166022"]]
|
|
2808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2809
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
2810
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2811
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2812
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2813
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-02-18 15:19:40.180105"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.180105"]]
|
|
2814
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2815
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "accounts"
|
|
2816
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2818
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2819
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2820
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.185023"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.185023"]]
|
|
2821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2822
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2824
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2825
|
+
[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", "2015-02-18 15:19:40.187542"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.187542"]]
|
|
2826
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2827
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
206
2828
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
[1m[
|
|
2829
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2830
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2831
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 15:19:40.193705"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.193705"]]
|
|
2832
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2833
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2834
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2835
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2836
|
+
[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", "2015-02-18 15:19:40.196421"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.196421"]]
|
|
2837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2838
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2839
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2840
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2841
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2842
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.201906"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.201906"]]
|
|
2843
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2844
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2845
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2846
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2847
|
+
[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", "2015-02-18 15:19:40.204853"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.204853"]]
|
|
2848
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2849
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
212
2850
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
[1m[
|
|
2851
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2852
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
2853
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 15:19:40.208855"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.208855"]]
|
|
2854
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2856
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2857
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-18 15:19:40.210533"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.210533"]]
|
|
2858
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2859
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2860
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2861
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
2862
|
+
[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", "2015-02-18 15:19:40.213454"]]
|
|
2863
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2864
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
2865
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2866
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2867
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2868
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.217853"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.217853"]]
|
|
2869
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2870
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2871
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2872
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.220068"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.220068"]]
|
|
2873
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2874
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2876
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2877
|
+
[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", "2015-02-18 15:19:40.223032"]]
|
|
2878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2879
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
|
2880
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2881
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2882
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2883
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
2884
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.227198"], ["provider", "bookingsync"], ["uid", 456], ["updated_at", "2015-02-18 15:19:40.227198"]]
|
|
2885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2886
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2887
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2888
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.229305"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.229305"]]
|
|
2889
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2890
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
2891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2892
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
2893
|
+
[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", "2015-02-18 15:19:40.232364"]]
|
|
2894
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2895
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
|
2896
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2898
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2899
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1
|
|
2900
|
+
[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", "2015-02-18 15:19:40.235889"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires"], ["oauth_refresh_token", "refresh"], ["updated_at", "2015-02-18 15:19:40.235889"]]
|
|
2901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2903
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1
|
|
2904
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", nil], ["oauth_expires_at", nil], ["oauth_refresh_token", nil], ["updated_at", "2015-02-18 15:19:40.237781"]]
|
|
2905
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2906
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
2907
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
217
2908
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2909
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2910
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2911
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", "2015-02-18 15:19:40.254194"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424186380"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.254194"]]
|
|
2912
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2913
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2914
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
2915
|
+
[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", "refreshed_token"], ["oauth_expires_at", "1424445580"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 15:19:40.256485"]]
|
|
2916
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2917
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
2918
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2919
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2920
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2921
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2922
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.260673"], ["oauth_access_token", "token"], ["oauth_expires_at", "1424186380"], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.260673"]]
|
|
2923
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2925
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
2926
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_expires_at" = ?, "oauth_refresh_token" = ?, "updated_at" = ? WHERE "accounts"."id" = 1[0m [["oauth_access_token", "refreshed_token"], ["oauth_expires_at", "1424445580"], ["oauth_refresh_token", "refreshed_refresh_token"], ["updated_at", "2015-02-18 15:19:40.262481"]]
|
|
2927
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2928
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2929
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2930
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2931
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2932
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.265863"], ["oauth_access_token", "token"], ["oauth_expires_at", 1424359180], ["oauth_refresh_token", "refresh_token"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.265863"]]
|
|
2933
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2934
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
2935
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2936
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2938
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
2939
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2940
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "uid", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.281098"], ["uid", 0], ["updated_at", "2015-02-18 15:19:40.281098"]]
|
|
2941
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2942
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
2943
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
2944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
218
2945
|
Processing by SessionsController#destroy as HTML
|
|
219
2946
|
Redirected to http://test.host/signed_out
|
|
220
2947
|
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
@@ -225,81 +2952,88 @@ Redirected to http://test.host/
|
|
|
225
2952
|
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
226
2953
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
227
2954
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2955
|
+
Processing by SessionsController#failure as HTML
|
|
2956
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
|
2957
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2959
|
+
Processing by SessionsController#failure as HTML
|
|
2960
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
|
2961
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
228
2963
|
Processing by SessionsController#create as HTML
|
|
229
2964
|
Parameters: {"provider"=>"bookingsync"}
|
|
230
|
-
[1m[35mAccount Load (0.
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
[1m[
|
|
234
|
-
[1m[35m (0.1ms)[0m
|
|
2965
|
+
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2966
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2967
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2968
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("created_at", "name", "oauth_access_token", "oauth_expires_at", "oauth_refresh_token", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2015-02-18 15:19:40.325124"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.325124"]]
|
|
2969
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2970
|
+
Redirected to http://test.host/
|
|
2971
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
|
2972
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
2973
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
235
2974
|
Processing by SessionsController#create as HTML
|
|
236
2975
|
Parameters: {"provider"=>"bookingsync"}
|
|
237
2976
|
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1[0m
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
[1m[
|
|
2977
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2978
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
2979
|
+
[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", "2015-02-18 15:19:40.335038"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.335038"]]
|
|
2980
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2981
|
+
Redirected to http://test.host/admin
|
|
2982
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
|
2983
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
241
2984
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
242
2985
|
Processing by SessionsController#create as HTML
|
|
243
2986
|
Parameters: {"provider"=>"bookingsync"}
|
|
244
|
-
[1m[35mAccount Load (0.
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
[1m[
|
|
2987
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = 123 AND "accounts"."provider" = 'bookingsync' LIMIT 1
|
|
2988
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2989
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
2990
|
+
[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", "2015-02-18 15:19:40.343812"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_expires_at", "expires at"], ["oauth_refresh_token", "refresh token"], ["provider", "bookingsync"], ["uid", 123], ["updated_at", "2015-02-18 15:19:40.343812"]]
|
|
2991
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2992
|
+
Redirected to http://test.host/
|
|
2993
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
|
2994
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
248
2995
|
[1m[35m (0.1ms)[0m begin transaction
|
|
249
|
-
Processing by SessionsController#failure as HTML
|
|
250
|
-
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
|
251
2996
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
252
|
-
[1m[35m (0.
|
|
253
|
-
Processing by SessionsController#failure as HTML
|
|
254
|
-
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
|
2997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
255
2998
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
256
2999
|
[1m[35m (0.1ms)[0m begin transaction
|
|
257
3000
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
258
3001
|
[1m[35m (0.1ms)[0m begin transaction
|
|
259
|
-
[1m[36m (0.
|
|
3002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
260
3003
|
[1m[35m (0.1ms)[0m begin transaction
|
|
261
3004
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
262
|
-
[1m[35m (0.
|
|
3005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3006
|
+
Processing by AuthenticatedController#index as JS
|
|
3007
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
3008
|
+
Completed 401 Unauthorized in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
|
263
3009
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
264
|
-
[1m[35m (0.
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
269
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
270
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
3010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3011
|
+
Processing by AuthenticatedController#index as JS
|
|
3012
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
3013
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
271
3014
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
272
3015
|
[1m[35m (0.0ms)[0m begin transaction
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
278
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
3016
|
+
Processing by AuthenticatedController#index as HTML
|
|
3017
|
+
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
3018
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
3019
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
279
3020
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
280
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
281
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
282
3021
|
[1m[35m (0.0ms)[0m begin transaction
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
3022
|
+
Processing by AuthenticatedController#index as HTML
|
|
3023
|
+
Filter chain halted as :authenticate_account! rendered or redirected
|
|
3024
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
287
3025
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
288
|
-
[1m[
|
|
289
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
290
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
291
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
292
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
3026
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
293
3027
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
294
|
-
[1m[36m (0.
|
|
295
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
296
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
297
3029
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
3030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
298
3032
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
299
3033
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
300
3034
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
301
3035
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
302
|
-
[1m[36m (0.
|
|
3036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
303
3037
|
Processing by SessionsController#destroy as HTML
|
|
304
3038
|
Redirected to http://test.host/signed_out
|
|
305
3039
|
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
@@ -307,81 +3041,212 @@ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
|
307
3041
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
308
3042
|
Processing by SessionsController#destroy as HTML
|
|
309
3043
|
Redirected to http://test.host/
|
|
310
|
-
Completed 302 Found in
|
|
3044
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
311
3045
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
312
3046
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
313
3047
|
Processing by SessionsController#failure as HTML
|
|
314
|
-
|
|
3048
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
3049
|
+
Completed 200 OK in 11ms (Views: 11.1ms | ActiveRecord: 0.0ms)
|
|
315
3050
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
316
3051
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
317
3052
|
Processing by SessionsController#failure as HTML
|
|
318
|
-
|
|
3053
|
+
Rendered /Users/manda/projects/bookingsync-engine/app/views/sessions/failure.html.erb within layouts/application (0.3ms)
|
|
3054
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
|
319
3055
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
320
|
-
[1m[36m (0.
|
|
3056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
321
3057
|
Processing by SessionsController#create as HTML
|
|
322
3058
|
Parameters: {"provider"=>"bookingsync"}
|
|
323
|
-
[1m[35mAccount Load (0.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
[1m[
|
|
3059
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3060
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3061
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3062
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.669423"], ["updated_at", "2015-02-18 15:19:46.669423"]]
|
|
3063
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3064
|
+
Redirected to http://test.host/
|
|
3065
|
+
Completed 302 Found in 40ms (ActiveRecord: 2.6ms)
|
|
3066
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
327
3067
|
[1m[35m (0.1ms)[0m begin transaction
|
|
328
3068
|
Processing by SessionsController#create as HTML
|
|
329
3069
|
Parameters: {"provider"=>"bookingsync"}
|
|
330
|
-
[1m[36mAccount Load (0.
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
[1m[
|
|
3070
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
3071
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3072
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
3073
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.680025"], ["updated_at", "2015-02-18 15:19:46.680025"]]
|
|
3074
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3075
|
+
Redirected to http://test.host/admin
|
|
3076
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
|
|
3077
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
334
3078
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
335
3079
|
Processing by SessionsController#create as HTML
|
|
336
3080
|
Parameters: {"provider"=>"bookingsync"}
|
|
337
|
-
[1m[35mAccount Load (0.
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
[1m[
|
|
3081
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3082
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3083
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3084
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.690245"], ["updated_at", "2015-02-18 15:19:46.690245"]]
|
|
3085
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3086
|
+
Redirected to http://test.host/
|
|
3087
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
3088
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
341
3089
|
[1m[35m (0.1ms)[0m begin transaction
|
|
342
|
-
[1m[36m (0.0ms)[0m [
|
|
343
|
-
[1m[
|
|
344
|
-
[1m[
|
|
345
|
-
[1m[35m (0.0ms)[0m
|
|
346
|
-
[1m[36m (0.
|
|
347
|
-
[1m[
|
|
348
|
-
[1m[36m (0.0ms)[0m [
|
|
349
|
-
[1m[
|
|
350
|
-
[1m[
|
|
351
|
-
[1m[35m (0.
|
|
352
|
-
[1m[36m (0.
|
|
3090
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3091
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
3092
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.694898"], ["updated_at", "2015-02-18 15:19:46.694898"]]
|
|
3093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3094
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
3095
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3096
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3097
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3098
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.701105"], ["updated_at", "2015-02-18 15:19:46.701105"]]
|
|
3099
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3100
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "accounts"[0m
|
|
3101
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
3102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3103
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3104
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
3105
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.706278"], ["updated_at", "2015-02-18 15:19:46.706278"]]
|
|
3106
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3107
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3108
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3109
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3110
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.710502"], ["updated_at", "2015-02-18 15:19:46.710502"]]
|
|
3111
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3112
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
353
3113
|
[1m[35m (0.1ms)[0m begin transaction
|
|
354
|
-
[1m[36m (0.0ms)[0m [
|
|
355
|
-
[1m[
|
|
356
|
-
[1m[
|
|
3114
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3115
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
3116
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.715500"], ["updated_at", "2015-02-18 15:19:46.715500"]]
|
|
3117
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3118
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
3119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3120
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
3121
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.719064"], ["updated_at", "2015-02-18 15:19:46.719064"]]
|
|
3122
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3123
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
3124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3126
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
3127
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.724680"], ["updated_at", "2015-02-18 15:19:46.724680"]]
|
|
3128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3129
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3130
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3131
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3132
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("uid", "provider", "name", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["provider", "bookingsync"], ["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["created_at", "2015-02-18 15:19:46.728176"], ["updated_at", "2015-02-18 15:19:46.728176"]]
|
|
3133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3134
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
357
3135
|
[1m[35m (0.1ms)[0m begin transaction
|
|
358
|
-
[1m[36m (0.
|
|
359
|
-
[1m[
|
|
360
|
-
[1m[
|
|
3136
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3137
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1
|
|
3138
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.733306"], ["updated_at", "2015-02-18 15:19:46.733306"]]
|
|
3139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3141
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3142
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 15:19:46.736163"], ["updated_at", "2015-02-18 15:19:46.736163"]]
|
|
3143
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3144
|
+
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1[0m [["uid", 123], ["provider", "bookingsync"]]
|
|
3145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3146
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1[0m
|
|
3147
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 15:19:46.740351"], ["id", 2]]
|
|
3148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3149
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
3150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3152
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
3153
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.744612"], ["updated_at", "2015-02-18 15:19:46.744612"]]
|
|
3154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3155
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3156
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
3157
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 15:19:46.746686"], ["updated_at", "2015-02-18 15:19:46.746686"]]
|
|
3158
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3159
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3160
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3161
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
3162
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 15:19:46.750189"], ["id", 2]]
|
|
3163
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3164
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
3165
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
3166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3168
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 456 LIMIT 1[0m
|
|
3169
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 456], ["created_at", "2015-02-18 15:19:46.756028"], ["updated_at", "2015-02-18 15:19:46.756028"]]
|
|
3170
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3171
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3172
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
3173
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["provider", "bookingsync"], ["uid", 123], ["created_at", "2015-02-18 15:19:46.758254"], ["updated_at", "2015-02-18 15:19:46.758254"]]
|
|
3174
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3175
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."uid" = ? AND "accounts"."provider" = ? LIMIT 1 [["uid", 123], ["provider", "bookingsync"]]
|
|
3176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3177
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 2) LIMIT 1
|
|
3178
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "accounts" SET "name" = ?, "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["name", "business name"], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh token"], ["oauth_expires_at", "expires at"], ["updated_at", "2015-02-18 15:19:46.760981"], ["id", 2]]
|
|
3179
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3180
|
+
[1m[36mAccount Load (0.0ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
|
3181
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
3182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3184
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" IS NULL LIMIT 1[0m
|
|
3185
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["oauth_access_token", "token"], ["oauth_refresh_token", "refresh"], ["oauth_expires_at", "expires"], ["created_at", "2015-02-18 15:19:46.764598"], ["updated_at", "2015-02-18 15:19:46.764598"]]
|
|
3186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3188
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" IS NULL AND "accounts"."id" != 1) LIMIT 1[0m
|
|
3189
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["oauth_access_token", nil], ["oauth_refresh_token", nil], ["oauth_expires_at", nil], ["updated_at", "2015-02-18 15:19:46.767351"], ["id", 1]]
|
|
3190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3191
|
+
[1m[35mAccount Load (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
3192
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
361
3193
|
[1m[35m (0.1ms)[0m begin transaction
|
|
362
|
-
[1m[
|
|
3194
|
+
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT 1[0m
|
|
3195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3196
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("uid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uid", 0], ["created_at", "2015-02-18 15:19:46.777881"], ["updated_at", "2015-02-18 15:19:46.777881"]]
|
|
3197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3198
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 0 LIMIT 1[0m
|
|
3199
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
3200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3202
|
+
[1m[36mAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1[0m
|
|
3203
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424186386"], ["created_at", "2015-02-18 15:19:46.793543"], ["updated_at", "2015-02-18 15:19:46.793543"]]
|
|
3204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3206
|
+
[1m[36mAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1[0m
|
|
3207
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ? [["oauth_access_token", "refreshed_token"], ["oauth_refresh_token", "refreshed_refresh_token"], ["oauth_expires_at", "1424445586"], ["updated_at", "2015-02-18 15:19:46.796234"], ["id", 1]]
|
|
3208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3209
|
+
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 1]]
|
|
3210
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
363
3211
|
[1m[35m (0.1ms)[0m begin transaction
|
|
364
|
-
[1m[36m (0.0ms)[0m [
|
|
365
|
-
[1m[
|
|
366
|
-
[1m[
|
|
3212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3213
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3214
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424186386"], ["created_at", "2015-02-18 15:19:46.800853"], ["updated_at", "2015-02-18 15:19:46.800853"]]
|
|
3215
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3217
|
+
[1m[35mAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "accounts" WHERE ("accounts"."uid" = 123 AND "accounts"."id" != 1) LIMIT 1
|
|
3218
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "accounts" SET "oauth_access_token" = ?, "oauth_refresh_token" = ?, "oauth_expires_at" = ?, "updated_at" = ? WHERE "accounts"."id" = ?[0m [["oauth_access_token", "refreshed_token"], ["oauth_refresh_token", "refreshed_refresh_token"], ["oauth_expires_at", "1424445586"], ["updated_at", "2015-02-18 15:19:46.804649"], ["id", 1]]
|
|
3219
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3220
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
3221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3223
|
+
[1m[35mAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "accounts" WHERE "accounts"."uid" = 123 LIMIT 1
|
|
3224
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("uid", "oauth_access_token", "oauth_refresh_token", "oauth_expires_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["uid", 123], ["oauth_access_token", "token"], ["oauth_refresh_token", "refresh_token"], ["oauth_expires_at", "1424359186"], ["created_at", "2015-02-18 15:19:46.810239"], ["updated_at", "2015-02-18 15:19:46.810239"]]
|
|
3225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3226
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
3227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3228
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
367
3229
|
[1m[35m (0.1ms)[0m begin transaction
|
|
368
3230
|
Processing by AuthenticatedController#index as JS
|
|
3231
|
+
Rendered text template (0.0ms)
|
|
369
3232
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
370
|
-
Completed 401 Unauthorized in
|
|
3233
|
+
Completed 401 Unauthorized in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
|
371
3234
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
372
3235
|
[1m[35m (0.1ms)[0m begin transaction
|
|
373
3236
|
Processing by AuthenticatedController#index as JS
|
|
3237
|
+
Rendered text template (0.0ms)
|
|
374
3238
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
375
|
-
Completed 401 Unauthorized in
|
|
3239
|
+
Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
376
3240
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
377
|
-
[1m[35m (0.
|
|
3241
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
378
3242
|
Processing by AuthenticatedController#index as HTML
|
|
379
3243
|
Redirected to http://test.host/auth/bookingsync/?account_id=
|
|
380
3244
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
381
3245
|
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
|
382
3246
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
383
|
-
[1m[35m (0.
|
|
3247
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
384
3248
|
Processing by AuthenticatedController#index as HTML
|
|
3249
|
+
Rendered text template (0.0ms)
|
|
385
3250
|
Filter chain halted as :authenticate_account! rendered or redirected
|
|
386
|
-
Completed 200 OK in 0ms (Views: 0.
|
|
3251
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
|
387
3252
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|