panda_pal 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dae37e655c7d74466bc43b48dccc368495c2eb07
4
- data.tar.gz: 9f2c50b7640e0f76df1473af5e194388f7ae05b0
3
+ metadata.gz: 4f2c64785cc6797fc727d0b839a47e5efcf578e4
4
+ data.tar.gz: 21288fb1cfc579926c5d82f43fe13b2edeebd3d6
5
5
  SHA512:
6
- metadata.gz: 7d50f0e6d09e353f330cedf28f921fafd4317972d0622e3894b1c7d5aede506cb9de89c91d697ba4b7bfc5a44fbaa8d70fc38d582ef0107c2dc4606d66ad098e
7
- data.tar.gz: 6d425a98212ec00dd79d0c8d90e363d30616521c46be80149f9bf0573387787249a2c7da7b4a10dc08f6455c8becae962ea56acb55852e649740e736e9b3d76f
6
+ metadata.gz: 7c09c33f8663a58141a268e2e18bea957acbb70388dd470e4e1f07ae1e12f79388e6609820fa2980571b54db2079389ec67557b95e8d7f6eef2a879f7a4addf7
7
+ data.tar.gz: 062a66614b0b73430f653d0821b3739e8eda6b57e4fdbe4447082c0ccc1d9e8a8662721e426766287f3f20e0d523cdd1dd5c76508c2ff5725e36ed72f13273e6
@@ -25,9 +25,12 @@ module PandaPal::Plugins
25
25
  end
26
26
 
27
27
  lifecycle.around(:invoke_job) do |job, *args, &block|
28
- block.call(job, *args)
29
- Apartment::Tenant.switch!('public')
30
- Rails.logger.debug("Resetting Tenant back to: #{Apartment::Tenant.current}")
28
+ begin
29
+ block.call(job, *args)
30
+ ensure
31
+ Apartment::Tenant.switch!('public')
32
+ Rails.logger.debug("Resetting Tenant back to: #{Apartment::Tenant.current}")
33
+ end
31
34
  end
32
35
 
33
36
  lifecycle.after(:failure) do |job, *args|
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Young
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-19 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -210,8 +210,6 @@ files:
210
210
  - spec/dummy/db/migrate/20160415162154_create_panda_pal_sessions.panda_pal.rb
211
211
  - spec/dummy/db/schema.rb
212
212
  - spec/dummy/db/test.sqlite3
213
- - spec/dummy/log/development.log
214
- - spec/dummy/log/test.log
215
213
  - spec/dummy/public/404.html
216
214
  - spec/dummy/public/422.html
217
215
  - spec/dummy/public/500.html
@@ -242,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
240
  version: '0'
243
241
  requirements: []
244
242
  rubyforge_project:
245
- rubygems_version: 2.4.6
243
+ rubygems_version: 2.5.1
246
244
  signing_key:
247
245
  specification_version: 4
248
246
  summary: LTI mountable engine
@@ -281,8 +279,6 @@ test_files:
281
279
  - spec/dummy/db/migrate/20160415162154_create_panda_pal_sessions.panda_pal.rb
282
280
  - spec/dummy/db/schema.rb
283
281
  - spec/dummy/db/test.sqlite3
284
- - spec/dummy/log/development.log
285
- - spec/dummy/log/test.log
286
282
  - spec/dummy/public/404.html
287
283
  - spec/dummy/public/422.html
288
284
  - spec/dummy/public/500.html
