notifiable-rails 0.19.3 → 0.19.4
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 +15 -16
- data/lib/notifiable/version.rb +1 -1
- data/spec/active_record_spec.rb +16 -0
- data/spec/support/factories.rb +1 -0
- data/spec/test_app/log/test.log +2730 -0
- metadata +3 -1
data/spec/test_app/log/test.log
CHANGED
@@ -295563,3 +295563,2733 @@ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
|
295563
295563
|
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295564
295564
|
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295565
295565
|
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295566
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
295567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295568
|
+
[1m[36mSQL (4.2ms)[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 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295571
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295572
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295573
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
295574
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295575
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295576
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295577
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295578
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295579
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
295580
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295581
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295582
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295583
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295584
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295585
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
295586
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295587
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295588
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295590
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295591
|
+
[1m[35mSQL (0.2ms)[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 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295594
|
+
[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 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295596
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = ?[0m [["app_id", 1]]
|
295597
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
295598
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295599
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295600
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295601
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295602
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295603
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
295604
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295605
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295606
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295607
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295608
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295609
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
295610
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295611
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295612
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295613
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295615
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-1@example.com"]]
|
295616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295617
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295618
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295619
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295621
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295622
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295623
|
+
[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
|
295624
|
+
[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]]
|
295625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295626
|
+
[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 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295628
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295629
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295632
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-2@example.com"]]
|
295633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295634
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
295635
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"1", "user_email"=>"person-2@example.com", "notification"=>{}}
|
295636
|
+
[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
|
295637
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-2@example.com' LIMIT 1
|
295638
|
+
[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]]
|
295639
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295640
|
+
Filter chain halted as :check_authorisation! rendered or redirected
|
295641
|
+
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms)
|
295642
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
295643
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1
|
295644
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications"[0m
|
295645
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
295646
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
295647
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295648
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295649
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295650
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295651
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295652
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295653
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295654
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295655
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295656
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295657
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295658
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295659
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295660
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295661
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
295662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295664
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-3@example.com"]]
|
295665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295666
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295667
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295668
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295669
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295670
|
+
[1m[36mSQL (0.1ms)[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295671
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295672
|
+
[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
|
295673
|
+
[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]]
|
295674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295675
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295676
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295677
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295678
|
+
[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 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
295679
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295680
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
295681
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"1", "user_email"=>"person-3@example.com", "notification"=>{}}
|
295682
|
+
[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
|
295683
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-3@example.com' LIMIT 1
|
295684
|
+
[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]]
|
295685
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295687
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_statuses" SET "status" = ? WHERE "notifiable_statuses"."id" = 1 [["status", -1]]
|
295688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295689
|
+
[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]]
|
295690
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295691
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "notifiable_notifications" SET "opened_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["opened_count", 1], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
295692
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295693
|
+
Completed 200 OK in 28ms (ActiveRecord: 0.8ms)
|
295694
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295695
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1[0m
|
295696
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
295697
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295698
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295699
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295700
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295701
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295702
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295703
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295704
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295705
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295706
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295707
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295708
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295709
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295710
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295711
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295712
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295713
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
295714
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295716
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-4@example.com"]]
|
295717
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295718
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295719
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295722
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD3"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295723
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295724
|
+
[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
|
295725
|
+
[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]]
|
295726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295727
|
+
[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 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295728
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295729
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295730
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295731
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295732
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295733
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295734
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295735
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295736
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 2], ["notification_id", 1], ["status", 0]]
|
295737
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295738
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
295739
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"2", "notification"=>{}}
|
295740
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE (notification_id = '1' AND device_token_id = '2') LIMIT 1
|
295741
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
295742
|
+
[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]]
|
295743
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295744
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifiable_statuses" SET "status" = ? WHERE "notifiable_statuses"."id" = 1 [["status", -1]]
|
295745
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295746
|
+
[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]]
|
295747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295748
|
+
[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 14:55:37 UTC +00:00], ["params", nil]]
|
295749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295750
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
|
295751
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
295752
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1[0m
|
295753
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
295754
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
295755
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295756
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295757
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295758
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295759
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295760
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295761
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295762
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295763
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295764
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295765
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295766
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295767
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295768
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295769
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295770
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
295771
|
+
[1m[35m (0.1ms)[0m begin transaction
|
295772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295773
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-5@example.com"]]
|
295774
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295775
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295776
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295777
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295778
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295779
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295780
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295781
|
+
[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
|
295782
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295783
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
|
295784
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295785
|
+
Processing by Notifiable::DeviceTokensController#update as JSON
|
295786
|
+
Parameters: {"id"=>"1", "user_email"=>"person-6@example.com", "token"=>"ZXY987", "device_token"=>{"id"=>"1", "token"=>"ZXY987"}}
|
295787
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "1"]]
|
295788
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
295789
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295790
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1[0m
|
295791
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
295792
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
295793
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295794
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295795
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295796
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295797
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295798
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295799
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295800
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295801
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295802
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295803
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295804
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295805
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295806
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295807
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295808
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295811
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-7@example.com"]]
|
295812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295813
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
295814
|
+
Parameters: {"id"=>"59", "user_email"=>"person-7@example.com", "device_token"=>{"id"=>"59"}}
|
295815
|
+
[1m[35mNotifiable::DeviceToken Load (0.0ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "59"]]
|
295816
|
+
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
295817
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295818
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-8@example.com"]]
|
295819
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295820
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295821
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295823
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295824
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 2]]
|
295825
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295826
|
+
[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
|
295827
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'[0m
|
295828
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
295829
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295830
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295831
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295832
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295833
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295834
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295835
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295836
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295837
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295838
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295839
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295840
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
295841
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295842
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295843
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
295844
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295846
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-9@example.com"]]
|
295847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295848
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295849
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295852
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD7"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295854
|
+
[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
|
295855
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
295856
|
+
Parameters: {"id"=>"1", "user_email"=>"person-9@example.com", "device_token"=>{"id"=>"1"}}
|
295857
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
295858
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295859
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
295860
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-9@example.com' LIMIT 1
|
295861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295862
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
|
295863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295864
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.4ms)
|
295865
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
295866
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
295867
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295868
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295869
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295870
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295871
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295872
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295873
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295874
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295875
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
295876
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295877
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295878
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295879
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295880
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295881
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
295882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
295883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295884
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-10@example.com"]]
|
295885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295886
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295887
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295888
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295889
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295890
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295891
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295892
|
+
[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
|
295893
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
295894
|
+
Parameters: {"token"=>"ABCD8", "provider"=>"mpns", "device_token"=>{"token"=>"ABCD8", "provider"=>"mpns"}}
|
295895
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
295896
|
+
Unpermitted parameters: device_token
|
295897
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
295898
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295899
|
+
[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]]
|
295900
|
+
[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 14:55:37 UTC +00:00]]
|
295901
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295902
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
295903
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
295904
|
+
[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
|
295905
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
295906
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295907
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
295908
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
295909
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295910
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
295911
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
295912
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295913
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
295914
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
295915
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295916
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
295917
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
295918
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295919
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
295920
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
295921
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295922
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295923
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-11@example.com"]]
|
295924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295925
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295926
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
295927
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
295928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
295929
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD9"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
295930
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295931
|
+
[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
|
295932
|
+
Processing by Notifiable::DeviceTokensController#update as JSON
|
295933
|
+
Parameters: {"id"=>"1", "token"=>"DEF456", "user_email"=>"person-11@example.com", "device_token"=>{"id"=>"1", "token"=>"DEF456"}}
|
295934
|
+
[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"]]
|
295935
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
295936
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
295937
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
|
295938
|
+
Unpermitted parameters: user_email, device_token
|
295939
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1[0m
|
295940
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
|
295941
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295942
|
+
[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]]
|
295943
|
+
[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 14:55:37 UTC +00:00]]
|
295944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295945
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
295946
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
295947
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
295948
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
295949
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295950
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295951
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
295952
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295953
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295954
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295955
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295956
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295957
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
295958
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295959
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295960
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295961
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295962
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295963
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
295964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
295965
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295966
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-12@example.com"]]
|
295967
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295968
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
295969
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-12@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns"}}
|
295970
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1[0m
|
295971
|
+
Unpermitted parameters: user_email, device_token
|
295972
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
|
295973
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1[0m
|
295974
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295975
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
295976
|
+
Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
295977
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
295978
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "users";[0m
|
295979
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295980
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
295981
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
295982
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295983
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
295984
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
295985
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295986
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
295987
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
295988
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
295989
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
295990
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
295991
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
295992
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
295993
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
295994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
295995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
295996
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-13@example.com"]]
|
295997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
295998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295999
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296000
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296001
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296002
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296004
|
+
[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
|
296005
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-14@example.com"]]
|
296007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296008
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
296009
|
+
Parameters: {"id"=>"1", "user_email"=>"person-14@example.com", "device_token"=>{"id"=>"1"}}
|
296010
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
296011
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
296012
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
296013
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
|
296014
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
296015
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms)
|
296016
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD10'[0m
|
296017
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296018
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296019
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296020
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296021
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296022
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296023
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296024
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296025
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296026
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296027
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296028
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296029
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296030
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296031
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296032
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
296033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296034
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296035
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
|
296036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296037
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296038
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296039
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296040
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
296041
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-15@example.com", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
296042
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1[0m
|
296043
|
+
Unpermitted parameters: user_email, device_token
|
296044
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-15@example.com' LIMIT 1
|
296045
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-15@example.com' LIMIT 1[0m
|
296046
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296047
|
+
[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]]
|
296048
|
+
[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 14:55:37 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296049
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296050
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
296051
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
296052
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
296053
|
+
[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
|
296054
|
+
[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]]
|
296055
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
296056
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296057
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296058
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296059
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296060
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296061
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296062
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296063
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296064
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296065
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296066
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296067
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296068
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296069
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296070
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
296071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
296072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296073
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-16@example.com"]]
|
296074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296076
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296079
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296081
|
+
[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
|
296082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296083
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296085
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
296086
|
+
Parameters: {"token"=>"ABCD11", "provider"=>"mock", "app_id"=>"2", "user_email"=>"person-16@example.com", "device_token"=>{"token"=>"ABCD11", "provider"=>"mock", "app_id"=>"2"}}
|
296087
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD11' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
296088
|
+
Unpermitted parameters: user_email, device_token
|
296089
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-16@example.com' LIMIT 1[0m
|
296090
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-16@example.com' LIMIT 1
|
296091
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296092
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
296093
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "notifiable_device_tokens" SET "app_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1[0m [["app_id", 2], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296094
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296095
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
296096
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
296097
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296098
|
+
[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
|
296099
|
+
[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]]
|
296100
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
296101
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296102
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296103
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
296104
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296105
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296106
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296107
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296108
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296109
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
296110
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296111
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296112
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296113
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296114
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296115
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
296116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296117
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296118
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296119
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296120
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296121
|
+
[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 14:55:37 UTC +00:00], ["is_valid", false], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296124
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296127
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
|
296128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296129
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
296130
|
+
Parameters: {"token"=>"ABCD12", "provider"=>"mock", "app_id"=>"2", "user_email"=>"person-17@example.com", "device_token"=>{"token"=>"ABCD12", "provider"=>"mock", "app_id"=>"2"}}
|
296131
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
296132
|
+
Unpermitted parameters: user_email, device_token
|
296133
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-17@example.com' LIMIT 1[0m
|
296134
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-17@example.com' LIMIT 1
|
296135
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296136
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
296137
|
+
[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 14:55:37 UTC +00:00], ["provider", "mock"], ["token", "ABCD12"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296139
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
296140
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
296141
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296142
|
+
[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
|
296143
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296144
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296145
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296146
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296147
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296148
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296149
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296150
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296151
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296152
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296153
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296154
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296155
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296156
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296157
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296158
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
296159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296160
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296161
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296162
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296163
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
296164
|
+
Parameters: {"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
296165
|
+
[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
|
296166
|
+
Unpermitted parameters: device_token
|
296167
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
296168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296169
|
+
[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]]
|
296170
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296172
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
296173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
296174
|
+
[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
|
296175
|
+
[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]]
|
296176
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
296177
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296178
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296179
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296180
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296181
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296182
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296183
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296184
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296185
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296186
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296187
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296188
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296189
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296190
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296191
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296192
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
296193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296194
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296195
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-18@example.com"]]
|
296196
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296198
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296201
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296203
|
+
[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
|
296204
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
296205
|
+
Parameters: {"id"=>"1", "device_token"=>{"id"=>"1"}}
|
296206
|
+
[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"]]
|
296207
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
296208
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
296209
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
|
296210
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
296211
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
296212
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13'[0m
|
296213
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
296214
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296215
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296216
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296217
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296218
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296219
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296220
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296221
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296222
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296223
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296224
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296225
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296226
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296227
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296228
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
296229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296230
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "users";[0m
|
296231
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296232
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296233
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
296234
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296235
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296236
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296237
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296238
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296239
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
296240
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296241
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296242
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296243
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296244
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296245
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
296246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296248
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-19@example.com"]]
|
296249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296251
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296252
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296254
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "is_valid", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["is_valid", false], ["provider", :mock], ["token", "ABCD14"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296257
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296260
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296262
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
296263
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
296264
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
296265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296266
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
296267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296268
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
296269
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
296270
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296271
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296272
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296273
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296274
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296275
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296276
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296277
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296278
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296279
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296280
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296281
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296282
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296283
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296284
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
296285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296286
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296287
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-20@example.com"]]
|
296288
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296290
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296293
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD15"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296297
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296299
|
+
[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 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296301
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296302
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296303
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
296304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296305
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
296306
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
296307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296308
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
296309
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296310
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
296311
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
296312
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296313
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296314
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296315
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296316
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296317
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296318
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296319
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296320
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296321
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296322
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296323
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296324
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296325
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296326
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
296327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296328
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296329
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296332
|
+
[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 14:55:37 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296335
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "notification_id") VALUES (?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["notification_id", 1]]
|
296336
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296337
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296338
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
296339
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = ? [["id", 1]]
|
296340
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ?[0m [["id", 1]]
|
296341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296342
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
296343
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296344
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296345
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296346
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296347
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296348
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296349
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296350
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296351
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296352
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296353
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296354
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296355
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296356
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296357
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296358
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
296359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
296360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296361
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296364
|
+
[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 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296367
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-21@example.com"]]
|
296368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296370
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296371
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296373
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD16"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296375
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296376
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296377
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
296378
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296379
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
296380
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
296381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296382
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
296383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296384
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
296385
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
296386
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1[0m
|
296387
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296388
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296389
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296390
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296391
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296392
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296393
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296394
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296395
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296396
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296397
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296398
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296399
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296400
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296401
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296402
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
296403
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296404
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296405
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296408
|
+
[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 14:55:37 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296409
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296410
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
296411
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296412
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296413
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296414
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296415
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296416
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296417
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296418
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296419
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296420
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296421
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296422
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296423
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296424
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296425
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296426
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
296427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
296428
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296429
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296430
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296431
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296432
|
+
[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 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296433
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296435
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-22@example.com"]]
|
296436
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296437
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296438
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296439
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296441
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD17"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296442
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296443
|
+
[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
|
296444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296445
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
296446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296447
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
296448
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
296449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296450
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
296451
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296452
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
296453
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
296454
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
296455
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296456
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296457
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
296458
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296459
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296460
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296461
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296462
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296463
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
296464
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296465
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296466
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296467
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296468
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296469
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
296470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
296471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296472
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296475
|
+
[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 14:55:37 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296476
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296477
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
296478
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
296479
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296480
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296481
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
296482
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296483
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296484
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296485
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296486
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296487
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
296488
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296489
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296490
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296491
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296492
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296493
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
296494
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
296495
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296496
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-23@example.com"]]
|
296497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296502
|
+
[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 14:55:37 UTC +00:00], ["provider", :sms], ["token", "ABCD18"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296503
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296504
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296505
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296506
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296507
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296508
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296510
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
296511
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
296512
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296513
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296514
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296515
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296516
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296517
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296518
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296519
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296520
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296521
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296522
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296523
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296524
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296525
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296526
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
296527
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296528
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296529
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296530
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296532
|
+
[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 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296533
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296535
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-24@example.com"]]
|
296536
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296537
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296538
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296539
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296540
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296541
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD19"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296542
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296543
|
+
[1m[35mNotifiable::DeviceToken Load (0.2ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296544
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296545
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-25@example.com"]]
|
296546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296548
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296549
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296551
|
+
[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD20"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 2]]
|
296552
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296553
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
296554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296555
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
296556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296557
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296558
|
+
[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 14:55:37 UTC +00:00], ["device_token_id", 2], ["notification_id", 1], ["status", 0]]
|
296559
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296560
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
296561
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
296562
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296563
|
+
[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 14:55:37 UTC +00:00], ["params", nil]]
|
296564
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296565
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
296566
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses"[0m
|
296567
|
+
[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]]
|
296568
|
+
[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]]
|
296569
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296570
|
+
[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]]
|
296571
|
+
[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]]
|
296572
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
296573
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
296574
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296575
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296576
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296577
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296578
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296579
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296580
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296581
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296582
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296583
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296584
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296585
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296586
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296587
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296588
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
296589
|
+
[1m[35m (0.1ms)[0m begin transaction
|
296590
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296591
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296594
|
+
[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 14:55:37 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296596
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296597
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-26@example.com"]]
|
296598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296599
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296600
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296601
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296603
|
+
[1m[35mSQL (0.1ms)[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 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD21"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 1]]
|
296604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296605
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
296606
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296607
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
296608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296609
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
296610
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
296611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296612
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
296613
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296614
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296615
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296617
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296618
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 3], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296621
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-27@example.com"]]
|
296622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296624
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296625
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296627
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["provider", :mock], ["token", "ABCD22"], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["user_id", 2]]
|
296628
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296629
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
296630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296631
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["device_token_id", 2], ["notification_id", 2], ["status", 0]]
|
296632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296633
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 2]]
|
296634
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 2]]
|
296635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296636
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 2[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00], ["params", nil]]
|
296637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296638
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
296639
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses"
|
296640
|
+
[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]]
|
296641
|
+
[1m[35mNotifiable::DeviceToken Load (0.0ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
296642
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
296643
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
|
296644
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
296645
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
296646
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
296647
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296648
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296649
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
296650
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296651
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296652
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296653
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296654
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296655
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
296656
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296657
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296658
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296659
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296660
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296661
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
296662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296664
|
+
[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 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296666
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296667
|
+
[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 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296668
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296669
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296670
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296671
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296672
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296673
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296674
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296675
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296676
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296677
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296678
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296679
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296680
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296681
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
296682
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296683
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296684
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
296685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
296686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296687
|
+
[1m[35mSQL (0.2ms)[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 14:55:37 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296690
|
+
[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 14:55:37 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:37 UTC +00:00]]
|
296691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296692
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
296693
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296694
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296695
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
296696
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296697
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296698
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296699
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296700
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296701
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
296702
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296703
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296704
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296705
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296706
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296707
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
296708
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
296709
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296710
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:55:57 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:55:57 UTC +00:00]]
|
296711
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296713
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 14:55:57 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:55:57 UTC +00:00]]
|
296714
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296715
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296716
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_statuses" ("created_at", "notification_id", "status") VALUES (?, ?, ?)[0m [["created_at", Mon, 16 Jun 2014 14:55:57 UTC +00:00], ["notification_id", 1], ["status", 0]]
|
296717
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296718
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
296719
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296720
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
296721
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
296722
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296723
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
296724
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
296725
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296726
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
296727
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
296728
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296729
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
296730
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
296731
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296732
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
296733
|
+
[1m[35m (6.7ms)[0m rollback transaction
|
296734
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296736
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 14:59:29 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 14:59:29 UTC +00:00]]
|
296737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296738
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296739
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 14:59:29 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 14:59:29 UTC +00:00]]
|
296740
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296741
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296742
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296743
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296744
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296745
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296746
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296747
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296748
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296749
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296750
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296751
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296752
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296753
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296754
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296755
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296756
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
296757
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296759
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:00:35 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:00:35 UTC +00:00]]
|
296760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296761
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296762
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:00:35 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:00:35 UTC +00:00]]
|
296763
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296764
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296765
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296766
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296767
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296768
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296769
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296770
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296771
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296772
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296773
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296774
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296775
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296776
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296777
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296778
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296779
|
+
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
296780
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296782
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00]]
|
296783
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296784
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
296785
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00]]
|
296786
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296787
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
296788
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00]]
|
296789
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296791
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:01:44 UTC +00:00]]
|
296792
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296793
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296794
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296795
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296796
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296797
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296798
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296799
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296800
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296801
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296802
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296803
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296804
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296805
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296806
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296807
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296808
|
+
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
296809
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296810
|
+
[1m[35m (0.2ms)[0m DELETE FROM "users";
|
296811
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296812
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296813
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296814
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296815
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296816
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296817
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296818
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296819
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296820
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296821
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296822
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296823
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296824
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296825
|
+
[1m[36m (6.3ms)[0m [1mrollback transaction[0m
|
296826
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296827
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296828
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00]]
|
296829
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296831
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00]]
|
296832
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296833
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296834
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00]]
|
296835
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296836
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296837
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:02:39 UTC +00:00]]
|
296838
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296839
|
+
[1m[35m (0.2ms)[0m DELETE FROM "users";
|
296840
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296841
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296842
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296843
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296844
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296845
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296846
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296847
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296848
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296849
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296850
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296851
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296852
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296853
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296854
|
+
[1m[36m (6.4ms)[0m [1mrollback transaction[0m
|
296855
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296856
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296857
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00]]
|
296858
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296859
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296860
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00]]
|
296861
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296862
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296863
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00]]
|
296864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296866
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:02:51 UTC +00:00]]
|
296867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296868
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296869
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296870
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296871
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296872
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296873
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296874
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296875
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296876
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296877
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296878
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296879
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296880
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296881
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296882
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296883
|
+
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
296884
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
296885
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296886
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296887
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296888
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296889
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296890
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296891
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296892
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296894
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296895
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296896
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296898
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296899
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296900
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296901
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296902
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296903
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296904
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296905
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296906
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296907
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:03:28 UTC +00:00]]
|
296908
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296909
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296910
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296911
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296912
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296913
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296914
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296915
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296916
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296917
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296918
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296919
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296920
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296921
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296922
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296923
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296924
|
+
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
296925
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
296926
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296927
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296928
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296929
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296930
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296931
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296932
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296933
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296935
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296936
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296937
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296938
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296939
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296940
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296942
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296944
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296945
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
296947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296948
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:03:48 UTC +00:00]]
|
296949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296950
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296951
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296952
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296953
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296954
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296955
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296956
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
296957
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296958
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
296959
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
296960
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296961
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
296962
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
296963
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296964
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
296965
|
+
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
296966
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
296967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296968
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
296971
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296973
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296974
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296977
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296980
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296983
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296984
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296985
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
296986
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296987
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296988
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296989
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:03:52 UTC +00:00]]
|
296990
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
296991
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
296992
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296993
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
296994
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
296995
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
296996
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
296997
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
296998
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
296999
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297000
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297001
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297002
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297003
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297004
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297005
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297006
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
297007
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
297008
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297009
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297010
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297011
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297012
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297013
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297014
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297015
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297016
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297017
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297018
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297019
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297024
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297027
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297029
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297030
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:04:22 UTC +00:00]]
|
297031
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297032
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297033
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297034
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297035
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297036
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297037
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297038
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297039
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297040
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297041
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297042
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297043
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297044
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297045
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297046
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297047
|
+
[1m[36m (6.7ms)[0m [1mrollback transaction[0m
|
297048
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
297049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297050
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297051
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297053
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297056
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297057
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297058
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297059
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297060
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297061
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297063
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297068
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297069
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297071
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:05:19 UTC +00:00]]
|
297072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297073
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297074
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297075
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297076
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297077
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297078
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297079
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297080
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297081
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297082
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297083
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297084
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297085
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297086
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297087
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297088
|
+
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
297089
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
297090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297091
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297092
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297093
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297094
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297096
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297097
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297098
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297099
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297101
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297103
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297104
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297105
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297106
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297107
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297108
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297109
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297110
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297111
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297112
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:06:13 UTC +00:00]]
|
297113
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297114
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297115
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297116
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297117
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297118
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297119
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297120
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297121
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297122
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297123
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297124
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297125
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297126
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297127
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297128
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297129
|
+
[1m[36m (6.5ms)[0m [1mrollback transaction[0m
|
297130
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
297131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297132
|
+
[1m[36mSQL (2.7ms)[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 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297134
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297135
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297137
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297138
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297139
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297140
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297141
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297142
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297143
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
297144
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297145
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297146
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297147
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297148
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297149
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297150
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297151
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297152
|
+
[1m[36m (6.6ms)[0m [1mrollback transaction[0m
|
297153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297154
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297155
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297157
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297158
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?)[0m [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297159
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297160
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297161
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297162
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297163
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297164
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297165
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297166
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297167
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297168
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297169
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
297170
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297171
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297172
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297173
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297174
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297175
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297176
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297177
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297178
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-1@example.com"]]
|
297179
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297181
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297184
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD1"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297186
|
+
[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
|
297187
|
+
Processing by Notifiable::DeviceTokensController#update as JSON
|
297188
|
+
Parameters: {"id"=>"1", "token"=>"DEF456", "user_email"=>"person-1@example.com", "device_token"=>{"id"=>"1", "token"=>"DEF456"}}
|
297189
|
+
[1m[35mNotifiable::DeviceToken Load (0.2ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "1"]]
|
297190
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
297191
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
297192
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1[0m
|
297193
|
+
Unpermitted parameters: id, user_email, device_token
|
297194
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1
|
297195
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-1@example.com' LIMIT 1[0m
|
297196
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297197
|
+
[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]]
|
297198
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "notifiable_device_tokens" SET "token" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["token", "DEF456"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297199
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297200
|
+
Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 1.1ms)
|
297201
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
297202
|
+
[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
|
297203
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297204
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297205
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297206
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297207
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297208
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297209
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297210
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297211
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297212
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297213
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297214
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297215
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297216
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297217
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297218
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
297219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
297220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297221
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297222
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297223
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
297224
|
+
Parameters: {"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
297225
|
+
[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
|
297226
|
+
Unpermitted parameters: device_token
|
297227
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
297228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297229
|
+
[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]]
|
297230
|
+
[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 15:07:17 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297232
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
297233
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
297234
|
+
[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
|
297235
|
+
[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]]
|
297236
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
297237
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297238
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297239
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297240
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297241
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297242
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297243
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297244
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297245
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297246
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297247
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297248
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297249
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297250
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297251
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297252
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
297253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297255
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-2@example.com"]]
|
297256
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297258
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297260
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
297261
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-2@example.com", "provider"=>"apns", "app_id"=>"1", "device_token"=>{"token"=>"ABC123", "provider"=>"apns", "app_id"=>"1"}}
|
297262
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1[0m
|
297263
|
+
Unpermitted parameters: user_email, device_token
|
297264
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-2@example.com' LIMIT 1
|
297265
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-2@example.com' LIMIT 1[0m
|
297266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297267
|
+
[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]]
|
297268
|
+
[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 15:07:17 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297269
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297270
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
297271
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
297272
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
297273
|
+
[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
|
297274
|
+
[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]]
|
297275
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297276
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297277
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297278
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297279
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297280
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297281
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297282
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297283
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297284
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297285
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297286
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297287
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297288
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297289
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297290
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
297291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297293
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
|
297294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297295
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297296
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297297
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297299
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD2"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297301
|
+
[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
|
297302
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
297303
|
+
Parameters: {"token"=>"ABCD2", "provider"=>"mpns", "device_token"=>{"token"=>"ABCD2", "provider"=>"mpns"}}
|
297304
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1[0m
|
297305
|
+
Unpermitted parameters: device_token
|
297306
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
|
297307
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297308
|
+
[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]]
|
297309
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "notifiable_device_tokens" SET "provider" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1[0m [["provider", "mpns"], ["user_id", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297310
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297311
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
297312
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
297313
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
|
297314
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297315
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297316
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297317
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297318
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297319
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297320
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297321
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297322
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297323
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297324
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297325
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297326
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297327
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297328
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297329
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297332
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-4@example.com"]]
|
297333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297335
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297336
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297337
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297338
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD3"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297339
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297340
|
+
[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
|
297341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297342
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-5@example.com"]]
|
297343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297344
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
297345
|
+
Parameters: {"id"=>"1", "user_email"=>"person-5@example.com", "device_token"=>{"id"=>"1"}}
|
297346
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
297347
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
297348
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
297349
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-5@example.com' LIMIT 1
|
297350
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
297351
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
297352
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3'[0m
|
297353
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297354
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297355
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297356
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297357
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297358
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297359
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297360
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297361
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297362
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297363
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297364
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297365
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297366
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297367
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297368
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
297369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297370
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297371
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
|
297372
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297373
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297374
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297375
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297376
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297377
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297378
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297379
|
+
[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
|
297380
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297381
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297382
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297383
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
297384
|
+
Parameters: {"token"=>"ABCD4", "provider"=>"mock", "app_id"=>"2", "user_email"=>"person-6@example.com", "device_token"=>{"token"=>"ABCD4", "provider"=>"mock", "app_id"=>"2"}}
|
297385
|
+
[1m[35mNotifiable::DeviceToken Load (0.2ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
297386
|
+
Unpermitted parameters: user_email, device_token
|
297387
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1[0m
|
297388
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
|
297389
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297390
|
+
[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]]
|
297391
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_device_tokens" SET "app_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1[0m [["app_id", 2], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297393
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
297394
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
297395
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
297396
|
+
[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
|
297397
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
297398
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297399
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297400
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297401
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297402
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297403
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297404
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297405
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297406
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297407
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297408
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297409
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297410
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297411
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297412
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297413
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297415
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297416
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-7@example.com"]]
|
297417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297418
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297419
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297422
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297424
|
+
[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
|
297425
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
297426
|
+
Parameters: {"id"=>"1", "device_token"=>{"id"=>"1"}}
|
297427
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1 [["id", "1"]]
|
297428
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
297429
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
297430
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1[0m
|
297431
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
297432
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
297433
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5'
|
297434
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297435
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297436
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297437
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297438
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297439
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297440
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297441
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297442
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297443
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297444
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297445
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297446
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297447
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297448
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297449
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
297450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297451
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297452
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-8@example.com"]]
|
297453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297454
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
297455
|
+
Parameters: {"id"=>"59", "user_email"=>"person-8@example.com", "device_token"=>{"id"=>"59"}}
|
297456
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "59"]]
|
297457
|
+
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
297458
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297459
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-9@example.com"]]
|
297460
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297462
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297463
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297464
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297465
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 2]]
|
297466
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297467
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m
|
297468
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'
|
297469
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
297470
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297471
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297472
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297473
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297474
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297475
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297476
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297477
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297478
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297479
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297480
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297481
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297482
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297483
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297484
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
297485
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297486
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297487
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-10@example.com"]]
|
297488
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297489
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297490
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297491
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297492
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297493
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD7"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297495
|
+
[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
|
297496
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297497
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-11@example.com"]]
|
297498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297499
|
+
Processing by Notifiable::DeviceTokensController#update as JSON
|
297500
|
+
Parameters: {"id"=>"1", "user_email"=>"person-11@example.com", "token"=>"ZXY987", "device_token"=>{"id"=>"1", "token"=>"ZXY987"}}
|
297501
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? LIMIT 1[0m [["id", "1"]]
|
297502
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
297503
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
297504
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
|
297505
|
+
Filter chain halted as :ensure_authorized! rendered or redirected
|
297506
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
297507
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
297508
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297509
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297510
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297511
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297512
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297513
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297514
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297515
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297516
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297517
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297518
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297519
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297520
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297521
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297522
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
297524
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297525
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297526
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297527
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297528
|
+
[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 15:07:17 UTC +00:00], ["is_valid", false], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297531
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297532
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297533
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297534
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-12@example.com"]]
|
297535
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297536
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
297537
|
+
Parameters: {"token"=>"ABCD8", "provider"=>"mock", "app_id"=>"2", "user_email"=>"person-12@example.com", "device_token"=>{"token"=>"ABCD8", "provider"=>"mock", "app_id"=>"2"}}
|
297538
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' AND "notifiable_device_tokens"."is_valid" = 't' LIMIT 1
|
297539
|
+
Unpermitted parameters: user_email, device_token
|
297540
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1[0m
|
297541
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
|
297542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297543
|
+
[1m[35mNotifiable::App Load (0.0ms)[0m SELECT "notifiable_apps".* FROM "notifiable_apps" WHERE "notifiable_apps"."id" = ? ORDER BY "notifiable_apps"."id" ASC LIMIT 1 [["id", 2]]
|
297544
|
+
[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 15:07:17 UTC +00:00], ["provider", "mock"], ["token", "ABCD8"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297545
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
297546
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
297547
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
297548
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
297549
|
+
[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
|
297550
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297551
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297552
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297553
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297554
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297555
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297556
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297557
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297558
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297559
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297560
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297561
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297562
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297563
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297564
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297565
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
297566
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297568
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-13@example.com"]]
|
297569
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297570
|
+
Processing by Notifiable::DeviceTokensController#create as JSON
|
297571
|
+
Parameters: {"token"=>"ABC123", "user_email"=>"person-13@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns"}}
|
297572
|
+
[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
|
297573
|
+
Unpermitted parameters: user_email, device_token
|
297574
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person-13@example.com' LIMIT 1[0m
|
297575
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-13@example.com' LIMIT 1
|
297576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297577
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
297578
|
+
Completed 422 Unprocessable Entity in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
297579
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_device_tokens"[0m
|
297580
|
+
[1m[35m (0.4ms)[0m DELETE FROM "users";
|
297581
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297582
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297583
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297584
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297585
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297586
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
297587
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297588
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297589
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297590
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297591
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297592
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
297593
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297594
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297595
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
297596
|
+
[1m[35m (0.0ms)[0m begin transaction
|
297597
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297598
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-14@example.com"]]
|
297599
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297601
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297602
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297603
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297604
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD9"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297605
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297606
|
+
[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
|
297607
|
+
Processing by Notifiable::DeviceTokensController#destroy as JSON
|
297608
|
+
Parameters: {"id"=>"1", "user_email"=>"person-14@example.com", "device_token"=>{"id"=>"1"}}
|
297609
|
+
[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"]]
|
297610
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
297611
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
297612
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
|
297613
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297614
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
|
297615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297616
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
|
297617
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_device_tokens"
|
297618
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
297619
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297620
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297621
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297622
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297623
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297624
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297625
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297626
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297627
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297628
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297629
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297630
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297631
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297632
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297633
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
297635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297636
|
+
[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 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297639
|
+
[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 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297640
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297641
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = ? [["app_id", 1]]
|
297642
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297643
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297644
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297645
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297646
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297647
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297648
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297649
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297650
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297651
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297652
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297653
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297654
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297655
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297656
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297657
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297660
|
+
[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 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297663
|
+
[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 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297665
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297666
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297667
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297668
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297669
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297670
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297671
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
297672
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297673
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297674
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297675
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297676
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297677
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
297678
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297679
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297680
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
297681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
297682
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297683
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
|
297684
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297685
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297686
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297687
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297688
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297689
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297690
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297692
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297694
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297695
|
+
[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 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297696
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297697
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
297698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297699
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
297700
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297701
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
297702
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
297703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297704
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
297705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297706
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
297707
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
297708
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297709
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297710
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297711
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297712
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297713
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297714
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297715
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297716
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297717
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297718
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297719
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
297720
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297721
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297722
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
297723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297725
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-16@example.com"]]
|
297726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297728
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297731
|
+
[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 15:07:17 UTC +00:00], ["is_valid", false], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297732
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297733
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297734
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297737
|
+
[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 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297739
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
297740
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
297741
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
297742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297743
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_notifications" SET "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1 [["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
297744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297745
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
297746
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
297747
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297748
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297749
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
297750
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297751
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297752
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297753
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297754
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297755
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
297756
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297757
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297758
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297759
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297760
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297761
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
297763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297764
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297765
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297766
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297767
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297769
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297770
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297772
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297773
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297774
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297776
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297778
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297779
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297780
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297781
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297782
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297783
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297784
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297785
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297786
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297787
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
297788
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297789
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297790
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297791
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297792
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297793
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297794
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297795
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297796
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297797
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297798
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297799
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_statuses";
|
297800
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297801
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297802
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
297803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
297804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297805
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297808
|
+
[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 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297811
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
|
297812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297814
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297817
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD14"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297819
|
+
[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
|
297820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297821
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
297822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297823
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
297824
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
297825
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297826
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
297827
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297828
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
297829
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
297830
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
297831
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297832
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297833
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297834
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297835
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297836
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297837
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297838
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297839
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
297840
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297841
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297842
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297843
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297844
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297845
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
297847
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297848
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297849
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297850
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297851
|
+
[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 15:07:17 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297852
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297853
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
297854
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297855
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297856
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297857
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297858
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297859
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297860
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297861
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297862
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297863
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
297864
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297865
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297866
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297867
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297868
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297869
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
297870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297872
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297873
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297874
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297875
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297877
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-18@example.com"]]
|
297879
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297880
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297881
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297882
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297884
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD15"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297886
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
297887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297888
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-19@example.com"]]
|
297889
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297890
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297891
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297892
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297894
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD16"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 2]]
|
297895
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297896
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2[0m
|
297897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297898
|
+
[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 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
297899
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297900
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297901
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["device_token_id", 2], ["notification_id", 1], ["status", 0]]
|
297902
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297903
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
297904
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
297905
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297906
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
297907
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297908
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
297909
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses"
|
297910
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m [["id", 1]]
|
297911
|
+
[1m[35mNotifiable::DeviceToken Load (0.2ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
297912
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
297913
|
+
[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]]
|
297914
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
297915
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
297916
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297917
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297918
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297919
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297920
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297921
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297922
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297923
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297924
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297925
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
297926
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297927
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297928
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297929
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297930
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297931
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
297932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297933
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297934
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297935
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297936
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297937
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297938
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297939
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
297940
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
297941
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297942
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
297943
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
297944
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297945
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
297946
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
297947
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297948
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
297949
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
297950
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297951
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
297952
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
297953
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297954
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
297955
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
297956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297957
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
297958
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-20@example.com"]]
|
297959
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297960
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297961
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297962
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297963
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297964
|
+
[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 15:07:17 UTC +00:00], ["provider", :sms], ["token", "ABCD17"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
297965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297966
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297967
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297968
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297969
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297970
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297971
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297972
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
297973
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
297974
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297975
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
297976
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
297977
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297978
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
297979
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
297980
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297981
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
297982
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
297983
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
297984
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
297985
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
297986
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
297987
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
297988
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
297989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
297990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297991
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297992
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
297994
|
+
[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 15:07:17 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
297995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
297996
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
297997
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "notification_id") VALUES (?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["notification_id", 1]]
|
297998
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
297999
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298000
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
298001
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = ? [["id", 1]]
|
298002
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ?[0m [["id", 1]]
|
298003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298004
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
298005
|
+
[1m[35m (0.1ms)[0m DELETE FROM "users";
|
298006
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298007
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
298008
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
298009
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298010
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
298011
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_device_tokens";
|
298012
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298013
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
298014
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
298015
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298016
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
298017
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
298018
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298019
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
298020
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
298021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
298022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
298023
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298024
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
298026
|
+
[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 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298029
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-21@example.com"]]
|
298030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298031
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
298032
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298033
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
298034
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298035
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD18"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
298036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298037
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
|
298038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
298039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
298040
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298041
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 1]]
|
298042
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 1]]
|
298043
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298044
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
298045
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298046
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
298047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298050
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["app_id", 3], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298053
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-22@example.com"]]
|
298054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
298056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
298058
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298059
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["app_id", 4], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD19"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 2]]
|
298060
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298061
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
298062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298063
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["device_token_id", 2], ["notification_id", 2], ["status", 0]]
|
298064
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298065
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? [["notification_id", 2]]
|
298066
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0[0m [["notification_id", 2]]
|
298067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298068
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "sent_count" = ?, "gateway_accepted_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 2[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
298069
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298070
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
298071
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses"
|
298072
|
+
[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]]
|
298073
|
+
[1m[35mNotifiable::DeviceToken Load (0.0ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
|
298074
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
298075
|
+
[1m[35mNotifiable::Notification Load (0.0ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
|
298076
|
+
[1m[36mNotifiable::DeviceToken Load (0.0ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
298077
|
+
[1m[35mNotifiable::DeviceToken Load (0.1ms)[0m SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
|
298078
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
298079
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298080
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
298081
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
298082
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298083
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
298084
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
298085
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298086
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
298087
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
298088
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298089
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
298090
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
298091
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298092
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
298093
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
298094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
298095
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298096
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298099
|
+
[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 15:07:17 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298101
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298102
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-23@example.com"]]
|
298103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298104
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298105
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298106
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298108
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD20"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
298109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298110
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1[0m
|
298111
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298112
|
+
[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 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
298113
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298114
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ?[0m [["notification_id", 1]]
|
298115
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = ? AND "notifiable_statuses"."status" = 0 [["notification_id", 1]]
|
298116
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298117
|
+
[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 15:07:17 UTC +00:00], ["params", nil]]
|
298118
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298119
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
298120
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
298121
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1
|
298122
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
298123
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298124
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
298125
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
298126
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298127
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
298128
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
298129
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298130
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
298131
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_notifications";
|
298132
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298133
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
298134
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
298135
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298136
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
298137
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
298138
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
298139
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
298140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-24@example.com"]]
|
298141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
298143
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298144
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298146
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD21"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
298147
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298148
|
+
[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
|
298149
|
+
[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]]
|
298150
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
298151
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifiable_notifications" ("app_id", "created_at", "params", "updated_at") VALUES (?, ?, ?, ?) [["app_id", 1], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298152
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
298154
|
+
[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 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
298155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298156
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
298157
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"1", "user_email"=>"person-24@example.com", "notification"=>{}}
|
298158
|
+
[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
|
298159
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-24@example.com' LIMIT 1
|
298160
|
+
[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]]
|
298161
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
298162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298163
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifiable_statuses" SET "status" = ? WHERE "notifiable_statuses"."id" = 1 [["status", -1]]
|
298164
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298165
|
+
[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]]
|
298166
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298167
|
+
[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 15:07:17 UTC +00:00], ["params", nil]]
|
298168
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298169
|
+
Completed 200 OK in 33ms (ActiveRecord: 0.7ms)
|
298170
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_statuses"
|
298171
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1[0m
|
298172
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifiable_notifications"
|
298173
|
+
[1m[36mNotifiable::Notification Load (0.1ms)[0m [1mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1[0m
|
298174
|
+
[1m[35m (0.0ms)[0m DELETE FROM "users";
|
298175
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298176
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'users';
|
298177
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_apps";[0m
|
298178
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298179
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_apps';[0m
|
298180
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_device_tokens";
|
298181
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298182
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
|
298183
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_notifications";[0m
|
298184
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298185
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_notifications';[0m
|
298186
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_statuses";
|
298187
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298188
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_statuses';
|
298189
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
298190
|
+
[1m[35m (0.0ms)[0m begin transaction
|
298191
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298192
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email") VALUES (?) [["email", "person-25@example.com"]]
|
298193
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298195
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298198
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD22"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
298199
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298200
|
+
[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
|
298201
|
+
[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]]
|
298202
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298203
|
+
[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 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298204
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298205
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298206
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_statuses" ("created_at", "device_token_id", "notification_id", "status") VALUES (?, ?, ?, ?) [["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["device_token_id", 1], ["notification_id", 1], ["status", 0]]
|
298207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298208
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298209
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-26@example.com"]]
|
298210
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298211
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
298212
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"1", "user_email"=>"person-26@example.com", "notification"=>{}}
|
298213
|
+
[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
|
298214
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'person-26@example.com' LIMIT 1
|
298215
|
+
[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]]
|
298216
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
298217
|
+
Filter chain halted as :check_authorisation! rendered or redirected
|
298218
|
+
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
|
298219
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
298220
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1
|
298221
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications"[0m
|
298222
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
298223
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "users";[0m
|
298224
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298225
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
298226
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_apps";
|
298227
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298228
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
298229
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
298230
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298231
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
298232
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
298233
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298234
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
298235
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
298236
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298237
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
298238
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
298239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
298240
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298241
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email") VALUES (?)[0m [["email", "person-27@example.com"]]
|
298242
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298243
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298244
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?) [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298247
|
+
[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 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD23"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["user_id", 1]]
|
298248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298249
|
+
[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
|
298250
|
+
[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]]
|
298251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298252
|
+
[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 15:07:17 UTC +00:00], ["params", nil], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298253
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298254
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298255
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifiable_apps" ("configuration", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["configuration", nil], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298256
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
298258
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifiable_device_tokens" ("app_id", "created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["app_id", 2], ["created_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["provider", :mock], ["token", "ABCD24"], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00]]
|
298259
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
298260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
298261
|
+
[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 15:07:17 UTC +00:00], ["device_token_id", 2], ["notification_id", 1], ["status", 0]]
|
298262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
298263
|
+
Processing by Notifiable::NotificationsController#opened as JSON
|
298264
|
+
Parameters: {"notification_id"=>"1", "device_token_id"=>"2", "notification"=>{}}
|
298265
|
+
[1m[36mNotifiable::NotificationStatus Load (0.1ms)[0m [1mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE (notification_id = '1' AND device_token_id = '2') LIMIT 1[0m
|
298266
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
|
298267
|
+
[1m[36mNotifiable::DeviceToken Load (0.1ms)[0m [1mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1[0m [["id", 2]]
|
298268
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298269
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_statuses" SET "status" = ? WHERE "notifiable_statuses"."id" = 1[0m [["status", -1]]
|
298270
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298271
|
+
[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]]
|
298272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
298273
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifiable_notifications" SET "opened_count" = ?, "updated_at" = ?, "params" = ? WHERE "notifiable_notifications"."id" = 1[0m [["opened_count", 1], ["updated_at", Mon, 16 Jun 2014 15:07:17 UTC +00:00], ["params", nil]]
|
298274
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
298275
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
|
298276
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
298277
|
+
[1m[35mNotifiable::NotificationStatus Load (0.1ms)[0m SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1
|
298278
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifiable_notifications"[0m
|
298279
|
+
[1m[35mNotifiable::Notification Load (0.1ms)[0m SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
|
298280
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "users";[0m
|
298281
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298282
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'users';[0m
|
298283
|
+
[1m[35m (0.1ms)[0m DELETE FROM "notifiable_apps";
|
298284
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298285
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_apps';
|
298286
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_device_tokens";[0m
|
298287
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298288
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';[0m
|
298289
|
+
[1m[35m (0.0ms)[0m DELETE FROM "notifiable_notifications";
|
298290
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
298291
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
|
298292
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "notifiable_statuses";[0m
|
298293
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
298294
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'notifiable_statuses';[0m
|
298295
|
+
[1m[35m (0.8ms)[0m rollback transaction
|