notifiable-rails 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifiable/active_record.rb +2 -2
- data/lib/notifiable/version.rb +1 -1
- data/spec/test_app/log/test.log +1125 -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: 3119c40d9715afb60dc3a334c2835feb8f2fed6d
|
4
|
+
data.tar.gz: 040bb172da1fd1f06ca6beaf81a3510c4c24dbcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6493e459290619029d55aa863af2bb313a515f3d86d7fa75064212266e4ded25a3dc680cd5cb5466ca42806e1a24410f25f63932fc66bd998d70793e7f34cf7
|
7
|
+
data.tar.gz: b9b9fe3513d1f36480d196b4f92a8457978791e909ca85f2b0168ed80edcb7764e7fab5e9d7e1fe16931564957b339b0a8cff85694e226f38d949d9a28405595
|
@@ -11,10 +11,10 @@ class ActiveRecord::Base
|
|
11
11
|
sqlite_bulk_insert(record_list)
|
12
12
|
when :postgresql
|
13
13
|
postgresql_bulk_insert(record_list)
|
14
|
-
when :
|
14
|
+
when :oracleenhanced
|
15
15
|
oracle_bulk_insert(record_list)
|
16
16
|
else
|
17
|
-
raise NotImplementedError, "Unknown adapter type '#{adapter_type}'"
|
17
|
+
raise NotImplementedError, "Unknown adapter type '#{adapter_type}' for ActiveRecord::Base.bulk_insert!"
|
18
18
|
end
|
19
19
|
|
20
20
|
end
|
data/lib/notifiable/version.rb
CHANGED
data/spec/test_app/log/test.log
CHANGED
@@ -294438,3 +294438,1128 @@ Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
|
|
294438
294438
|
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294439
294439
|
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294440
294440
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
294441
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
294442
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294443
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-1@example.com"]]
|
294444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294445
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294446
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294447
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294448
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
294449
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-1@example.com", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
294450
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
294451
|
+
Unpermitted parameters: user_email, device_token
|
294452
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1[0m
|
294453
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1
|
294454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294455
|
+
[1m[35mNotifiable::App Load (0.2ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 1]]
|
294456
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294458
|
+
Completed 200 OK in 25ms (Views: 0.1ms | ActiveRecord: 1.1ms)
|
294459
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
294460
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
294461
|
+
[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
|
294462
|
+
[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]]
|
294463
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
294464
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294465
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294466
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
294467
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294468
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294469
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294470
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294471
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294472
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
294473
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294474
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294475
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294476
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294477
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294478
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
294479
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294481
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294484
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "is_valid", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["is_valid", false], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294485
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294486
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294487
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294488
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294489
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294490
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-2@example.com"]]
|
294491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294492
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
294493
|
+
Parameters: {"token"=>"ABCD1", "provider"=>"mock", "app_id"=>"2", "user_email"=>"person-2@example.com", "device_token"=>{"token"=>"ABCD1", "provider"=>"mock", "app_id"=>"2"}}
|
294494
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD1' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
294495
|
+
Unpermitted parameters: user_email, device_token
|
294496
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-2@example.com' LIMIT 1[0m
|
294497
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-2@example.com' LIMIT 1
|
294498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294499
|
+
[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", 2]]
|
294500
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", "mock"], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294502
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
294503
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
294504
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
294505
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" DESC LIMIT 1[0m
|
294506
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
294507
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294508
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294509
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294510
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294511
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294512
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
294513
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294514
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294515
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294516
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294517
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294518
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294519
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294520
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294521
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
294522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294523
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294524
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
|
294525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294526
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
294527
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-3@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns"}}
|
294528
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
294529
|
+
Unpermitted parameters: user_email, device_token
|
294530
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1[0m
|
294531
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1
|
294532
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294533
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
294534
|
+
Completed 422 Unprocessable Entity in 9ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
294535
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
294536
|
+
[1m[35m (0.3ms)[0m DELETE FROM "users";
|
294537
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294538
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294539
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294540
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294541
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294542
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
294543
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294544
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294545
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294546
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294547
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294548
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294549
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294550
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294551
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
294552
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294553
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294554
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-4@example.com"]]
|
294555
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294556
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
294557
|
+
Parameters: {"id"=>"59", "user_email"=>"person-4@example.com", "device_token"=>{"id"=>"59"}}
|
294558
|
+
[1m[35mNotifiable::DeviceToken Load (0.2ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "59"]]
|
294559
|
+
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
294560
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294561
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-5@example.com"]]
|
294562
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294563
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294564
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294565
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294566
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294567
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 2]]
|
294568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294569
|
+
[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
|
294570
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2'[0m
|
294571
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
294572
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294573
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294574
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294575
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294576
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294577
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
294578
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294579
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294580
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294581
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294582
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294583
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294584
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294585
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294586
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
294587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294589
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
|
294590
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294591
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294592
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294593
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294595
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD3"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294596
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294597
|
+
[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
|
294598
|
+
Processing by Notifiable::DeviceTokensController#update as JSON
|
294599
|
+
Parameters: {"id"=>"1", "token"=>"DEF456", "user_email"=>"person-6@example.com", "device_token"=>{"id"=>"1", "token"=>"DEF456"}}
|
294600
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
294601
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
294602
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
294603
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
|
294604
|
+
Unpermitted parameters: user_email, device_token
|
294605
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1[0m
|
294606
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
|
294607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294608
|
+
[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]]
|
294609
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "notifiable_device_tokens" SET "token" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1[0m [["token", "DEF456"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294610
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294611
|
+
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
294612
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
294613
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
294614
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
294615
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294616
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294617
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
294618
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294619
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294620
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294621
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294622
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294623
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
294624
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294625
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294626
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294627
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294628
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294629
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
294630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294632
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-7@example.com"]]
|
294633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294634
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294635
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294636
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294638
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294640
|
+
[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
|
294641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294642
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-8@example.com"]]
|
294643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294644
|
+
Processing by Notifiable::DeviceTokensController#update as JSON
|
294645
|
+
Parameters: {"id"=>"1", "user_email"=>"person-8@example.com", "token"=>"ZXY987", "device_token"=>{"id"=>"1", "token"=>"ZXY987"}}
|
294646
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
294647
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
294648
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
294649
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-8@example.com' LIMIT 1
|
294650
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
294651
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
294652
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
294653
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294654
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294655
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
294656
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294657
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294658
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294659
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294660
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294661
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
294662
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294663
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294664
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294665
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294666
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294667
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
294668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294669
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294670
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-9@example.com"]]
|
294671
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
294672
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294673
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294674
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294675
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294676
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294678
|
+
[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
|
294679
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
294680
|
+
Parameters: {"token"=>"ABCD5", "provider"=>"mpns", "device_token"=>{"token"=>"ABCD5", "provider"=>"mpns"}}
|
294681
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
294682
|
+
Unpermitted parameters: device_token
|
294683
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
294684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294685
|
+
[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]]
|
294686
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_device_tokens" SET "provider" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["provider", "mpns"], ["user_id", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294687
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294688
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
294689
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
294690
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
294691
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
294692
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294693
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294694
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294695
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294696
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294697
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
294698
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294699
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294700
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294701
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294702
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294703
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294704
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294705
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294706
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
294707
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294709
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294710
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294711
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
294712
|
+
Parameters: {"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
294713
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
294714
|
+
Unpermitted parameters: device_token
|
294715
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
294716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294717
|
+
[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]]
|
294718
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294719
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294720
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
294721
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
294722
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
294723
|
+
[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]]
|
294724
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
294725
|
+
[1m[35m (0.2ms)[0m DELETE FROM "users";
|
294726
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294727
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294728
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294729
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294730
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294731
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
294732
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294733
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294734
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294735
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294736
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294737
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294738
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294739
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294740
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
294741
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294743
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-10@example.com"]]
|
294744
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294745
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294746
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294747
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
294748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294749
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294750
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294751
|
+
[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
|
294752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294753
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-11@example.com"]]
|
294754
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294755
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
294756
|
+
Parameters: {"id"=>"1", "user_email"=>"person-11@example.com", "device_token"=>{"id"=>"1"}}
|
294757
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "1"]]
|
294758
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
294759
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
294760
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1[0m
|
294761
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
294762
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
294763
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'
|
294764
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
294765
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294766
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294767
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
294768
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294769
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294770
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294771
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294772
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294773
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
294774
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294775
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294776
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294777
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294778
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294779
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
294780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294782
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-12@example.com"]]
|
294783
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294784
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294785
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294786
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294788
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD7"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294789
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294790
|
+
[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
|
294791
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
294792
|
+
Parameters: {"id"=>"1", "device_token"=>{"id"=>"1"}}
|
294793
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "1"]]
|
294794
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
294795
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
294796
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
294797
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
294798
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
294799
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7'
|
294800
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
294801
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294802
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294803
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
294804
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294805
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294806
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294807
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294808
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294809
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
294810
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294811
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294812
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294813
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294814
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294815
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
294816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
294817
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294818
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-13@example.com"]]
|
294819
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294821
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294824
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294825
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294826
|
+
[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
|
294827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294828
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294829
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294830
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
294831
|
+
Parameters: {"token"=>"ABCD8", "provider"=>"mock", "app_id"=>"2", "user_email"=>"person-13@example.com", "device_token"=>{"token"=>"ABCD8", "provider"=>"mock", "app_id"=>"2"}}
|
294832
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1[0m
|
294833
|
+
Unpermitted parameters: user_email, device_token
|
294834
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-13@example.com' LIMIT 1
|
294835
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-13@example.com' LIMIT 1[0m
|
294836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294837
|
+
[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", 2]]
|
294838
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_device_tokens" SET "app_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["app_id", 2], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294840
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
294841
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
294842
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
294843
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
294844
|
+
[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", 2]]
|
294845
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
294846
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294847
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294848
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294849
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294850
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294851
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
294852
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294853
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294854
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294855
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294856
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294857
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294858
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294859
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294860
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
294861
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294862
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294863
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-14@example.com"]]
|
294864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294865
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294866
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294867
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
294868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294869
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD9"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294871
|
+
[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
|
294872
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
294873
|
+
Parameters: {"id"=>"1", "user_email"=>"person-14@example.com", "device_token"=>{"id"=>"1"}}
|
294874
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
294875
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
294876
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
294877
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
|
294878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294879
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
|
294880
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294881
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.5ms)
|
294882
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
294883
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
294884
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294885
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294886
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
294887
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294888
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294889
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294890
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294891
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294892
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
294893
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294894
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294895
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294896
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294897
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294898
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
294899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294901
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294904
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294906
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = ? [["app_id", 1]]
|
294907
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
294908
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294909
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
294910
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
294911
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294912
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
294913
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
294914
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294915
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
294916
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
294917
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294918
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
294919
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
294920
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294921
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
294922
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
294923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
294924
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294925
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294927
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294928
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294929
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294930
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
294931
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294932
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294933
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294934
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294935
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294936
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
294937
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294938
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294939
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294940
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294941
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294942
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
294943
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294944
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294945
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
294946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
294947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294948
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
|
294949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294951
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294953
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294954
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294957
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
294959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294960
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294962
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
294963
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294964
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
294965
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294966
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
294967
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
294968
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294969
|
+
[1m[36mSQL (0.2ms)[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
294970
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
294971
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
294972
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
294973
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294974
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
294975
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
294976
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294977
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
294978
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
294979
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294980
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
294981
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
294982
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
294983
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
294984
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
294985
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
294986
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
294987
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
294988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294989
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
294990
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-16@example.com"]]
|
294991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294993
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
294994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
294995
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
294996
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "is_valid", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["is_valid", false], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
294997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
294998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294999
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295000
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295001
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295002
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295003
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295004
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
295005
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
295006
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
295007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295008
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_notifications" SET "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295010
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295011
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
295012
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295013
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295014
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295015
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295016
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295017
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295018
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295019
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295020
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295021
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295022
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295023
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295024
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295025
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295026
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
295027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295029
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-17@example.com"]]
|
295030
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295031
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295032
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295033
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295034
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295035
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295036
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295037
|
+
[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
|
295038
|
+
[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]]
|
295039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295040
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295042
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295043
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295045
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
295046
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"1", "user_email"=>"person-17@example.com", "notification"=>{}}
|
295047
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE (notification_id = '1' AND device_token_id = '1') LIMIT 1[0m
|
295048
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-17@example.com' LIMIT 1
|
295049
|
+
[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]]
|
295050
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295051
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295052
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_statuses" SET "status" = ? WHERE "notifiable_statuses"."id" = 1 [["status", -1]]
|
295053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295054
|
+
[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]]
|
295055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295056
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notifications" SET "opened_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["opened_count", 1], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295058
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.8ms)
|
295059
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295060
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1[0m
|
295061
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
295062
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295063
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295064
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295065
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295066
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295067
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295068
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295069
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295070
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295071
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295072
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295073
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295074
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295075
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295076
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295077
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295078
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
295079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295081
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-18@example.com"]]
|
295082
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295084
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295086
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295087
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295088
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295089
|
+
[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
|
295090
|
+
[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]]
|
295091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295092
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295093
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295094
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295095
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295096
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295098
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD14"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295099
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295101
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 2], ["notification_id", 1], ["status", 0]]
|
295102
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295103
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
295104
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"2", "notification"=>{}}
|
295105
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE (notification_id = '1' AND device_token_id = '2') LIMIT 1
|
295106
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
295107
|
+
[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", 2]]
|
295108
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295109
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifiable_statuses" SET "status" = ? WHERE "notifiable_statuses"."id" = 1 [["status", -1]]
|
295110
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295111
|
+
[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]]
|
295112
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295113
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notifications" SET "opened_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["opened_count", 1], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295114
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295115
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
|
295116
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295117
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1[0m
|
295118
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
295119
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295120
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
295121
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295122
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295123
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295124
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295125
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295126
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295127
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295128
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295129
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295130
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295131
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295132
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295133
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295134
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295135
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295137
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295138
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-19@example.com"]]
|
295139
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295141
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295142
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295143
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295144
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD15"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295146
|
+
[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
|
295147
|
+
[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]]
|
295148
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295149
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295152
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295155
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-20@example.com"]]
|
295156
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295157
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
295158
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"1", "user_email"=>"person-20@example.com", "notification"=>{}}
|
295159
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE (notification_id = '1' AND device_token_id = '1') LIMIT 1[0m
|
295160
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-20@example.com' LIMIT 1
|
295161
|
+
[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]]
|
295162
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295163
|
+
Filter chain halted as :check_authorisation! rendered or redirected
|
295164
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
295165
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
295166
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1
|
295167
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications"[0m
|
295168
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
295169
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
295170
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295171
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295172
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295173
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295174
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295175
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295176
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295177
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295178
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295179
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295180
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295181
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295182
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295183
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295184
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
295185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
295186
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295187
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295189
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295190
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295191
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295192
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
295193
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295194
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295195
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295196
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295197
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295198
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
295199
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295200
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295201
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295202
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295203
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295204
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
295205
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295206
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295207
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
295208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295209
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295210
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295211
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295212
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295213
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295214
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295215
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
295216
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295217
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295218
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295219
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295220
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295221
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295222
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295223
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295224
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295225
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295226
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295227
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295228
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295229
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295230
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
295231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295232
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295233
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295235
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295236
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295237
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295238
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
295239
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
295240
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295241
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295242
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295243
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295244
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295245
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295246
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295247
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295248
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
295249
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295250
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295251
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295252
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295253
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295254
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
295255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295256
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295257
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295258
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295260
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295263
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-21@example.com"]]
|
295264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295265
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295266
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295267
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295268
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295269
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD16"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295270
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295271
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
295272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295273
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295275
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
295276
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
295277
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295278
|
+
[1m[35mSQL (0.1ms)[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295279
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295280
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295281
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295282
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1
|
295283
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
295284
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295285
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295286
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295287
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295288
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295289
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295290
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295291
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295292
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295293
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295294
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295295
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295296
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295297
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295298
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
295299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295300
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295301
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295304
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295305
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295307
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-22@example.com"]]
|
295308
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295309
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295310
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295311
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295312
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295313
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD17"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295314
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295315
|
+
[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
|
295316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295317
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295319
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
295320
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
295321
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295322
|
+
[1m[35mSQL (0.1ms)[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295323
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295324
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295325
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295326
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295327
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295328
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295329
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295330
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295331
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295332
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295333
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295334
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295335
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295336
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295337
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295338
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295339
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295340
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295341
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295343
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295344
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-23@example.com"]]
|
295345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295347
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295348
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295349
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295350
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :sms], ["token", "ABCD18"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295351
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295352
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295353
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295354
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295355
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295356
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295357
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295358
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
295359
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
295360
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295361
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295362
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295363
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295364
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295365
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295366
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295367
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295368
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295369
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295370
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295371
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295372
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295373
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295374
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
295375
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295377
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295378
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295380
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295381
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295382
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295383
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "notification_id") VALUES (?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["notification_id", 1]]
|
295384
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295386
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
295387
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = ?[0m [["id", 1]]
|
295388
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? [["id", 1]]
|
295389
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295390
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295391
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
295392
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295393
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295394
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295395
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295396
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295397
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295398
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295399
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295400
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295401
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295402
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295403
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295404
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295405
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295406
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
295407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295408
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295409
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295410
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295411
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295412
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295413
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295414
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295415
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-24@example.com"]]
|
295416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295418
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295419
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295420
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295421
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD19"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295423
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
295424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295425
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295426
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295427
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
295428
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
295429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295430
|
+
[1m[35mSQL (0.1ms)[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295431
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295432
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295434
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295435
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295436
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295437
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295438
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295439
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-25@example.com"]]
|
295440
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295441
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295442
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295443
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295444
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295445
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD20"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 2]]
|
295446
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295447
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
295448
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295449
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 2], ["notification_id", 2], ["status", 0]]
|
295450
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295451
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 2]]
|
295452
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 2]]
|
295453
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295454
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 2 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295455
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295456
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295457
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses"[0m
|
295458
|
+
[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]]
|
295459
|
+
[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]]
|
295460
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
295461
|
+
[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", 2]]
|
295462
|
+
[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", 2]]
|
295463
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
295464
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295465
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295466
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295467
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295468
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295469
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295470
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
295471
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295472
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295473
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295474
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295475
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295476
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295477
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295478
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295479
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295480
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295481
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295482
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295483
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295484
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295485
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295486
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295487
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295488
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-26@example.com"]]
|
295489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295490
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295491
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295492
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295493
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295494
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD21"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 1]]
|
295495
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295496
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
295497
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295498
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-27@example.com"]]
|
295499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295500
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295501
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295502
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295503
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295504
|
+
[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", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["provider", :mock], ["token", "ABCD22"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["user_id", 2]]
|
295505
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295506
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
295507
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295508
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295509
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295511
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["device_token_id", 2], ["notification_id", 1], ["status", 0]]
|
295512
|
+
[1m[35m (31.4ms)[0m RELEASE SAVEPOINT active_record_1
|
295513
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
295514
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
295515
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295516
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", nil]]
|
295517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295518
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295519
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses"[0m
|
295520
|
+
[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]]
|
295521
|
+
[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]]
|
295522
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
295523
|
+
[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]]
|
295524
|
+
[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", 2]]
|
295525
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
295526
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295527
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295528
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295529
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295530
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295531
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295532
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295533
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295534
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295535
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295536
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295537
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295538
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295539
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295540
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295541
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
295542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295543
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295544
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295545
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295547
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Mon, 16 Jun 2014 11:10:39 UTC +00:00]]
|
295548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295549
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295550
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
295551
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295552
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295553
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295554
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295555
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295556
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
295557
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295558
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295559
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295560
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295561
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295562
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295563
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295564
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295565
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|