@@ -1,101 +0,0 @@
1
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
9
-  (0.1ms) select sqlite_version(*)
10
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
- PandaPal::Organization Load (0.1ms) SELECT "panda_pal_organizations".* FROM "panda_pal_organizations" ORDER BY "panda_pal_organizations"."id" ASC LIMIT 1
15
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
17
-  (0.1ms) select sqlite_version(*)
18
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
- PandaPal::Organization Load (0.1ms) SELECT "panda_pal_organizations".* FROM "panda_pal_organizations" ORDER BY "panda_pal_organizations"."id" ASC LIMIT 1
24
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
28
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
31
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
33
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
34
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
35
-  (0.1ms) select sqlite_version(*)
36
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
37
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
- Migrating to CreatePandaPalOrganizations (20160415162152)
40
-  (0.1ms) begin transaction
41
-  (0.4ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
42
-  (0.1ms) select sqlite_version(*)
43
-  (0.3ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
44
-  (0.1ms) SELECT sql
45
- FROM sqlite_master
46
- WHERE name='index_panda_pal_organizations_on_name' AND type='index'
47
- UNION ALL
48
- SELECT sql
49
- FROM sqlite_temp_master
50
- WHERE name='index_panda_pal_organizations_on_name' AND type='index'
51
-
52
-  (0.1ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
53
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160415162152"]]
54
-  (1.3ms) commit transaction
55
- Migrating to CreateDelayedJobs (20160415162153)
56
-  (0.1ms) begin transaction
57
-  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
58
-  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
59
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160415162153"]]
60
-  (0.7ms) commit transaction
61
- Migrating to CreatePandaPalSessions (20160415162154)
62
-  (0.1ms) begin transaction
63
-  (0.5ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
64
-  (0.4ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
65
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160415162154"]]
66
-  (0.8ms) commit transaction
67
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
68
-  (0.1ms)  SELECT sql
69
- FROM sqlite_master
70
- WHERE name='delayed_jobs_priority' AND type='index'
71
- UNION ALL
72
- SELECT sql
73
- FROM sqlite_temp_master
74
- WHERE name='delayed_jobs_priority' AND type='index'
75
- 
76
-  (0.1ms) SELECT sql
77
- FROM sqlite_master
78
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
79
- UNION ALL
80
- SELECT sql
81
- FROM sqlite_temp_master
82
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
83
-
84
-  (0.1ms)  SELECT sql
85
- FROM sqlite_master
86
- WHERE name='index_panda_pal_organizations_on_name' AND type='index'
87
- UNION ALL
88
- SELECT sql
89
- FROM sqlite_temp_master
90
- WHERE name='index_panda_pal_organizations_on_name' AND type='index'
91
- 
92
-  (0.1ms) SELECT sql
93
- FROM sqlite_master
94
- WHERE name='index_panda_pal_sessions_on_session_key' AND type='index'
95
- UNION ALL
96
- SELECT sql
97
- FROM sqlite_temp_master
98
- WHERE name='index_panda_pal_sessions_on_session_key' AND type='index'
99
-
100
-  (0.1ms) SELECT "panda_pal_organizations"."name" FROM "panda_pal_organizations"
101
-  (0.1ms) SELECT "panda_pal_organizations"."name" FROM "panda_pal_organizations"
@@ -1,657 +0,0 @@
1
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.3ms) select sqlite_version(*)
3
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
-  (0.1ms) SELECT version FROM "schema_migrations"
5
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
6
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
-  (0.3ms) begin transaction
8
-  (0.2ms) begin transaction
9
-  (0.1ms) begin transaction
10
-  (0.0ms) begin transaction
11
-  (0.1ms) rollback transaction
12
-  (0.0ms) rollback transaction
13
-  (0.1ms) rollback transaction
14
-  (0.0ms) rollback transaction
15
-  (0.9ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
16
-  (0.1ms) select sqlite_version(*)
17
-  (0.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
18
-  (0.8ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
19
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
20
-  (0.1ms) SELECT sql
21
- FROM sqlite_master
22
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
23
- UNION ALL
24
- SELECT sql
25
- FROM sqlite_temp_master
26
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
27
-
28
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
29
-  (0.7ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
30
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
31
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
32
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33
-  (0.1ms) SELECT version FROM "schema_migrations"
34
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162154')
35
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162152')
36
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162153')
37
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
-  (0.3ms) begin transaction
39
-  (0.2ms) begin transaction
40
-  (0.2ms) begin transaction
41
-  (0.0ms) begin transaction
42
-  (0.0ms) rollback transaction
43
-  (0.0ms) rollback transaction
44
-  (0.0ms) rollback transaction
45
-  (0.0ms) rollback transaction
46
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
-  (0.1ms) begin transaction
48
-  (0.2ms) begin transaction
49
-  (0.1ms) begin transaction
50
-  (0.2ms) begin transaction
51
-  (0.1ms) SAVEPOINT active_record_1
52
- PandaPal::Organization Exists (0.5ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('dc6dc5e1788d4b098b59cdeb63c86c30') LIMIT 1
53
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('6c0fc35b017263402e03a66b2fad716e') LIMIT 1
54
- SQL (1.3ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "6c0fc35b017263402e03a66b2fad716e"], ["key", "dc6dc5e1788d4b098b59cdeb63c86c30"], ["secret", "3455a0c6cc248a969832d1162b04b981"], ["canvas_account_id", "3620"], ["created_at", "2016-04-15 16:38:40.960031"], ["updated_at", "2016-04-15 16:38:40.960031"]]
55
-  (0.1ms) RELEASE SAVEPOINT active_record_1
56
-  (0.0ms) rollback transaction
57
-  (0.4ms) rollback transaction
58
-  (0.0ms) rollback transaction
59
-  (0.0ms) rollback transaction
60
-  (0.0ms) begin transaction
61
-  (0.0ms) begin transaction
62
-  (0.0ms) begin transaction
63
-  (0.0ms) begin transaction
64
-  (0.1ms) rollback transaction
65
-  (0.0ms) rollback transaction
66
-  (0.0ms) rollback transaction
67
-  (0.0ms) rollback transaction
68
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
69
-  (0.1ms) begin transaction
70
-  (0.2ms) begin transaction
71
-  (0.1ms) begin transaction
72
-  (0.1ms) begin transaction
73
-  (0.1ms) SAVEPOINT active_record_1
74
- PandaPal::Organization Exists (0.5ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('b68e1b05235e2be3ea0661890fd91d45') LIMIT 1
75
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('8422e77479d605c93c869178049eaaca') LIMIT 1
76
- SQL (1.1ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "8422e77479d605c93c869178049eaaca"], ["key", "b68e1b05235e2be3ea0661890fd91d45"], ["secret", "012d5ae83cd15cb24f75721a5f47fea9"], ["canvas_account_id", "6012"], ["created_at", "2016-04-15 16:39:30.666666"], ["updated_at", "2016-04-15 16:39:30.666666"]]
77
-  (0.1ms) RELEASE SAVEPOINT active_record_1
78
-  (0.1ms) rollback transaction
79
-  (0.5ms) rollback transaction
80
-  (0.1ms) rollback transaction
81
-  (0.1ms) rollback transaction
82
-  (0.1ms) begin transaction
83
-  (0.0ms) begin transaction
84
-  (0.0ms) begin transaction
85
-  (0.0ms) begin transaction
86
-  (0.0ms) SAVEPOINT active_record_1
87
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('1ebaf6dd21f4bbd052a82882cb5ea310') LIMIT 1
88
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('892ef221ef5b591d554cfe9d48a735a8') LIMIT 1
89
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "892ef221ef5b591d554cfe9d48a735a8"], ["key", "1ebaf6dd21f4bbd052a82882cb5ea310"], ["secret", "bc87d2dd803d768ee058af4093c846d8"], ["canvas_account_id", "9132"], ["created_at", "2016-04-15 16:39:30.673898"], ["updated_at", "2016-04-15 16:39:30.673898"]]
90
-  (0.0ms) RELEASE SAVEPOINT active_record_1
91
-  (0.0ms) SAVEPOINT active_record_1
92
- SQL (0.2ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
93
-  (0.0ms) RELEASE SAVEPOINT active_record_1
94
-  (0.0ms) rollback transaction
95
-  (0.5ms) rollback transaction
96
-  (0.0ms) rollback transaction
97
-  (0.0ms) rollback transaction
98
-  (0.0ms) begin transaction
99
-  (0.0ms) begin transaction
100
-  (0.0ms) begin transaction
101
-  (0.0ms) begin transaction
102
-  (0.0ms) rollback transaction
103
-  (0.0ms) rollback transaction
104
-  (0.0ms) rollback transaction
105
-  (0.0ms) rollback transaction
106
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
107
-  (0.1ms) begin transaction
108
-  (0.2ms) begin transaction
109
-  (0.1ms) begin transaction
110
-  (0.1ms) begin transaction
111
-  (0.1ms) SAVEPOINT active_record_1
112
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('da7cb0ff3cc1df1cabbc0e479520049d') LIMIT 1
113
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('0d508870a8e3c225d77c1a7b54e81b75') LIMIT 1
114
- SQL (0.4ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "0d508870a8e3c225d77c1a7b54e81b75"], ["key", "da7cb0ff3cc1df1cabbc0e479520049d"], ["secret", "6c0a73b5c87d48938201c972f7696707"], ["canvas_account_id", "7875"], ["created_at", "2016-04-15 16:40:48.156189"], ["updated_at", "2016-04-15 16:40:48.156189"]]
115
-  (0.0ms) RELEASE SAVEPOINT active_record_1
116
-  (0.0ms) rollback transaction
117
-  (0.9ms) rollback transaction
118
-  (0.0ms) rollback transaction
119
-  (0.0ms) rollback transaction
120
-  (0.0ms) begin transaction
121
-  (0.0ms) begin transaction
122
-  (0.0ms) begin transaction
123
-  (0.0ms) begin transaction
124
-  (0.0ms) SAVEPOINT active_record_1
125
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('949c26286234f78cb8b83c9a2fc16343') LIMIT 1
126
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('044880f569ccbc69a48f769b7d447c1a') LIMIT 1
127
- SQL (0.4ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "044880f569ccbc69a48f769b7d447c1a"], ["key", "949c26286234f78cb8b83c9a2fc16343"], ["secret", "4b808e929cf4275e1900aa36383fb14c"], ["canvas_account_id", "2748"], ["created_at", "2016-04-15 16:40:48.161625"], ["updated_at", "2016-04-15 16:40:48.161625"]]
128
-  (0.0ms) RELEASE SAVEPOINT active_record_1
129
-  (0.0ms) SAVEPOINT active_record_1
130
- SQL (0.3ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
131
-  (0.0ms) RELEASE SAVEPOINT active_record_1
132
-  (0.0ms) rollback transaction
133
-  (0.5ms) rollback transaction
134
-  (0.0ms) rollback transaction
135
-  (0.0ms) rollback transaction
136
-  (0.0ms) begin transaction
137
-  (0.0ms) begin transaction
138
-  (0.0ms) begin transaction
139
-  (0.0ms) begin transaction
140
-  (0.1ms) rollback transaction
141
-  (0.0ms) rollback transaction
142
-  (0.0ms) rollback transaction
143
-  (0.0ms) rollback transaction
144
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
145
-  (0.1ms) begin transaction
146
-  (0.2ms) begin transaction
147
-  (0.1ms) begin transaction
148
-  (0.1ms) begin transaction
149
-  (0.0ms) SAVEPOINT active_record_1
150
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('66874b62a2edf075585d3e667a41d83a') LIMIT 1
151
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('f76965e1fdcb4b07efa8f584cdfc2eac') LIMIT 1
152
- SQL (1.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "f76965e1fdcb4b07efa8f584cdfc2eac"], ["key", "66874b62a2edf075585d3e667a41d83a"], ["secret", "cd5cbf3b439286d951a87b8e909b3fac"], ["canvas_account_id", "1645"], ["created_at", "2016-04-15 16:42:17.588418"], ["updated_at", "2016-04-15 16:42:17.588418"]]
153
-  (0.1ms) RELEASE SAVEPOINT active_record_1
154
-  (0.0ms) rollback transaction
155
-  (0.3ms) rollback transaction
156
-  (0.0ms) rollback transaction
157
-  (0.0ms) rollback transaction
158
-  (0.1ms) begin transaction
159
-  (0.0ms) begin transaction
160
-  (0.0ms) begin transaction
161
-  (0.0ms) begin transaction
162
-  (0.1ms) SAVEPOINT active_record_1
163
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('6010bb1a150cd693fe02c4d234c6ad14') LIMIT 1
164
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('df07f2ad8bc1833ec71fa0243a5b76ae') LIMIT 1
165
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "df07f2ad8bc1833ec71fa0243a5b76ae"], ["key", "6010bb1a150cd693fe02c4d234c6ad14"], ["secret", "9f3e619b7f67d4725cbc8a4f89f3d4be"], ["canvas_account_id", "321"], ["created_at", "2016-04-15 16:42:17.594331"], ["updated_at", "2016-04-15 16:42:17.594331"]]
166
-  (0.0ms) RELEASE SAVEPOINT active_record_1
167
-  (0.0ms) SAVEPOINT active_record_1
168
- SQL (0.2ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
169
-  (0.0ms) RELEASE SAVEPOINT active_record_1
170
-  (0.0ms) rollback transaction
171
-  (0.5ms) rollback transaction
172
-  (0.0ms) rollback transaction
173
-  (0.0ms) rollback transaction
174
-  (0.0ms) begin transaction
175
-  (0.0ms) begin transaction
176
-  (0.0ms) begin transaction
177
-  (0.0ms) begin transaction
178
-  (0.1ms) rollback transaction
179
-  (0.0ms) rollback transaction
180
-  (0.0ms) rollback transaction
181
-  (0.0ms) rollback transaction
182
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
-  (0.1ms) begin transaction
184
-  (0.2ms) begin transaction
185
-  (0.1ms) begin transaction
186
-  (0.1ms) begin transaction
187
-  (0.0ms) SAVEPOINT active_record_1
188
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('ce96e0022fe499d906715221052cf32c') LIMIT 1
189
- PandaPal::Organization Exists (0.3ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('58e9b911d4aa5e69adbab69569a3f55f') LIMIT 1
190
- SQL (0.9ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "58e9b911d4aa5e69adbab69569a3f55f"], ["key", "ce96e0022fe499d906715221052cf32c"], ["secret", "9374b842f12617a7d37369a5e58b04a5"], ["canvas_account_id", "6406"], ["created_at", "2016-04-15 16:43:08.546444"], ["updated_at", "2016-04-15 16:43:08.546444"]]
191
-  (0.0ms) RELEASE SAVEPOINT active_record_1
192
-  (0.0ms) rollback transaction
193
-  (0.3ms) rollback transaction
194
-  (0.0ms) rollback transaction
195
-  (0.0ms) rollback transaction
196
-  (0.0ms) begin transaction
197
-  (0.0ms) begin transaction
198
-  (0.0ms) begin transaction
199
-  (0.0ms) begin transaction
200
-  (0.0ms) rollback transaction
201
-  (0.0ms) rollback transaction
202
-  (0.0ms) rollback transaction
203
-  (0.0ms) rollback transaction
204
-  (0.0ms) begin transaction
205
-  (0.0ms) begin transaction
206
-  (0.0ms) begin transaction
207
-  (0.0ms) begin transaction
208
-  (0.1ms) rollback transaction
209
-  (0.0ms) rollback transaction
210
-  (0.0ms) rollback transaction
211
-  (0.0ms) rollback transaction
212
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
213
-  (0.1ms) begin transaction
214
-  (0.2ms) begin transaction
215
-  (0.2ms) begin transaction
216
-  (0.1ms) begin transaction
217
-  (0.1ms) SAVEPOINT active_record_1
218
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('61159c407a6726e764180a02495bf033') LIMIT 1
219
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('c05f9ba6a92a709abf08d7e7a4607646') LIMIT 1
220
- SQL (1.0ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "c05f9ba6a92a709abf08d7e7a4607646"], ["key", "61159c407a6726e764180a02495bf033"], ["secret", "f54f5bb3436d705b64a2a190c9bb4b2b"], ["canvas_account_id", "7273"], ["created_at", "2016-04-15 16:43:25.110306"], ["updated_at", "2016-04-15 16:43:25.110306"]]
221
-  (0.1ms) RELEASE SAVEPOINT active_record_1
222
-  (0.1ms) rollback transaction
223
-  (0.4ms) rollback transaction
224
-  (0.0ms) rollback transaction
225
-  (0.0ms) rollback transaction
226
-  (0.0ms) begin transaction
227
-  (0.0ms) begin transaction
228
-  (0.0ms) begin transaction
229
-  (0.0ms) begin transaction
230
-  (0.1ms) SAVEPOINT active_record_1
231
- PandaPal::Organization Exists (0.2ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('4f8a23de4b75d0f057b744cca960a25c') LIMIT 1
232
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('aba4c24b0b13849aaaf855a50c2e57d2') LIMIT 1
233
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "aba4c24b0b13849aaaf855a50c2e57d2"], ["key", "4f8a23de4b75d0f057b744cca960a25c"], ["secret", "6f35a12460cd02687a1b6162550a4fff"], ["canvas_account_id", "6441"], ["created_at", "2016-04-15 16:43:25.117205"], ["updated_at", "2016-04-15 16:43:25.117205"]]
234
-  (0.0ms) RELEASE SAVEPOINT active_record_1
235
-  (0.0ms) SAVEPOINT active_record_1
236
- SQL (0.3ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
237
-  (0.0ms) RELEASE SAVEPOINT active_record_1
238
-  (0.0ms) rollback transaction
239
-  (0.6ms) rollback transaction
240
-  (0.0ms) rollback transaction
241
-  (0.0ms) rollback transaction
242
-  (0.0ms) begin transaction
243
-  (0.0ms) begin transaction
244
-  (0.0ms) begin transaction
245
-  (0.0ms) begin transaction
246
-  (0.0ms) rollback transaction
247
-  (0.0ms) rollback transaction
248
-  (0.1ms) rollback transaction
249
-  (0.0ms) rollback transaction
250
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
251
-  (0.1ms) begin transaction
252
-  (0.2ms) begin transaction
253
-  (0.1ms) begin transaction
254
-  (0.1ms) begin transaction
255
-  (0.0ms) SAVEPOINT active_record_1
256
- PandaPal::Organization Exists (0.5ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('c4fb24bfdf083b6de921be9436e705a1') LIMIT 1
257
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('dfef9d738837b016879064bccfa37f6d') LIMIT 1
258
- SQL (1.1ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "dfef9d738837b016879064bccfa37f6d"], ["key", "c4fb24bfdf083b6de921be9436e705a1"], ["secret", "66d4df2969c9e209ef7392074679fad0"], ["canvas_account_id", "3968"], ["created_at", "2016-04-15 16:44:13.617778"], ["updated_at", "2016-04-15 16:44:13.617778"]]
259
-  (0.1ms) RELEASE SAVEPOINT active_record_1
260
-  (0.0ms) rollback transaction
261
-  (0.4ms) rollback transaction
262
-  (0.0ms) rollback transaction
263
-  (0.0ms) rollback transaction
264
-  (0.0ms) begin transaction
265
-  (0.0ms) begin transaction
266
-  (0.0ms) begin transaction
267
-  (0.0ms) begin transaction
268
-  (0.0ms) SAVEPOINT active_record_1
269
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('6baa8dbfb449159fe51656a2317ea924') LIMIT 1
270
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('e0290a65ecf8d9fbd59488465fa03009') LIMIT 1
271
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "e0290a65ecf8d9fbd59488465fa03009"], ["key", "6baa8dbfb449159fe51656a2317ea924"], ["secret", "53ce819f023f59fd2beae3bc9ae26d30"], ["canvas_account_id", "3611"], ["created_at", "2016-04-15 16:44:13.623698"], ["updated_at", "2016-04-15 16:44:13.623698"]]
272
-  (0.0ms) RELEASE SAVEPOINT active_record_1
273
-  (0.0ms) SAVEPOINT active_record_1
274
- SQL (0.2ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
275
-  (0.0ms) RELEASE SAVEPOINT active_record_1
276
-  (0.0ms) rollback transaction
277
-  (0.6ms) rollback transaction
278
-  (0.0ms) rollback transaction
279
-  (0.0ms) rollback transaction
280
-  (0.0ms) begin transaction
281
-  (0.0ms) begin transaction
282
-  (0.0ms) begin transaction
283
-  (0.0ms) begin transaction
284
-  (0.1ms) rollback transaction
285
-  (0.0ms) rollback transaction
286
-  (0.0ms) rollback transaction
287
-  (0.1ms) rollback transaction
288
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
289
-  (0.1ms) begin transaction
290
-  (0.2ms) begin transaction
291
-  (0.1ms) begin transaction
292
-  (0.2ms) begin transaction
293
-  (0.0ms) SAVEPOINT active_record_1
294
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('29fa022cf7d5491f82d41b2cdd6f2719') LIMIT 1
295
- PandaPal::Organization Exists (0.3ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('f7f775d486fb07e0f1135d19db5df2bb') LIMIT 1
296
- SQL (1.3ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "f7f775d486fb07e0f1135d19db5df2bb"], ["key", "29fa022cf7d5491f82d41b2cdd6f2719"], ["secret", "6655765d79f8fb9f748ebde9f685f5a5"], ["canvas_account_id", "875"], ["created_at", "2016-04-15 16:45:27.829624"], ["updated_at", "2016-04-15 16:45:27.829624"]]
297
-  (0.0ms) RELEASE SAVEPOINT active_record_1
298
-  (0.0ms) rollback transaction
299
-  (0.3ms) rollback transaction
300
-  (0.0ms) rollback transaction
301
-  (0.0ms) rollback transaction
302
-  (0.0ms) begin transaction
303
-  (0.0ms) begin transaction
304
-  (0.0ms) begin transaction
305
-  (0.0ms) begin transaction
306
-  (0.0ms) SAVEPOINT active_record_1
307
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('18f4ba00c3a3f1ae865d3c79ac1ae407') LIMIT 1
308
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('1581fb3cc638760352db2a375cb971e4') LIMIT 1
309
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "1581fb3cc638760352db2a375cb971e4"], ["key", "18f4ba00c3a3f1ae865d3c79ac1ae407"], ["secret", "91966814be99c25488c4ead9b0618a25"], ["canvas_account_id", "3729"], ["created_at", "2016-04-15 16:45:27.835454"], ["updated_at", "2016-04-15 16:45:27.835454"]]
310
-  (0.0ms) RELEASE SAVEPOINT active_record_1
311
-  (0.0ms) SAVEPOINT active_record_1
312
- SQL (0.2ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
313
-  (0.0ms) RELEASE SAVEPOINT active_record_1
314
-  (0.0ms) rollback transaction
315
-  (0.5ms) rollback transaction
316
-  (0.0ms) rollback transaction
317
-  (0.0ms) rollback transaction
318
-  (0.0ms) begin transaction
319
-  (0.0ms) begin transaction
320
-  (0.0ms) begin transaction
321
-  (0.0ms) begin transaction
322
-  (0.0ms) SAVEPOINT active_record_1
323
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('8835fc663ab12d5d934cfa24e9d38e53') LIMIT 1
324
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('29616f5276ec47bf14621c5ff3f6e1d5') LIMIT 1
325
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "29616f5276ec47bf14621c5ff3f6e1d5"], ["key", "8835fc663ab12d5d934cfa24e9d38e53"], ["secret", "afda4c926208b1535648e1d83ce8476e"], ["canvas_account_id", "9663"], ["created_at", "2016-04-15 16:45:27.840648"], ["updated_at", "2016-04-15 16:45:27.840648"]]
326
-  (1.0ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
327
-  (0.0ms) select sqlite_version(*)
328
-  (0.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
329
-  (0.8ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
330
-  (0.9ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
331
-  (0.1ms) SELECT sql
332
- FROM sqlite_master
333
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
334
- UNION ALL
335
- SELECT sql
336
- FROM sqlite_temp_master
337
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
338
-
339
-  (0.9ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
340
-  (0.9ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
341
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
342
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
343
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
344
-  (0.1ms) SELECT version FROM "schema_migrations"
345
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162154')
346
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162152')
347
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162153')
348
-  (0.1ms) RELEASE SAVEPOINT active_record_1
349
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."key") = LOWER('8835fc663ab12d5d934cfa24e9d38e53') AND "panda_pal_organizations"."id" != 1) LIMIT 1
350
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."name") = LOWER('test123') AND "panda_pal_organizations"."id" != 1) LIMIT 1
351
-  (0.3ms) rollback transaction
352
-  (0.1ms) rollback transaction
353
-  (0.0ms) rollback transaction
354
-  (0.0ms) begin transaction
355
-  (0.0ms) begin transaction
356
-  (0.0ms) begin transaction
357
-  (0.2ms) begin transaction
358
-  (0.1ms) rollback transaction
359
-  (0.0ms) rollback transaction
360
-  (0.0ms) rollback transaction
361
-  (0.0ms) rollback transaction
362
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
363
-  (0.3ms) begin transaction
364
-  (0.2ms) begin transaction
365
-  (0.2ms) begin transaction
366
-  (0.2ms) begin transaction
367
-  (0.0ms) SAVEPOINT active_record_1
368
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('bb61bdd66ee78cf567fdd861782381f0') LIMIT 1
369
- PandaPal::Organization Exists (0.3ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('331a96e2c3e2f7ea9d8f19c94808b90a') LIMIT 1
370
- SQL (0.9ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "331a96e2c3e2f7ea9d8f19c94808b90a"], ["key", "bb61bdd66ee78cf567fdd861782381f0"], ["secret", "c448590e3b27768fe7b017969a2e394b"], ["canvas_account_id", "7296"], ["created_at", "2016-04-15 16:53:46.997880"], ["updated_at", "2016-04-15 16:53:46.997880"]]
371
-  (0.0ms) RELEASE SAVEPOINT active_record_1
372
-  (0.0ms) rollback transaction
373
-  (0.3ms) rollback transaction
374
-  (0.0ms) rollback transaction
375
-  (0.0ms) rollback transaction
376
-  (0.0ms) begin transaction
377
-  (0.0ms) begin transaction
378
-  (0.0ms) begin transaction
379
-  (0.0ms) begin transaction
380
-  (0.0ms) SAVEPOINT active_record_1
381
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('92ebecd9a9d73ff59a92f01316faadf0') LIMIT 1
382
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('b192bb523d2a4f6267a81ffd0fc47fec') LIMIT 1
383
- SQL (0.4ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "b192bb523d2a4f6267a81ffd0fc47fec"], ["key", "92ebecd9a9d73ff59a92f01316faadf0"], ["secret", "369fec8213874dc0044f4d18021fad3c"], ["canvas_account_id", "8597"], ["created_at", "2016-04-15 16:53:47.003953"], ["updated_at", "2016-04-15 16:53:47.003953"]]
384
-  (0.0ms) RELEASE SAVEPOINT active_record_1
385
-  (0.0ms) SAVEPOINT active_record_1
386
- SQL (0.2ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
387
-  (0.0ms) RELEASE SAVEPOINT active_record_1
388
-  (0.0ms) rollback transaction
389
-  (0.6ms) rollback transaction
390
-  (0.0ms) rollback transaction
391
-  (0.0ms) rollback transaction
392
-  (0.0ms) begin transaction
393
-  (0.0ms) begin transaction
394
-  (0.0ms) begin transaction
395
-  (0.0ms) begin transaction
396
-  (0.1ms) SAVEPOINT active_record_1
397
- PandaPal::Organization Exists (0.2ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('0f5eb20c9ea77dd19ac2f26131c66d22') LIMIT 1
398
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('c82f4bd90b85aae02333ff938451498c') LIMIT 1
399
- SQL (0.3ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "c82f4bd90b85aae02333ff938451498c"], ["key", "0f5eb20c9ea77dd19ac2f26131c66d22"], ["secret", "4e3373186b2a402f0411b44cad205726"], ["canvas_account_id", "9642"], ["created_at", "2016-04-15 16:53:47.010322"], ["updated_at", "2016-04-15 16:53:47.010322"]]
400
-  (1.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
401
-  (0.0ms) select sqlite_version(*)
402
-  (0.8ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
403
-  (0.8ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
404
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
405
-  (0.1ms) SELECT sql
406
- FROM sqlite_master
407
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
408
- UNION ALL
409
- SELECT sql
410
- FROM sqlite_temp_master
411
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
412
-
413
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
414
-  (0.6ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
415
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
416
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
417
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
418
-  (0.1ms) SELECT version FROM "schema_migrations"
419
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162154')
420
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162152')
421
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162153')
422
-  (0.5ms) RELEASE SAVEPOINT active_record_1
423
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."key") = LOWER('0f5eb20c9ea77dd19ac2f26131c66d22') AND "panda_pal_organizations"."id" != 1) LIMIT 1
424
- PandaPal::Organization Exists (0.2ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."name") = LOWER('test123') AND "panda_pal_organizations"."id" != 1) LIMIT 1
425
-  (0.4ms) rollback transaction
426
-  (0.1ms) rollback transaction
427
-  (0.0ms) rollback transaction
428
-  (0.1ms) begin transaction
429
-  (0.0ms) begin transaction
430
-  (0.0ms) begin transaction
431
-  (0.2ms) begin transaction
432
-  (0.0ms) rollback transaction
433
-  (0.0ms) rollback transaction
434
-  (0.0ms) rollback transaction
435
-  (0.0ms) rollback transaction
436
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
437
-  (0.1ms) begin transaction
438
-  (0.2ms) begin transaction
439
-  (0.2ms) begin transaction
440
-  (0.2ms) begin transaction
441
-  (0.0ms) SAVEPOINT active_record_1
442
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('f9028a1383b1a0427f995c749d222ec9') LIMIT 1
443
- PandaPal::Organization Exists (0.3ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('4795c91f082c275a142936a3a922ce56') LIMIT 1
444
- SQL (0.9ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "4795c91f082c275a142936a3a922ce56"], ["key", "f9028a1383b1a0427f995c749d222ec9"], ["secret", "08cd0ad10e3bd099243eeacd0a16f01e"], ["canvas_account_id", "5836"], ["created_at", "2016-04-15 16:54:05.735655"], ["updated_at", "2016-04-15 16:54:05.735655"]]
445
-  (0.0ms) RELEASE SAVEPOINT active_record_1
446
-  (0.0ms) rollback transaction
447
-  (0.4ms) rollback transaction
448
-  (0.0ms) rollback transaction
449
-  (0.0ms) rollback transaction
450
-  (0.2ms) begin transaction
451
-  (0.0ms) begin transaction
452
-  (0.0ms) begin transaction
453
-  (0.0ms) begin transaction
454
-  (0.0ms) SAVEPOINT active_record_1
455
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('7a12e852e7f9833d99b82fb2dc28a685') LIMIT 1
456
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('83f6d1b786699e325835957b37d60251') LIMIT 1
457
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "83f6d1b786699e325835957b37d60251"], ["key", "7a12e852e7f9833d99b82fb2dc28a685"], ["secret", "53f96dccc8fde1b7d5210049df8f00aa"], ["canvas_account_id", "9985"], ["created_at", "2016-04-15 16:54:05.741973"], ["updated_at", "2016-04-15 16:54:05.741973"]]
458
-  (0.0ms) RELEASE SAVEPOINT active_record_1
459
-  (0.0ms) SAVEPOINT active_record_1
460
- SQL (0.3ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
461
-  (0.0ms) RELEASE SAVEPOINT active_record_1
462
-  (0.0ms) rollback transaction
463
-  (0.5ms) rollback transaction
464
-  (0.0ms) rollback transaction
465
-  (0.0ms) rollback transaction
466
-  (0.1ms) begin transaction
467
-  (0.0ms) begin transaction
468
-  (0.0ms) begin transaction
469
-  (0.0ms) begin transaction
470
-  (0.0ms) SAVEPOINT active_record_1
471
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('0230958a23dd9607ac041d2abea9ea9d') LIMIT 1
472
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('82f3d1ab4c0cf1bf33e9c5f152c97a45') LIMIT 1
473
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "82f3d1ab4c0cf1bf33e9c5f152c97a45"], ["key", "0230958a23dd9607ac041d2abea9ea9d"], ["secret", "32cb58fb5736e058b4672701b18de486"], ["canvas_account_id", "8995"], ["created_at", "2016-04-15 16:54:05.747657"], ["updated_at", "2016-04-15 16:54:05.747657"]]
474
-  (0.8ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
475
-  (0.1ms) select sqlite_version(*)
476
-  (0.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
477
-  (0.7ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
478
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
479
-  (0.1ms) SELECT sql
480
- FROM sqlite_master
481
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
482
- UNION ALL
483
- SELECT sql
484
- FROM sqlite_temp_master
485
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
486
-
487
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
488
-  (0.7ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
489
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
490
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
491
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
492
-  (0.2ms) SELECT version FROM "schema_migrations"
493
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162154')
494
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162152')
495
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162153')
496
-  (0.1ms) RELEASE SAVEPOINT active_record_1
497
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."key") = LOWER('0230958a23dd9607ac041d2abea9ea9d') AND "panda_pal_organizations"."id" != 1) LIMIT 1
498
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."name") = LOWER('test123') AND "panda_pal_organizations"."id" != 1) LIMIT 1
499
-  (0.3ms) rollback transaction
500
-  (0.1ms) rollback transaction
501
-  (0.1ms) rollback transaction
502
-  (0.1ms) begin transaction
503
-  (0.0ms) begin transaction
504
-  (0.0ms) begin transaction
505
-  (0.5ms) begin transaction
506
-  (0.0ms) rollback transaction
507
-  (0.0ms) rollback transaction
508
-  (0.0ms) rollback transaction
509
-  (0.0ms) rollback transaction
510
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
511
-  (0.1ms) begin transaction
512
-  (0.2ms) begin transaction
513
-  (0.1ms) begin transaction
514
-  (0.1ms) begin transaction
515
-  (0.1ms) SAVEPOINT active_record_1
516
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('b0c23d7bdd1c0cd201ad59b863c53e2d') LIMIT 1
517
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('70d3130d954d1da3ec703b66cdec5b37') LIMIT 1
518
- SQL (0.4ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "70d3130d954d1da3ec703b66cdec5b37"], ["key", "b0c23d7bdd1c0cd201ad59b863c53e2d"], ["secret", "804bb9c2d7ff1cb74d747f1ed4bafbea"], ["canvas_account_id", "8177"], ["created_at", "2016-04-15 16:54:23.545985"], ["updated_at", "2016-04-15 16:54:23.545985"]]
519
-  (0.0ms) RELEASE SAVEPOINT active_record_1
520
-  (0.0ms) rollback transaction
521
-  (0.8ms) rollback transaction
522
-  (0.0ms) rollback transaction
523
-  (0.0ms) rollback transaction
524
-  (0.0ms) begin transaction
525
-  (0.0ms) begin transaction
526
-  (0.0ms) begin transaction
527
-  (0.0ms) begin transaction
528
-  (0.0ms) SAVEPOINT active_record_1
529
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('2cb072ee71ee1058448e60da48c732e9') LIMIT 1
530
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('3b5bbda7f6528908e583d59052f9ca44') LIMIT 1
531
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "3b5bbda7f6528908e583d59052f9ca44"], ["key", "2cb072ee71ee1058448e60da48c732e9"], ["secret", "21408e69baf4b1f480aa113219c4eeb9"], ["canvas_account_id", "5829"], ["created_at", "2016-04-15 16:54:23.551298"], ["updated_at", "2016-04-15 16:54:23.551298"]]
532
-  (0.0ms) RELEASE SAVEPOINT active_record_1
533
-  (0.0ms) SAVEPOINT active_record_1
534
- SQL (0.3ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
535
-  (0.0ms) RELEASE SAVEPOINT active_record_1
536
-  (0.0ms) rollback transaction
537
-  (0.5ms) rollback transaction
538
-  (0.0ms) rollback transaction
539
-  (0.0ms) rollback transaction
540
-  (0.0ms) begin transaction
541
-  (0.0ms) begin transaction
542
-  (0.0ms) begin transaction
543
-  (0.0ms) begin transaction
544
-  (0.0ms) SAVEPOINT active_record_1
545
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('76087b6565b2904dd61b65222e32161e') LIMIT 1
546
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('17c027b7ee9a2e32f4f46a489118b96d') LIMIT 1
547
- SQL (0.3ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "17c027b7ee9a2e32f4f46a489118b96d"], ["key", "76087b6565b2904dd61b65222e32161e"], ["secret", "fd6ec38b82a306999343c7474b206ee1"], ["canvas_account_id", "8214"], ["created_at", "2016-04-15 16:54:23.556270"], ["updated_at", "2016-04-15 16:54:23.556270"]]
548
-  (1.0ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
549
-  (0.0ms) select sqlite_version(*)
550
-  (0.9ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
551
-  (0.8ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
552
-  (0.6ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
553
-  (0.1ms) SELECT sql
554
- FROM sqlite_master
555
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
556
- UNION ALL
557
- SELECT sql
558
- FROM sqlite_temp_master
559
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
560
-
561
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
562
-  (0.7ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
563
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
564
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
565
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
566
-  (0.1ms) SELECT version FROM "schema_migrations"
567
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162154')
568
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162152')
569
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162153')
570
-  (0.0ms) RELEASE SAVEPOINT active_record_1
571
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."key") = LOWER('76087b6565b2904dd61b65222e32161e') AND "panda_pal_organizations"."id" != 1) LIMIT 1
572
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."name") = LOWER('test123') AND "panda_pal_organizations"."id" != 1) LIMIT 1
573
-  (0.3ms) rollback transaction
574
-  (0.0ms) rollback transaction
575
-  (0.0ms) rollback transaction
576
-  (0.1ms) begin transaction
577
-  (0.0ms) begin transaction
578
-  (0.0ms) begin transaction
579
-  (0.3ms) begin transaction
580
-  (0.1ms) rollback transaction
581
-  (0.0ms) rollback transaction
582
-  (0.0ms) rollback transaction
583
-  (0.0ms) rollback transaction
584
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
585
-  (0.1ms) begin transaction
586
-  (0.2ms) begin transaction
587
-  (0.1ms) begin transaction
588
-  (0.1ms) begin transaction
589
-  (0.0ms) SAVEPOINT active_record_1
590
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('707ce898099bc633efa87ebb32eabac5') LIMIT 1
591
- PandaPal::Organization Exists (0.4ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('f1e44d176018d3134769232f672f8d2c') LIMIT 1
592
- SQL (1.0ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "f1e44d176018d3134769232f672f8d2c"], ["key", "707ce898099bc633efa87ebb32eabac5"], ["secret", "d3a9ae8895ea3d52250c913fd3bb36d9"], ["canvas_account_id", "3062"], ["created_at", "2016-04-15 19:07:13.924904"], ["updated_at", "2016-04-15 19:07:13.924904"]]
593
-  (0.1ms) RELEASE SAVEPOINT active_record_1
594
-  (0.0ms) rollback transaction
595
-  (0.4ms) rollback transaction
596
-  (0.0ms) rollback transaction
597
-  (0.0ms) rollback transaction
598
-  (0.0ms) begin transaction
599
-  (0.0ms) begin transaction
600
-  (0.0ms) begin transaction
601
-  (0.0ms) begin transaction
602
-  (0.0ms) SAVEPOINT active_record_1
603
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('f6fc010dc6a5b30b03933cc83efa1125') LIMIT 1
604
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('1d32fe182168a68d4fbc5e65d0fe71c9') LIMIT 1
605
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "1d32fe182168a68d4fbc5e65d0fe71c9"], ["key", "f6fc010dc6a5b30b03933cc83efa1125"], ["secret", "35e6d1d9503ffc0b2a45297db91ee13d"], ["canvas_account_id", "9877"], ["created_at", "2016-04-15 19:07:13.930546"], ["updated_at", "2016-04-15 19:07:13.930546"]]
606
-  (0.0ms) RELEASE SAVEPOINT active_record_1
607
-  (0.0ms) SAVEPOINT active_record_1
608
- SQL (0.3ms) DELETE FROM "panda_pal_organizations" WHERE "panda_pal_organizations"."id" = ? [["id", 1]]
609
-  (0.0ms) RELEASE SAVEPOINT active_record_1
610
-  (0.0ms) rollback transaction
611
-  (0.6ms) rollback transaction
612
-  (0.0ms) rollback transaction
613
-  (0.0ms) rollback transaction
614
-  (0.0ms) begin transaction
615
-  (0.0ms) begin transaction
616
-  (0.0ms) begin transaction
617
-  (0.0ms) begin transaction
618
-  (0.0ms) SAVEPOINT active_record_1
619
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."key") = LOWER('b90b1f0269e633c5ad9a4fe23508d8d0') LIMIT 1
620
- PandaPal::Organization Exists (0.0ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE LOWER("panda_pal_organizations"."name") = LOWER('f60326d86923901b6cfdb11a6d8ebd68') LIMIT 1
621
- SQL (0.2ms) INSERT INTO "panda_pal_organizations" ("name", "key", "secret", "canvas_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "f60326d86923901b6cfdb11a6d8ebd68"], ["key", "b90b1f0269e633c5ad9a4fe23508d8d0"], ["secret", "37540cbbf913f0deafc7d2d78e16d6cf"], ["canvas_account_id", "9742"], ["created_at", "2016-04-15 19:07:13.934920"], ["updated_at", "2016-04-15 19:07:13.934920"]]
622
-  (1.0ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "tenant" varchar, "created_at" datetime, "updated_at" datetime) 
623
-  (0.0ms) select sqlite_version(*)
624
-  (0.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
625
-  (0.7ms) CREATE TABLE "panda_pal_organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
626
-  (0.7ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_key" ON "panda_pal_organizations" ("key")
627
-  (0.1ms) SELECT sql
628
- FROM sqlite_master
629
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
630
- UNION ALL
631
- SELECT sql
632
- FROM sqlite_temp_master
633
- WHERE name='index_panda_pal_organizations_on_key' AND type='index'
634
-
635
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_organizations_on_name" ON "panda_pal_organizations" ("name")
636
-  (0.8ms) CREATE TABLE "panda_pal_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_key" varchar, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
637
-  (0.8ms) CREATE UNIQUE INDEX "index_panda_pal_sessions_on_session_key" ON "panda_pal_sessions" ("session_key")
638
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
639
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
640
-  (0.1ms) SELECT version FROM "schema_migrations"
641
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162154')
642
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162152')
643
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415162153')
644
-  (0.0ms) RELEASE SAVEPOINT active_record_1
645
- PandaPal::Organization Exists (0.2ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."key") = LOWER('b90b1f0269e633c5ad9a4fe23508d8d0') AND "panda_pal_organizations"."id" != 1) LIMIT 1
646
- PandaPal::Organization Exists (0.1ms) SELECT 1 AS one FROM "panda_pal_organizations" WHERE (LOWER("panda_pal_organizations"."name") = LOWER('test123') AND "panda_pal_organizations"."id" != 1) LIMIT 1
647
-  (0.5ms) rollback transaction
648
-  (0.1ms) rollback transaction
649
-  (0.0ms) rollback transaction
650
-  (0.0ms) begin transaction
651
-  (0.0ms) begin transaction
652
-  (0.0ms) begin transaction
653
-  (0.3ms) begin transaction
654
-  (0.0ms) rollback transaction
655
-  (0.0ms) rollback transaction
656
-  (0.0ms) rollback transaction
657
-  (0.0ms) rollback transaction