notifiable-rails 0.9.0 → 0.10.0
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/config/routes.rb +1 -1
- data/lib/notifiable/version.rb +1 -1
- data/spec/controllers/notification_statuses_controller_spec.rb +1 -1
- data/spec/test_app/log/test.log +1790 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf129b8713ce20a44cf5b5520ed461f836bdbd3
|
4
|
+
data.tar.gz: 751375546716c57f9f6a2609a30f371e84e24080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68f3cb42c371af8a5f3e12d6a80296c08be98b09440f62a0f5acc728bbc373fe44051f8c97f93c3ecae438ad7bd6517034d8e551bc5f429024294fe8f7df29dd
|
7
|
+
data.tar.gz: 74a22a65e1bfc8cab6404a24161ef4595552c0cc90be068908509f6e044c2cd05e417f2cf63cb361002d9b9ecaddea852d8baf6d8391310869f1d9159c0e242c
|
data/config/routes.rb
CHANGED
data/lib/notifiable/version.rb
CHANGED
@@ -15,7 +15,7 @@ describe Notifiable::NotificationStatusesController do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
it "marks a status as opened" do
|
18
|
-
|
18
|
+
put :opened, {:uuid => notification_status.uuid, :user_email => user1.email}
|
19
19
|
|
20
20
|
expect(response).to be_success
|
21
21
|
|
data/spec/test_app/log/test.log
CHANGED
@@ -189163,3 +189163,1793 @@ Completed 200 OK in 4ms (ActiveRecord: 0.6ms)
|
|
189163
189163
|
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189164
189164
|
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
189165
189165
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
189166
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
189167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189168
|
+
[1m[36mSQL (4.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189171
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189174
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-1@example.com"]]
|
189175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
189177
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189179
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189180
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD1' LIMIT 1[0m
|
189181
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189183
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1
|
189184
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189186
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "status", "uuid") VALUES (?, ?, ?)[0m [["device_token_id", 1], ["status", 200], ["uuid", "4b76cc4e-aa39-11e3-881f-665977498703"]]
|
189187
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189188
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IS NULL[0m
|
189189
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
189190
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
189191
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189192
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189193
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189194
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189195
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189196
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189197
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189198
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189199
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189200
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189201
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189202
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189203
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189204
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189205
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
189207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189208
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189210
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
189211
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" IS NULL
|
189212
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE 1=0[0m
|
189213
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
189214
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189215
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189216
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189217
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189218
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189219
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189220
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189221
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189222
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189223
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189224
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189225
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189226
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189227
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189228
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189229
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
189230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189232
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189233
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189235
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2' LIMIT 1
|
189236
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "device_id", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["device_id", "DEF456"], ["provider", :mpns], ["token", "ABCD2"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189239
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
|
189240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189241
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
189242
|
+
Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-3@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
|
189243
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
|
189244
|
+
Unpermitted parameters: user_email, device_token
|
189245
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1[0m
|
189246
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1
|
189247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189248
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
189249
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."id" != 1) LIMIT 1[0m
|
189250
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_device_tokens" SET "token" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["token", "ABC123"], ["user_id", 1], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189251
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189252
|
+
Completed 200 OK in 10ms (ActiveRecord: 0.8ms)
|
189253
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
189254
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189255
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189256
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189258
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189260
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
189261
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189262
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189263
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189264
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189265
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189266
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189267
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189268
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189269
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189270
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189271
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189272
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189273
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189274
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189275
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
189276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
189277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189278
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-4@example.com"]]
|
189279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189281
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189282
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189283
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189284
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3' LIMIT 1[0m
|
189285
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD3"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189286
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189287
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189288
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189289
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-5@example.com"]]
|
189290
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189291
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
189292
|
+
Parameters: {"token"=>"ABCD3", "user_email"=>"person-5@example.com", "device_token"=>{"token"=>"ABCD3"}}
|
189293
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-5@example.com' LIMIT 1
|
189294
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
189295
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
189296
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-5@example.com' LIMIT 1[0m
|
189297
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
189298
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3'
|
189299
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189300
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189301
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189302
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189303
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189304
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189305
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189306
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189307
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189308
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189309
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189310
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189311
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189312
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189313
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189314
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189317
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-6@example.com"]]
|
189318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189319
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
189320
|
+
Parameters: {"token"=>"ZXY987", "user_email"=>"person-6@example.com", "device_token"=>{"token"=>"ZXY987"}}
|
189321
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1[0m
|
189322
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ZXY987' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189323
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
|
189324
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189325
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-7@example.com"]]
|
189326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189331
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' LIMIT 1
|
189332
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 2]]
|
189333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189334
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
189335
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4'
|
189336
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
189337
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189338
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189339
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189340
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189341
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189342
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189343
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189344
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189345
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189346
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189347
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189348
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189349
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189350
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189351
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
189352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189353
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189354
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-8@example.com"]]
|
189355
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189356
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189357
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189358
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189359
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
189360
|
+
Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-8@example.com", "provider"=>"mpns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456", "app_id"=>"1"}}
|
189361
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
|
189362
|
+
Unpermitted parameters: user_email, device_token
|
189363
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-8@example.com' LIMIT 1[0m
|
189364
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-8@example.com' LIMIT 1
|
189365
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189366
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
189367
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1[0m
|
189368
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "device_id", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["device_id", "DEF456"], ["provider", "mpns"], ["token", "ABC123"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189369
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189370
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.6ms)
|
189371
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
189372
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189373
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189374
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189375
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
189376
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189377
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
189378
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
189379
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189380
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
189381
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
189382
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189383
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
189384
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
189385
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189386
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
189387
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notification_statuses";
|
189388
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189389
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
189390
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
189391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
189392
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189393
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-9@example.com"]]
|
189394
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189395
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
189396
|
+
Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-9@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
|
189397
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
|
189398
|
+
Unpermitted parameters: user_email, device_token
|
189399
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-9@example.com' LIMIT 1[0m
|
189400
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-9@example.com' LIMIT 1
|
189401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189402
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
189403
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
189404
|
+
Completed 422 Unprocessable Entity in 11ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
189405
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
189406
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "users";[0m
|
189407
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189408
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189409
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
189410
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189411
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189412
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189413
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189414
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189415
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189416
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189417
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189418
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189419
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189420
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189421
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
189422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189423
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189424
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-10@example.com"]]
|
189425
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189426
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189427
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189428
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189430
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' LIMIT 1[0m
|
189431
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189432
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189433
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189434
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
189435
|
+
Parameters: {"token"=>"ABCD5", "device_token"=>{"token"=>"ABCD5"}}
|
189436
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
189437
|
+
Filter chain halted as :ensure_current_notifiable_user rendered or redirected
|
189438
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.1ms)
|
189439
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5'
|
189440
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189441
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189442
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189443
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189444
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189445
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189446
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189447
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189448
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189449
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189450
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189451
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189452
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189453
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189454
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189455
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189458
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-11@example.com"]]
|
189459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189461
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189462
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189464
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6' LIMIT 1[0m
|
189465
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189466
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189467
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189468
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
189469
|
+
Parameters: {"token"=>"ABCD6", "user_email"=>"person-11@example.com", "device_token"=>{"token"=>"ABCD6"}}
|
189470
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1[0m
|
189471
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189472
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
189473
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
|
189474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189475
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
|
189476
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189477
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
|
189478
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'
|
189479
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
189480
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189481
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189482
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189483
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189484
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189485
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189486
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189487
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189488
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189489
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189490
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189491
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189492
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189493
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189494
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
189496
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189497
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-12@example.com"]]
|
189498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189499
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189500
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189501
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189502
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
189503
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-12@example.com", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
189504
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
189505
|
+
Unpermitted parameters: user_email, device_token
|
189506
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1[0m
|
189507
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
|
189508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189509
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
189510
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1[0m
|
189511
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189512
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189513
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.6ms)
|
189514
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
189515
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189516
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189517
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189518
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
189519
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189520
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
189521
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
189522
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189523
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
189524
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
189525
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189526
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
189527
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
189528
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189529
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
189530
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
189531
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189532
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
189533
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
189534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
189535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189536
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189538
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
189539
|
+
Parameters: {"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
189540
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
189541
|
+
Unpermitted parameters: device_token
|
189542
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
189543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189544
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189545
|
+
[1m[35mNotifiable::DeviceToken Exists (0.0ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
189546
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189548
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.7ms)
|
189549
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
189550
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189551
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189552
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
189553
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189554
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189555
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189556
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189557
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189558
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189559
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189560
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189561
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189562
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
189563
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189564
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189565
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189566
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189567
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189568
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189569
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189570
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189571
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189572
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189573
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189574
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189575
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189577
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("notification_id") VALUES (?)[0m [["notification_id", 1]]
|
189578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189579
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189580
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? [["notification_id", 1]]
|
189581
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."id" = ?[0m [["id", 1]]
|
189582
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? [["id", 1]]
|
189583
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189584
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
189585
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189586
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189587
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189588
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189589
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189590
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189591
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189592
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189593
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189594
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189595
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189596
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189597
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189598
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189599
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189600
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189601
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189602
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189603
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189604
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189605
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189606
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189607
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189608
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
189609
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189610
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189611
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189612
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189613
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189614
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189615
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189616
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189617
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189618
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189619
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189620
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189621
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189622
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189623
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189624
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
189625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189627
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189628
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189629
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189630
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189631
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189632
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
189633
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189634
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189635
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189636
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189637
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189638
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189639
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189640
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189641
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189642
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189643
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189644
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189645
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189646
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189647
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189648
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
189649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189651
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189652
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189653
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189654
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-13@example.com"]]
|
189655
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189656
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189657
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189658
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189660
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7' LIMIT 1
|
189661
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :sms], ["token", "ABCD7"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189663
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
189664
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189666
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189667
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 3], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189668
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189669
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
189670
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
189671
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
189672
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189673
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189674
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189675
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189676
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189677
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189678
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189679
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189680
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189681
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189682
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189683
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189684
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189685
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189686
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189689
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189690
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189691
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
189692
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189693
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189694
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189696
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189697
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189698
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189699
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-14@example.com"]]
|
189700
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189701
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189702
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189703
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189704
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189705
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' LIMIT 1[0m
|
189706
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189707
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189708
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
189709
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189710
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189711
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189713
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 4], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189714
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189715
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189716
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
|
189717
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189718
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189719
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189722
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9' LIMIT 1
|
189723
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 5], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD9"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 2]]
|
189724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189725
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
189726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189727
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 200], ["uuid", "4b9af79a-aa39-11e3-8880-90a6c4789f3d"]]
|
189728
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189729
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189730
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 2], ["notification_id", 2], ["status", 200], ["uuid", "4b9c0356-aa39-11e3-8f9e-988cf26293dd"]]
|
189731
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189732
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1, 2)
|
189733
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
189734
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 1]]
|
189735
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
189736
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
189737
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["params", nil]]
|
189738
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189739
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 2]]
|
189740
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 2]]
|
189741
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189742
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 4]]
|
189743
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 2[0m [["sent_count", 1], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["params", nil]]
|
189744
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189745
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
189746
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
|
189747
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m [["id", 1]]
|
189748
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
189749
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189750
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
|
189751
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
189752
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
189753
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189754
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189755
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189756
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189757
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189758
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189759
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189760
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189761
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189762
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189763
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189764
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189765
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189766
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189767
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189768
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189771
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189773
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
189774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189775
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189778
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189780
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189781
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-16@example.com"]]
|
189782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189783
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189784
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189787
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD10' LIMIT 1[0m
|
189788
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 1]]
|
189789
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189790
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
189791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189792
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
|
189793
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189795
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00]]
|
189796
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189798
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD11' LIMIT 1
|
189799
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 4], ["created_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["user_id", 2]]
|
189800
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189801
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
189802
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189803
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 200], ["uuid", "4ba02dd2-aa39-11e3-8642-a3c24d01e03f"]]
|
189804
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189805
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189806
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 2], ["notification_id", 1], ["status", 200], ["uuid", "4ba0d688-aa39-11e3-82dd-4766024ba0c2"]]
|
189807
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189808
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1, 1)
|
189809
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
189810
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 1]]
|
189811
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189812
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
189813
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 2], ["updated_at", Wed, 12 Mar 2014 22:54:40 UTC +00:00], ["params", nil]]
|
189814
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189815
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
189816
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
|
189817
|
+
[1m[36mNotifiable::Notification Load (0.0ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m [["id", 1]]
|
189818
|
+
[1m[35mNotifiable::DeviceToken Load (0.0ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
189819
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189820
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
|
189821
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
189822
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
189823
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
189824
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189825
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189826
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189827
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189828
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189829
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189830
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189831
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189832
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189833
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189834
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189835
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189836
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189837
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189838
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-18@example.com"]]
|
189842
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189843
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189844
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189846
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189847
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' LIMIT 1[0m
|
189848
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["user_id", 1]]
|
189849
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189850
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
189851
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189852
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189853
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189854
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189855
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189856
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "4b5a8732-aa39-11e3-951a-6421ffb45b9a"]]
|
189857
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189858
|
+
Processing by Notifiable::NotificationStatusesController#opened as JSON
|
189859
|
+
Parameters: {"uuid"=>"4b5a8732-aa39-11e3-951a-6421ffb45b9a", "user_email"=>"person-18@example.com", "notification_status"=>{"uuid"=>"4b5a8732-aa39-11e3-951a-6421ffb45b9a"}}
|
189860
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-18@example.com' LIMIT 1
|
189861
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."uuid" = '4b5a8732-aa39-11e3-951a-6421ffb45b9a' LIMIT 1[0m
|
189862
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-18@example.com' LIMIT 1
|
189863
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 1]]
|
189864
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
189865
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189866
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notification_statuses" SET "status" = ?, "uuid" = ? WHERE "notifiable_notification_statuses"."id" = 1 [["status", -1], ["uuid", nil]]
|
189867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189868
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
|
189869
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189870
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_notifications" SET "opened_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["opened_count", 1], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil]]
|
189871
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189872
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.8ms)
|
189873
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
189874
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" ORDER BY "notifiable_notification_statuses"."id" ASC LIMIT 1[0m
|
189875
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
189876
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
189877
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
189878
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189879
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
189880
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
189881
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189882
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
189883
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
189884
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189885
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
189886
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
189887
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189888
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
189889
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
189890
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189891
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
189892
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
189893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
189894
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
189895
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-19@example.com"]]
|
189896
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189898
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189899
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189900
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189901
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13' LIMIT 1
|
189902
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["user_id", 1]]
|
189903
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189904
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
189905
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
189906
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
189907
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189908
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189909
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189910
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "4b5a8732-aa39-11e3-951a-6421ffb45b9a"]]
|
189911
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189912
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189913
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-20@example.com"]]
|
189914
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189915
|
+
Processing by Notifiable::NotificationStatusesController#opened as JSON
|
189916
|
+
Parameters: {"uuid"=>"4b5a8732-aa39-11e3-951a-6421ffb45b9a", "user_email"=>"person-20@example.com", "notification_status"=>{"uuid"=>"4b5a8732-aa39-11e3-951a-6421ffb45b9a"}}
|
189917
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-20@example.com' LIMIT 1
|
189918
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."uuid" = '4b5a8732-aa39-11e3-951a-6421ffb45b9a' LIMIT 1[0m
|
189919
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-20@example.com' LIMIT 1
|
189920
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 1]]
|
189921
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
189922
|
+
Filter chain halted as :check_authorisation! rendered or redirected
|
189923
|
+
Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
|
189924
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
189925
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" ORDER BY "notifiable_notification_statuses"."id" ASC LIMIT 1
|
189926
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications"[0m
|
189927
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
189928
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
189929
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189930
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
189931
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
189932
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189933
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
189934
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
189935
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189936
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
189937
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
189938
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189939
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
189940
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
189941
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189942
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
189943
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
189944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
189945
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189946
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-21@example.com"]]
|
189947
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189948
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189949
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189950
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189952
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD14' LIMIT 1[0m
|
189953
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD14"], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["user_id", 1]]
|
189954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189956
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189957
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
189958
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
189959
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
189960
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189961
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
189962
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
189963
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189964
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
189965
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
189966
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189967
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
189968
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
189969
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
189970
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
189971
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notification_statuses";
|
189972
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
189973
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
189974
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
189975
|
+
[1m[35m (0.0ms)[0m begin transaction
|
189976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189977
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-22@example.com"]]
|
189978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189980
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189983
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD15' LIMIT 1
|
189984
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD15"], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["user_id", 1]]
|
189985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189986
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
189987
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
189988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189989
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189990
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "4babccd2-aa39-11e3-89b8-7186e523d9cb"]]
|
189991
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
189992
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1)[0m
|
189993
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? [["notification_id", 1]]
|
189994
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0[0m [["notification_id", 1]]
|
189995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
189996
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
189997
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil]]
|
189998
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
189999
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
190000
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
190001
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
190002
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190003
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190004
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190005
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190006
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190007
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190008
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190009
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190010
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190011
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190012
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190013
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190014
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190015
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190016
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
190017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190018
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190019
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-23@example.com"]]
|
190020
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190021
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190022
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
190023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190025
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD16' LIMIT 1
|
190026
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD16"], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["user_id", 1]]
|
190027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190029
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00]]
|
190030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190031
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
190032
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "4bae42c8-aa39-11e3-9dd8-09128b448b9c"]]
|
190034
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190035
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1)
|
190036
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
190037
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 1]]
|
190038
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190039
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
190040
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Wed, 12 Mar 2014 22:54:41 UTC +00:00], ["params", nil]]
|
190041
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190042
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
190043
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
190044
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" ORDER BY "notifiable_notification_statuses"."id" ASC LIMIT 1[0m
|
190045
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
190046
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190047
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190048
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190049
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190050
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190051
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190052
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190053
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190054
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190055
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190056
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190057
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190058
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190059
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190060
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
190061
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
190062
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190063
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-1@example.com"]]
|
190064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190065
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190066
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190067
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190068
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190069
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD1' LIMIT 1[0m
|
190070
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190071
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190072
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190073
|
+
[1m[36mNotifiable::App Load (0.2ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190074
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190075
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190077
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190078
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "41151b64-aa9a-11e3-93a5-75a0a504b835"]]
|
190079
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190080
|
+
Processing by Notifiable::NotificationStatusesController#opened as JSON
|
190081
|
+
Parameters: {"uuid"=>"41151b64-aa9a-11e3-93a5-75a0a504b835", "user_email"=>"person-1@example.com", "notification_status"=>{"uuid"=>"41151b64-aa9a-11e3-93a5-75a0a504b835"}}
|
190082
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1
|
190083
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."uuid" = '41151b64-aa9a-11e3-93a5-75a0a504b835' LIMIT 1[0m
|
190084
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1
|
190085
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 1]]
|
190086
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
190087
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190088
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notification_statuses" SET "status" = ?, "uuid" = ? WHERE "notifiable_notification_statuses"."id" = 1 [["status", -1], ["uuid", nil]]
|
190089
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190090
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
|
190091
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190092
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_notifications" SET "opened_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["opened_count", 1], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil]]
|
190093
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190094
|
+
Completed 200 OK in 9ms (ActiveRecord: 1.0ms)
|
190095
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
190096
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" ORDER BY "notifiable_notification_statuses"."id" ASC LIMIT 1[0m
|
190097
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
190098
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
190099
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
190100
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190101
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190102
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190103
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190104
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190105
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190106
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190107
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190108
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190109
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190110
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190111
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190112
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190113
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190114
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190116
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190117
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-2@example.com"]]
|
190118
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190119
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190120
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190121
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190123
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2' LIMIT 1
|
190124
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190126
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
190127
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
190128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190129
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "41151b64-aa9a-11e3-93a5-75a0a504b835"]]
|
190133
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190134
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
|
190136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190137
|
+
Processing by Notifiable::NotificationStatusesController#opened as JSON
|
190138
|
+
Parameters: {"uuid"=>"41151b64-aa9a-11e3-93a5-75a0a504b835", "user_email"=>"person-3@example.com", "notification_status"=>{"uuid"=>"41151b64-aa9a-11e3-93a5-75a0a504b835"}}
|
190139
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1
|
190140
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."uuid" = '41151b64-aa9a-11e3-93a5-75a0a504b835' LIMIT 1[0m
|
190141
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1
|
190142
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 1]]
|
190143
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
190144
|
+
Filter chain halted as :check_authorisation! rendered or redirected
|
190145
|
+
Completed 406 Not Acceptable in 3ms (ActiveRecord: 0.3ms)
|
190146
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
190147
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" ORDER BY "notifiable_notification_statuses"."id" ASC LIMIT 1
|
190148
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications"[0m
|
190149
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
190150
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
190151
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190152
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190153
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
190154
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190155
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190156
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190157
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190158
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190159
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
190160
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190161
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190162
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190163
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190164
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190165
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
190166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190168
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
190170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190171
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190174
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-4@example.com"]]
|
190175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
190176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190177
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190179
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190180
|
+
[1m[36mNotifiable::DeviceToken Exists (1.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3' LIMIT 1[0m
|
190181
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD3"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190182
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190183
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1
|
190184
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190186
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "status", "uuid") VALUES (?, ?, ?)[0m [["device_token_id", 1], ["status", 200], ["uuid", "413eda62-aa9a-11e3-9cb5-ce5aa42e7c84"]]
|
190187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190188
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IS NULL[0m
|
190189
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
190190
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
190191
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190192
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190193
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
190194
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190195
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190196
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190197
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190198
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190199
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190200
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190201
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190202
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190203
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190204
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190205
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190206
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190208
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190210
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
190211
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" IS NULL
|
190212
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE 1=0[0m
|
190213
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
190214
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
190215
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190216
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190217
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190218
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190219
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190220
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190221
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190222
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190223
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190224
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190225
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190226
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190227
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190228
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190229
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190232
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190233
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190235
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
|
190236
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190237
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190238
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190239
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190240
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190241
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' LIMIT 1
|
190242
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :sms], ["token", "ABCD4"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190245
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190248
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 3], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190250
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
190251
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
190252
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
190253
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190254
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190255
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190256
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190257
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190258
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190259
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190260
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190261
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
190262
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190263
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190264
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190265
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190266
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190267
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190270
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190272
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
190273
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190274
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190275
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190276
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190277
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190278
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-7@example.com"]]
|
190281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190283
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190286
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' LIMIT 1[0m
|
190287
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190288
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190289
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
190290
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190291
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190294
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 4], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190297
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-8@example.com"]]
|
190298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190300
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190303
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6' LIMIT 1
|
190304
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 5], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 2]]
|
190305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190306
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
190307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190308
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 200], ["uuid", "4144265c-aa9a-11e3-8c0c-80a8b3f855d0"]]
|
190309
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190311
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 2], ["notification_id", 2], ["status", 200], ["uuid", "41452fd4-aa9a-11e3-9307-15525eab537d"]]
|
190312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190313
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1, 2)
|
190314
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
190315
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 1]]
|
190316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190317
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
190318
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil]]
|
190319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190320
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 2]]
|
190321
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 2]]
|
190322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190323
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 4]]
|
190324
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 2[0m [["sent_count", 1], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil]]
|
190325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190326
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
190327
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
|
190328
|
+
[1m[36mNotifiable::Notification Load (0.0ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m [["id", 1]]
|
190329
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
190330
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190331
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
|
190332
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
190333
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
190334
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
190335
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190336
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190337
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190338
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190339
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190340
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190341
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190342
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190343
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190344
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190345
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190346
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190347
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190348
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190349
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190352
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190353
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190354
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m
|
190355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190356
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190359
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190362
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-9@example.com"]]
|
190363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190365
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190367
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190368
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7' LIMIT 1[0m
|
190369
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD7"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190371
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
190372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190373
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-10@example.com"]]
|
190374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190376
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190377
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190379
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' LIMIT 1
|
190380
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 4], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 2]]
|
190381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190382
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
190383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190384
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 200], ["uuid", "4149d0b6-aa9a-11e3-8a75-d41f29527a60"]]
|
190385
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190387
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 2], ["notification_id", 1], ["status", 200], ["uuid", "414a78f4-aa9a-11e3-84a9-af7f13f76f2f"]]
|
190388
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190389
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1, 1)
|
190390
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
190391
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 1]]
|
190392
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190393
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
190394
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 2], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil]]
|
190395
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190396
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
190397
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
|
190398
|
+
[1m[36mNotifiable::Notification Load (0.0ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m [["id", 1]]
|
190399
|
+
[1m[35mNotifiable::DeviceToken Load (0.0ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
190400
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190401
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
|
190402
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
190403
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
190404
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
190405
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190406
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190407
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190408
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190409
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190410
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190411
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190412
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190413
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190414
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190415
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190416
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190417
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190418
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190419
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
190420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190421
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190422
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-11@example.com"]]
|
190423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190425
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190426
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190427
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190428
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9' LIMIT 1[0m
|
190429
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD9"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190430
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190431
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190432
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190433
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190434
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190435
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
190436
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190437
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190438
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190439
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190440
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190441
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190442
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190443
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190444
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190445
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190446
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190447
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190448
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190449
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190450
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190451
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190453
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-12@example.com"]]
|
190454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190456
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190458
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190459
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD10' LIMIT 1
|
190460
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD10"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190462
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190463
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190464
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190465
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190466
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?)[0m [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "414ee3b2-aa9a-11e3-8d7d-84e8e97c5ebb"]]
|
190467
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190468
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1)[0m
|
190469
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? [["notification_id", 1]]
|
190470
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0[0m [["notification_id", 1]]
|
190471
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190472
|
+
[1m[36mNotifiable::App Load (0.1ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190473
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil]]
|
190474
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190475
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses"
|
190476
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
190477
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190478
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190479
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190480
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190481
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190482
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190483
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190484
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190485
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190486
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190487
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190488
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190489
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190490
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190491
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190492
|
+
[1m[36m (14.3ms)[0m [1mrollback transaction[0m
|
190493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190494
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190495
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-13@example.com"]]
|
190496
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190497
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190498
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190499
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190500
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190501
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD11' LIMIT 1
|
190502
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD11"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190503
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190505
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190506
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190507
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
190508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190509
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status", "uuid") VALUES (?, ?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 0], ["uuid", "41544de8-aa9a-11e3-986a-07c4db919302"]]
|
190510
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190511
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" IN (1)
|
190512
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
190513
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? AND "notifiable_notification_statuses"."status" = 0 [["notification_id", 1]]
|
190514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190515
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
190516
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["params", nil]]
|
190517
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
190518
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
190519
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
190520
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" ORDER BY "notifiable_notification_statuses"."id" ASC LIMIT 1[0m
|
190521
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
190522
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190523
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190524
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190525
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190526
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190527
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
190528
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190529
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190530
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190531
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190532
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190533
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190534
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190535
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190536
|
+
[1m[36m (5.9ms)[0m [1mrollback transaction[0m
|
190537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190538
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190539
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-14@example.com"]]
|
190540
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190541
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190542
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190543
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190544
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190545
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' LIMIT 1
|
190546
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190548
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
190549
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
190550
|
+
Parameters: {"token"=>"ABCD12", "user_email"=>"person-14@example.com", "device_token"=>{"token"=>"ABCD12"}}
|
190551
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
|
190552
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
190553
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
190554
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1[0m
|
190555
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190556
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ?[0m [["id", 1]]
|
190557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190558
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.6ms)
|
190559
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12'[0m
|
190560
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190561
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190562
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190563
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190564
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190565
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190566
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190567
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190568
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190569
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190570
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190571
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190572
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190573
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190574
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190575
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190577
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190578
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
|
190579
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190580
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
190581
|
+
Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-15@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
|
190582
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
|
190583
|
+
Unpermitted parameters: user_email, device_token
|
190584
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-15@example.com' LIMIT 1[0m
|
190585
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-15@example.com' LIMIT 1
|
190586
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190587
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
190588
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
190589
|
+
Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
190590
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
190591
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "users";[0m
|
190592
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190593
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190594
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
190595
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190596
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190597
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190598
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190599
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190600
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190601
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190602
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190603
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190604
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190605
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190606
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190607
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190608
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190609
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-16@example.com"]]
|
190610
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190611
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190612
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190613
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190614
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
190615
|
+
Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-16@example.com", "provider"=>"mpns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456", "app_id"=>"1"}}
|
190616
|
+
[1m[35mNotifiable::DeviceToken Load (0.2ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
|
190617
|
+
Unpermitted parameters: user_email, device_token
|
190618
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-16@example.com' LIMIT 1[0m
|
190619
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-16@example.com' LIMIT 1
|
190620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190621
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
190622
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1[0m
|
190623
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "device_id", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["device_id", "DEF456"], ["provider", "mpns"], ["token", "ABC123"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190625
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.9ms)
|
190626
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
190627
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190628
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190629
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190630
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190631
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190632
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190633
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190634
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190635
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190636
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190637
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190638
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190639
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190640
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190641
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190642
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190643
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190644
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190645
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190648
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
|
190649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190651
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190652
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190653
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190654
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13' LIMIT 1
|
190655
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["user_id", 1]]
|
190656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190657
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
190658
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190659
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-18@example.com"]]
|
190660
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190661
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
190662
|
+
Parameters: {"token"=>"ABCD13", "user_email"=>"person-18@example.com", "device_token"=>{"token"=>"ABCD13"}}
|
190663
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-18@example.com' LIMIT 1[0m
|
190664
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190665
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
190666
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-18@example.com' LIMIT 1
|
190667
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
190668
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13'[0m
|
190669
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190670
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190671
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190672
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190673
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190674
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190675
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190676
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190677
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190678
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190679
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190680
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190681
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190682
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190683
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190684
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190685
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190687
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190689
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
190690
|
+
Parameters: {"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
190691
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
190692
|
+
Unpermitted parameters: device_token
|
190693
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
190694
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190695
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190696
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
190697
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190698
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190699
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.7ms)
|
190700
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
190701
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190702
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190703
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
190704
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
190705
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190706
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190707
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190708
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190709
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190710
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190711
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190712
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190713
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190714
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190715
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190716
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190717
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190718
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190719
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190722
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190725
|
+
[1m[35mNotifiable::DeviceToken Exists (0.1ms)[0m SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD14' LIMIT 1
|
190726
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "device_id", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["device_id", "DEF456"], ["provider", :mpns], ["token", "ABCD14"], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190727
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190729
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-19@example.com"]]
|
190730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190731
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
190732
|
+
Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-19@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
|
190733
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
|
190734
|
+
Unpermitted parameters: user_email, device_token
|
190735
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-19@example.com' LIMIT 1[0m
|
190736
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-19@example.com' LIMIT 1
|
190737
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190738
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
190739
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."id" != 1) LIMIT 1[0m
|
190740
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_device_tokens" SET "token" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["token", "ABC123"], ["user_id", 1], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190741
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190742
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
|
190743
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
190744
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190745
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190746
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190748
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:44 UTC +00:00]]
|
190749
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190750
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
190751
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190752
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190753
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190754
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190755
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190756
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190757
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190758
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190759
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190760
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190761
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190762
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190763
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190764
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190765
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190767
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
190768
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-20@example.com"]]
|
190769
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190770
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190771
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190772
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190774
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD15' LIMIT 1[0m
|
190775
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["provider", :mock], ["token", "ABCD15"], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["user_id", 1]]
|
190776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190777
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190778
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
190779
|
+
Parameters: {"token"=>"ABCD15", "device_token"=>{"token"=>"ABCD15"}}
|
190780
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
190781
|
+
Filter chain halted as :ensure_current_notifiable_user rendered or redirected
|
190782
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.1ms)
|
190783
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD15'
|
190784
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
190785
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190786
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
190787
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
190788
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190789
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
190790
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
190791
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190792
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
190793
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
190794
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190795
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
190796
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notification_statuses";[0m
|
190797
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190798
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';[0m
|
190799
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
190800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190801
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190802
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-21@example.com"]]
|
190803
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190805
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190807
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
190808
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-21@example.com", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
190809
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
|
190810
|
+
Unpermitted parameters: user_email, device_token
|
190811
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-21@example.com' LIMIT 1[0m
|
190812
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-21@example.com' LIMIT 1
|
190813
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190814
|
+
[1m[35mNotifiable::App Load (0.1ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
190815
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1[0m
|
190816
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["user_id", 1]]
|
190817
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190818
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.6ms)
|
190819
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
190820
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
190821
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190822
|
+
[1m[36mNotifiable::App Load (0.0ms)[0m [1mSELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1[0m [["id", 1]]
|
190823
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190824
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190825
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190826
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190827
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190828
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190829
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190830
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190831
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190832
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190833
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190834
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190835
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190836
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190837
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190838
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
190839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190840
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190841
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-22@example.com"]]
|
190842
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190843
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
190844
|
+
Parameters: {"token"=>"ZXY987", "user_email"=>"person-22@example.com", "device_token"=>{"token"=>"ZXY987"}}
|
190845
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-22@example.com' LIMIT 1
|
190846
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ZXY987' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
190847
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
|
190848
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190849
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-23@example.com"]]
|
190850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190852
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190855
|
+
[1m[36mNotifiable::DeviceToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD16' LIMIT 1[0m
|
190856
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["provider", :mock], ["token", "ABCD16"], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["user_id", 2]]
|
190857
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190858
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
190859
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD16'[0m
|
190860
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190861
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190862
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190863
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190864
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190865
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190866
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
190867
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190868
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190869
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190870
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190871
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190872
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190873
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190874
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190875
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190877
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190878
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190879
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190880
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190881
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190882
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190883
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190884
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notification_statuses" ("notification_id") VALUES (?) [["notification_id", 1]]
|
190885
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190886
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190887
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
190888
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."id" = ? [["id", 1]]
|
190889
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ?[0m [["id", 1]]
|
190890
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190891
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notification_statuses"[0m
|
190892
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190893
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190894
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190895
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190896
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190897
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190898
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
190899
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190900
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190901
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190902
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190903
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190904
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190905
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190906
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190907
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
190909
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
190910
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190912
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190913
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190914
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190915
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
190916
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190917
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190918
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190919
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190920
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190921
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190922
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
190923
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190924
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190925
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190926
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190927
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190928
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190929
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190930
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190931
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
190932
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190933
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
190934
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190935
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
190936
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190937
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Thu, 13 Mar 2014 10:28:45 UTC +00:00]]
|
190938
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
190939
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
190940
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
190941
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190942
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
190943
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
190944
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190945
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
190946
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
190947
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190948
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
190949
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
190950
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
190951
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
190952
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notification_statuses";
|
190953
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
190954
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
|
190955
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|