notifiable-rails 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -140605,3 +140605,1633 @@ Completed 200 OK in 3ms (ActiveRecord: 0.7ms)
140605
140605
   (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140606
140606
   (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140607
140607
   (0.4ms) rollback transaction
140608
+  (0.3ms) begin transaction
140609
+  (0.0ms) SAVEPOINT active_record_1
140610
+ SQL (0.4ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-1@example.com"]]
140611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140612
+  (0.0ms) SAVEPOINT active_record_1
140613
+ Notifiable::DeviceToken Exists (0.2ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD1' LIMIT 1
140614
+ SQL (25.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD1"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
140616
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
140617
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
140618
+  (0.1ms) DELETE FROM "users";
140619
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140620
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140621
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140622
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140623
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140624
+  (0.1ms) DELETE FROM "notifiable_notifications";
140625
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140626
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140627
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140628
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140629
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140630
+  (0.5ms) rollback transaction
140631
+  (0.0ms) begin transaction
140632
+  (0.0ms) SAVEPOINT active_record_1
140633
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-2@example.com"]]
140634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140635
+  (0.0ms) SAVEPOINT active_record_1
140636
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2' LIMIT 1
140637
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD2"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140639
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140640
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
140641
+  (0.0ms) DELETE FROM "users";
140642
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140643
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140644
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140645
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140646
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140647
+  (0.0ms) DELETE FROM "notifiable_notifications";
140648
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140649
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140650
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140651
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140652
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140653
+  (0.5ms) rollback transaction
140654
+  (0.1ms) begin transaction
140655
+  (0.1ms) SAVEPOINT active_record_1
140656
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
140657
+  (0.1ms) RELEASE SAVEPOINT active_record_1
140658
+  (0.1ms) SAVEPOINT active_record_1
140659
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3' LIMIT 1
140660
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD3"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140662
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
140663
+  (0.1ms) DELETE FROM "users";
140664
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140665
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
140666
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140667
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140668
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140669
+  (0.1ms) DELETE FROM "notifiable_notifications";
140670
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140671
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140672
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140673
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140674
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140675
+  (4.2ms) rollback transaction
140676
+  (0.1ms) begin transaction
140677
+  (0.0ms) SAVEPOINT active_record_1
140678
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-4@example.com"]]
140679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140680
+  (0.0ms) SAVEPOINT active_record_1
140681
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' LIMIT 1
140682
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140684
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140685
+  (0.0ms) SAVEPOINT active_record_1
140686
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-5@example.com"]]
140687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140688
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
140689
+ Parameters: {"token"=>"ABCD4", "user_email"=>"person-5@example.com", "device_token"=>{"token"=>"ABCD4"}}
140690
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-5@example.com' LIMIT 1
140691
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140692
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
140693
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-5@example.com' LIMIT 1
140694
+ Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms)
140695
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4'
140696
+  (0.1ms) DELETE FROM "users";
140697
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140698
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
140699
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140700
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140701
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140702
+  (0.1ms) DELETE FROM "notifiable_notifications";
140703
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140704
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140705
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140706
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140707
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140708
+  (0.6ms) rollback transaction
140709
+  (0.1ms) begin transaction
140710
+  (0.0ms) SAVEPOINT active_record_1
140711
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
140712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140713
+ Processing by Notifiable::DeviceTokensController#create as JSON
140714
+ Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-6@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
140715
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
140716
+ Unpermitted parameters: user_email, device_token
140717
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
140718
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
140719
+  (0.0ms) SAVEPOINT active_record_1
140720
+ Notifiable::DeviceToken Exists (0.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
140721
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "device_id", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["device_id", "DEF456"], ["provider", "mpns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140723
+ Completed 200 OK in 3ms (ActiveRecord: 0.7ms)
140724
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
140725
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
140726
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140727
+  (0.0ms) DELETE FROM "users";
140728
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140729
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140730
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140731
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140732
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140733
+  (0.0ms) DELETE FROM "notifiable_notifications";
140734
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140735
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140736
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140737
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140738
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140739
+  (0.5ms) rollback transaction
140740
+  (0.0ms) begin transaction
140741
+ Processing by Notifiable::DeviceTokensController#create as JSON
140742
+ Parameters: {"token"=>"ABC123", "provider"=>"apns", "device_token"=>{"token"=>"ABC123", "provider"=>"apns"}}
140743
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
140744
+ Unpermitted parameters: device_token
140745
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
140746
+  (0.0ms) SAVEPOINT active_record_1
140747
+ Notifiable::DeviceToken Exists (0.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
140748
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140750
+ Completed 200 OK in 3ms (ActiveRecord: 0.6ms)
140751
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
140752
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140753
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140754
+  (0.0ms) SELECT COUNT(*) FROM "users"
140755
+  (0.1ms) DELETE FROM "users";
140756
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140757
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
140758
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140759
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140760
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140761
+  (0.0ms) DELETE FROM "notifiable_notifications";
140762
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140763
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140764
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140765
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140766
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140767
+  (0.4ms) rollback transaction
140768
+  (0.1ms) begin transaction
140769
+  (0.0ms) SAVEPOINT active_record_1
140770
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-7@example.com"]]
140771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140772
+ Processing by Notifiable::DeviceTokensController#create as JSON
140773
+ Parameters: {"token"=>"ABC123", "user_email"=>"person-7@example.com", "provider"=>"apns", "device_token"=>{"token"=>"ABC123", "provider"=>"apns"}}
140774
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
140775
+ Unpermitted parameters: user_email, device_token
140776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-7@example.com' LIMIT 1
140777
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-7@example.com' LIMIT 1
140778
+  (0.0ms) SAVEPOINT active_record_1
140779
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
140780
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140782
+ Completed 200 OK in 3ms (ActiveRecord: 0.7ms)
140783
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
140784
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
140785
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140786
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140787
+  (0.0ms) DELETE FROM "users";
140788
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140789
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140790
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140791
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140792
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140793
+  (0.0ms) DELETE FROM "notifiable_notifications";
140794
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140795
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140796
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140797
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140798
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140799
+  (0.5ms) rollback transaction
140800
+  (0.0ms) begin transaction
140801
+  (0.0ms) SAVEPOINT active_record_1
140802
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-8@example.com"]]
140803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140804
+  (0.1ms) SAVEPOINT active_record_1
140805
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' LIMIT 1
140806
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140808
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140809
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
140810
+ Parameters: {"token"=>"ABCD5", "device_token"=>{"token"=>"ABCD5"}}
140811
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
140812
+ Filter chain halted as :ensure_current_notifiable_user rendered or redirected
140813
+ Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.1ms)
140814
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5'
140815
+  (0.0ms) DELETE FROM "users";
140816
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140817
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140818
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140819
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140820
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140821
+  (0.1ms) DELETE FROM "notifiable_notifications";
140822
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140823
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140824
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140825
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140826
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140827
+  (0.5ms) rollback transaction
140828
+  (0.0ms) begin transaction
140829
+  (0.1ms) SAVEPOINT active_record_1
140830
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-9@example.com"]]
140831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140832
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
140833
+ Parameters: {"token"=>"ZXY987", "user_email"=>"person-9@example.com", "device_token"=>{"token"=>"ZXY987"}}
140834
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-9@example.com' LIMIT 1
140835
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ZXY987' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140836
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
140837
+  (0.0ms) SAVEPOINT active_record_1
140838
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-10@example.com"]]
140839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140840
+  (0.0ms) SAVEPOINT active_record_1
140841
+ Notifiable::DeviceToken Exists (0.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6' LIMIT 1
140842
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 2]]
140843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140844
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140845
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'
140846
+  (0.0ms) DELETE FROM "users";
140847
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140848
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140849
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140850
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140851
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140852
+  (0.0ms) DELETE FROM "notifiable_notifications";
140853
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140854
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140855
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140856
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140857
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140858
+  (0.5ms) rollback transaction
140859
+  (0.1ms) begin transaction
140860
+  (0.0ms) SAVEPOINT active_record_1
140861
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7' LIMIT 1
140862
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("created_at", "device_id", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["device_id", "DEF456"], ["provider", :mpns], ["token", "ABCD7"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140864
+  (0.1ms) SAVEPOINT active_record_1
140865
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-11@example.com"]]
140866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140867
+ Processing by Notifiable::DeviceTokensController#create as JSON
140868
+ Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-11@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
140869
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
140870
+ Unpermitted parameters: user_email, device_token
140871
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
140872
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
140873
+  (0.0ms) SAVEPOINT active_record_1
140874
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."id" != 1) LIMIT 1
140875
+ SQL (0.2ms) UPDATE "notifiable_device_tokens" SET "token" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["token", "ABC123"], ["user_id", 1], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140877
+ Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
140878
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
140879
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
140880
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140881
+  (0.1ms) DELETE FROM "users";
140882
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140883
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
140884
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
140885
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140886
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140887
+  (0.1ms) DELETE FROM "notifiable_notifications";
140888
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140889
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140890
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140891
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140892
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140893
+  (0.6ms) rollback transaction
140894
+  (0.1ms) begin transaction
140895
+  (0.1ms) SAVEPOINT active_record_1
140896
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-12@example.com"]]
140897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
140898
+  (0.1ms) SAVEPOINT active_record_1
140899
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' LIMIT 1
140900
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140902
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140903
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
140904
+ Parameters: {"token"=>"ABCD8", "user_email"=>"person-12@example.com", "device_token"=>{"token"=>"ABCD8"}}
140905
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
140906
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
140907
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
140908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
140909
+  (0.0ms) SAVEPOINT active_record_1
140910
+ SQL (0.1ms) DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
140911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140912
+ Completed 200 OK in 3ms (ActiveRecord: 0.5ms)
140913
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8'
140914
+  (0.1ms) DELETE FROM "users";
140915
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140916
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140917
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
140918
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140919
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140920
+  (0.1ms) DELETE FROM "notifiable_notifications";
140921
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140922
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140923
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
140924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140925
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140926
+  (0.5ms) rollback transaction
140927
+  (0.1ms) begin transaction
140928
+  (0.0ms) SAVEPOINT active_record_1
140929
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140931
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
140932
+  (0.1ms) DELETE FROM "users";
140933
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140934
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140935
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
140936
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140937
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140938
+  (0.0ms) DELETE FROM "notifiable_notifications";
140939
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140940
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140941
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140942
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140943
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140944
+  (0.4ms) rollback transaction
140945
+  (0.1ms) begin transaction
140946
+  (0.0ms) SAVEPOINT active_record_1
140947
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "params", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140949
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
140950
+  (0.1ms) DELETE FROM "users";
140951
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140952
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
140953
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
140954
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140955
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140956
+  (0.0ms) DELETE FROM "notifiable_notifications";
140957
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140958
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140959
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140960
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140961
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140962
+  (0.3ms) rollback transaction
140963
+  (0.0ms) begin transaction
140964
+  (0.0ms) SAVEPOINT active_record_1
140965
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "params", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140967
+  (0.0ms) SAVEPOINT active_record_1
140968
+ SQL (0.3ms) INSERT INTO "notifiable_notification_statuses" ("notification_id") VALUES (?) [["notification_id", 1]]
140969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
140970
+  (0.0ms) SAVEPOINT active_record_1
140971
+ Notifiable::NotificationStatus Load (0.2ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? [["notification_id", 1]]
140972
+ SQL (0.1ms) DELETE FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."id" = ? [["id", 1]]
140973
+ SQL (0.1ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? [["id", 1]]
140974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
140975
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
140976
+  (0.1ms) DELETE FROM "users";
140977
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140978
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
140979
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
140980
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140981
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
140982
+  (0.0ms) DELETE FROM "notifiable_notifications";
140983
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140984
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
140985
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
140986
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140987
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
140988
+  (0.5ms) rollback transaction
140989
+  (0.1ms) begin transaction
140990
+  (0.0ms) SAVEPOINT active_record_1
140991
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
140992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140993
+  (0.0ms) SAVEPOINT active_record_1
140994
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-13@example.com"]]
140995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
140996
+  (0.0ms) SAVEPOINT active_record_1
140997
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9' LIMIT 1
140998
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD9"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
140999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141000
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141001
+  (0.0ms) SAVEPOINT active_record_1
141002
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-14@example.com"]]
141003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141004
+  (0.0ms) SAVEPOINT active_record_1
141005
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD10' LIMIT 1
141006
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 2]]
141007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141008
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141009
+  (0.0ms) SAVEPOINT active_record_1
141010
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 200]]
141011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141012
+  (0.0ms) SAVEPOINT active_record_1
141013
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 2], ["notification_id", 1], ["status", 200]]
141014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141015
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141016
+ Notifiable::NotificationStatus Load (0.1ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
141017
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
141018
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
141019
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141020
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
141021
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 2]]
141022
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141023
+  (0.0ms) DELETE FROM "users";
141024
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141025
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141026
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141027
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141028
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141029
+  (0.0ms) DELETE FROM "notifiable_notifications";
141030
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141031
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141032
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141033
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141034
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141035
+  (0.5ms) rollback transaction
141036
+  (0.1ms) begin transaction
141037
+  (0.0ms) SAVEPOINT active_record_1
141038
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
141039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141040
+  (0.0ms) SAVEPOINT active_record_1
141041
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
141042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141043
+  (0.1ms) SAVEPOINT active_record_1
141044
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD11' LIMIT 1
141045
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 1]]
141046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141047
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141048
+  (0.0ms) SAVEPOINT active_record_1
141049
+ SQL (0.1ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00]]
141050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141051
+  (0.0ms) SAVEPOINT active_record_1
141052
+ SQL (0.0ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-16@example.com"]]
141053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141054
+  (0.0ms) SAVEPOINT active_record_1
141055
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' LIMIT 1
141056
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Sat, 15 Feb 2014 12:19:05 UTC +00:00], ["user_id", 2]]
141057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141058
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141059
+  (0.0ms) SAVEPOINT active_record_1
141060
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 200]]
141061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141062
+  (0.0ms) SAVEPOINT active_record_1
141063
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 2], ["notification_id", 2], ["status", 200]]
141064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141065
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141066
+ Notifiable::NotificationStatus Load (0.0ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
141067
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
141068
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
141069
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141070
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
141071
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 2]]
141072
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141073
+  (0.0ms) DELETE FROM "users";
141074
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141075
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141076
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141077
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141078
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141079
+  (0.0ms) DELETE FROM "notifiable_notifications";
141080
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141081
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141082
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141083
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141084
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141085
+  (0.5ms) rollback transaction
141086
+  (0.1ms) begin transaction
141087
+  (0.0ms) SAVEPOINT active_record_1
141088
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
141089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141090
+  (0.0ms) SAVEPOINT active_record_1
141091
+ Notifiable::DeviceToken Exists (0.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'DEF567' LIMIT 1
141092
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:06 UTC +00:00], ["provider", :gcm], ["token", "DEF567"], ["updated_at", Sat, 15 Feb 2014 12:19:06 UTC +00:00], ["user_id", 1]]
141093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141094
+  (0.1ms) SAVEPOINT active_record_1
141095
+ SQL (0.2ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:06 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:06 UTC +00:00]]
141096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141097
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141098
+  (0.0ms) DELETE FROM "users";
141099
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141100
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141101
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141102
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141103
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141104
+  (0.0ms) DELETE FROM "notifiable_notifications";
141105
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141106
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141107
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141108
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141109
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141110
+  (0.5ms) rollback transaction
141111
+  (0.0ms) begin transaction
141112
+  (0.0ms) SAVEPOINT active_record_1
141113
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-18@example.com"]]
141114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141115
+  (0.0ms) SAVEPOINT active_record_1
141116
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13' LIMIT 1
141117
+ SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:06 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Sat, 15 Feb 2014 12:19:06 UTC +00:00], ["user_id", 1]]
141118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141119
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141120
+  (0.0ms) SAVEPOINT active_record_1
141121
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "status") VALUES (?, ?) [["device_token_id", 1], ["status", 200]]
141122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141123
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141124
+  (0.0ms) DELETE FROM "users";
141125
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141126
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141127
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141128
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141129
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141130
+  (0.0ms) DELETE FROM "notifiable_notifications";
141131
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141132
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141133
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141134
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141135
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141136
+  (0.4ms) rollback transaction
141137
+  (0.1ms) begin transaction
141138
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" IS NULL
141139
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141140
+  (0.1ms) DELETE FROM "users";
141141
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141142
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141143
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141144
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141145
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141146
+  (0.0ms) DELETE FROM "notifiable_notifications";
141147
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141148
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141149
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141150
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141151
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141152
+  (0.4ms) rollback transaction
141153
+  (0.3ms) begin transaction
141154
+  (0.0ms) SAVEPOINT active_record_1
141155
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-1@example.com"]]
141156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141157
+  (0.0ms) SAVEPOINT active_record_1
141158
+ Notifiable::DeviceToken Exists (0.2ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD1' LIMIT 1
141159
+ SQL (25.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD1"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141161
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141162
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141163
+  (0.1ms) DELETE FROM "users";
141164
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141165
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141166
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141167
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141168
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141169
+  (0.1ms) DELETE FROM "notifiable_notifications";
141170
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141171
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141172
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141173
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141174
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141175
+  (6.6ms) rollback transaction
141176
+  (0.1ms) begin transaction
141177
+  (0.1ms) SAVEPOINT active_record_1
141178
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-2@example.com"]]
141179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141180
+  (0.1ms) SAVEPOINT active_record_1
141181
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2' LIMIT 1
141182
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD2"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141184
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141185
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141186
+  (0.0ms) DELETE FROM "users";
141187
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141188
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141189
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141190
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141191
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141192
+  (0.1ms) DELETE FROM "notifiable_notifications";
141193
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141194
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141195
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141196
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141197
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141198
+  (0.5ms) rollback transaction
141199
+  (0.1ms) begin transaction
141200
+  (0.0ms) SAVEPOINT active_record_1
141201
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
141202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141203
+  (0.0ms) SAVEPOINT active_record_1
141204
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3' LIMIT 1
141205
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD3"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141207
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141208
+  (0.0ms) DELETE FROM "users";
141209
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141210
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141211
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141212
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141213
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141214
+  (0.0ms) DELETE FROM "notifiable_notifications";
141215
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141216
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141217
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141218
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141219
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141220
+  (0.4ms) rollback transaction
141221
+  (0.1ms) begin transaction
141222
+  (0.0ms) SAVEPOINT active_record_1
141223
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "params", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00]]
141224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141225
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
141226
+  (0.1ms) DELETE FROM "users";
141227
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141228
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141229
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141230
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141231
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141232
+  (0.0ms) DELETE FROM "notifiable_notifications";
141233
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141234
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141235
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141236
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141237
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141238
+  (0.4ms) rollback transaction
141239
+  (0.0ms) begin transaction
141240
+  (0.0ms) SAVEPOINT active_record_1
141241
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00]]
141242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141243
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
141244
+  (0.1ms) DELETE FROM "users";
141245
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141246
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141247
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141248
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141249
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141250
+  (0.0ms) DELETE FROM "notifiable_notifications";
141251
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141252
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141253
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141254
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141255
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141256
+  (0.4ms) rollback transaction
141257
+  (0.0ms) begin transaction
141258
+  (0.0ms) SAVEPOINT active_record_1
141259
+ SQL (0.2ms) INSERT INTO "notifiable_notifications" ("created_at", "params", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00]]
141260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141261
+  (0.0ms) SAVEPOINT active_record_1
141262
+ SQL (0.4ms) INSERT INTO "notifiable_notification_statuses" ("notification_id") VALUES (?) [["notification_id", 1]]
141263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141264
+  (0.0ms) SAVEPOINT active_record_1
141265
+ Notifiable::NotificationStatus Load (0.1ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."notification_id" = ? [["notification_id", 1]]
141266
+ SQL (0.1ms) DELETE FROM "notifiable_notification_statuses" WHERE "notifiable_notification_statuses"."id" = ? [["id", 1]]
141267
+ SQL (0.1ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? [["id", 1]]
141268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141269
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141270
+  (0.1ms) DELETE FROM "users";
141271
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141272
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141273
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141274
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141275
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141276
+  (0.0ms) DELETE FROM "notifiable_notifications";
141277
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141278
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141279
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141280
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141281
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141282
+  (0.5ms) rollback transaction
141283
+  (0.0ms) begin transaction
141284
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" IS NULL
141285
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141286
+  (0.1ms) DELETE FROM "users";
141287
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141288
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141289
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141290
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141291
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141292
+  (0.0ms) DELETE FROM "notifiable_notifications";
141293
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141294
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141295
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141296
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141297
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141298
+  (0.4ms) rollback transaction
141299
+  (0.1ms) begin transaction
141300
+  (0.1ms) SAVEPOINT active_record_1
141301
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-5@example.com"]]
141302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141303
+  (0.1ms) SAVEPOINT active_record_1
141304
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' LIMIT 1
141305
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141307
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141308
+  (0.0ms) SAVEPOINT active_record_1
141309
+ SQL (0.2ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "status") VALUES (?, ?) [["device_token_id", 1], ["status", 200]]
141310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141311
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141312
+  (0.0ms) DELETE FROM "users";
141313
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141314
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141315
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141316
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141317
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141318
+  (0.1ms) DELETE FROM "notifiable_notifications";
141319
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141320
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141321
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141322
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141323
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141324
+  (0.4ms) rollback transaction
141325
+  (0.1ms) begin transaction
141326
+ Processing by Notifiable::DeviceTokensController#create as JSON
141327
+ Parameters: {"token"=>"ABC123", "provider"=>"apns", "device_token"=>{"token"=>"ABC123", "provider"=>"apns"}}
141328
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141329
+ Unpermitted parameters: device_token
141330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
141331
+  (0.0ms) SAVEPOINT active_record_1
141332
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141333
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00]]
141334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141335
+ Completed 200 OK in 3ms (ActiveRecord: 0.6ms)
141336
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
141337
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141338
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141339
+  (0.0ms) SELECT COUNT(*) FROM "users"
141340
+  (0.1ms) DELETE FROM "users";
141341
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141342
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141343
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141344
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141345
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141346
+  (0.0ms) DELETE FROM "notifiable_notifications";
141347
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141348
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141349
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141350
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141351
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141352
+  (0.4ms) rollback transaction
141353
+  (0.1ms) begin transaction
141354
+  (0.0ms) SAVEPOINT active_record_1
141355
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
141356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141357
+  (0.0ms) SAVEPOINT active_record_1
141358
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' LIMIT 1
141359
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141361
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141362
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
141363
+ Parameters: {"token"=>"ABCD5", "user_email"=>"person-6@example.com", "device_token"=>{"token"=>"ABCD5"}}
141364
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
141365
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
141367
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
141368
+  (0.0ms) SAVEPOINT active_record_1
141369
+ SQL (0.1ms) DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
141370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141371
+ Completed 200 OK in 3ms (ActiveRecord: 0.5ms)
141372
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5'
141373
+  (0.0ms) DELETE FROM "users";
141374
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141375
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141376
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141377
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141378
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141379
+  (0.0ms) DELETE FROM "notifiable_notifications";
141380
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141381
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141382
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141383
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141384
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141385
+  (0.5ms) rollback transaction
141386
+  (0.1ms) begin transaction
141387
+  (0.1ms) SAVEPOINT active_record_1
141388
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-7@example.com"]]
141389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141390
+  (0.1ms) SAVEPOINT active_record_1
141391
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6' LIMIT 1
141392
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141394
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141395
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
141396
+ Parameters: {"token"=>"ABCD6", "device_token"=>{"token"=>"ABCD6"}}
141397
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
141398
+ Filter chain halted as :ensure_current_notifiable_user rendered or redirected
141399
+ Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.1ms)
141400
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'
141401
+  (0.1ms) DELETE FROM "users";
141402
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141403
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141404
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141405
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141406
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141407
+  (0.1ms) DELETE FROM "notifiable_notifications";
141408
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141409
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141410
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141411
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141412
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141413
+  (0.5ms) rollback transaction
141414
+  (0.1ms) begin transaction
141415
+  (0.1ms) SAVEPOINT active_record_1
141416
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-8@example.com"]]
141417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141418
+ Processing by Notifiable::DeviceTokensController#create as JSON
141419
+ Parameters: {"token"=>"ABC123", "user_email"=>"person-8@example.com", "provider"=>"apns", "device_token"=>{"token"=>"ABC123", "provider"=>"apns"}}
141420
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141421
+ Unpermitted parameters: user_email, device_token
141422
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-8@example.com' LIMIT 1
141423
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-8@example.com' LIMIT 1
141424
+  (0.0ms) SAVEPOINT active_record_1
141425
+ Notifiable::DeviceToken Exists (0.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141426
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:13 UTC +00:00], ["user_id", 1]]
141427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141428
+ Completed 200 OK in 3ms (ActiveRecord: 0.7ms)
141429
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
141430
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141431
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141432
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141433
+  (0.0ms) DELETE FROM "users";
141434
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141435
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141436
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141437
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141438
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141439
+  (0.0ms) DELETE FROM "notifiable_notifications";
141440
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141441
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141442
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141443
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141444
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141445
+  (0.5ms) rollback transaction
141446
+  (0.1ms) begin transaction
141447
+  (0.0ms) SAVEPOINT active_record_1
141448
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-9@example.com"]]
141449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141450
+  (0.0ms) SAVEPOINT active_record_1
141451
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7' LIMIT 1
141452
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :mock], ["token", "ABCD7"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 1]]
141453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141454
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141455
+  (0.0ms) SAVEPOINT active_record_1
141456
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-10@example.com"]]
141457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141458
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
141459
+ Parameters: {"token"=>"ABCD7", "user_email"=>"person-10@example.com", "device_token"=>{"token"=>"ABCD7"}}
141460
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-10@example.com' LIMIT 1
141461
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141462
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
141463
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-10@example.com' LIMIT 1
141464
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
141465
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7'
141466
+  (0.0ms) DELETE FROM "users";
141467
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141468
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141469
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141470
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141471
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141472
+  (0.1ms) DELETE FROM "notifiable_notifications";
141473
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141474
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141475
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141476
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141477
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141478
+  (0.4ms) rollback transaction
141479
+  (0.0ms) begin transaction
141480
+  (0.1ms) SAVEPOINT active_record_1
141481
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-11@example.com"]]
141482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141483
+ Processing by Notifiable::DeviceTokensController#create as JSON
141484
+ Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-11@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
141485
+ Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
141486
+ Unpermitted parameters: user_email, device_token
141487
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
141488
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-11@example.com' LIMIT 1
141489
+  (0.1ms) SAVEPOINT active_record_1
141490
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141491
+ SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("created_at", "device_id", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["device_id", "DEF456"], ["provider", "mpns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 1]]
141492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141493
+ Completed 200 OK in 9ms (ActiveRecord: 1.4ms)
141494
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
141495
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141496
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141497
+  (0.1ms) DELETE FROM "users";
141498
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141499
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141500
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141501
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141502
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141503
+  (0.1ms) DELETE FROM "notifiable_notifications";
141504
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141505
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141506
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141507
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141508
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141509
+  (0.5ms) rollback transaction
141510
+  (0.1ms) begin transaction
141511
+  (0.1ms) SAVEPOINT active_record_1
141512
+ SQL (0.5ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-12@example.com"]]
141513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141514
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
141515
+ Parameters: {"token"=>"ZXY987", "user_email"=>"person-12@example.com", "device_token"=>{"token"=>"ZXY987"}}
141516
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
141517
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ZXY987' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141518
+ Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
141519
+  (0.1ms) SAVEPOINT active_record_1
141520
+ SQL (0.4ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-13@example.com"]]
141521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141522
+  (0.1ms) SAVEPOINT active_record_1
141523
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' LIMIT 1
141524
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 2]]
141525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141526
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141527
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8'
141528
+  (0.1ms) DELETE FROM "users";
141529
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141530
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141531
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141532
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141533
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141534
+  (0.1ms) DELETE FROM "notifiable_notifications";
141535
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141536
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141537
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141538
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141539
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141540
+  (0.4ms) rollback transaction
141541
+  (0.1ms) begin transaction
141542
+  (0.1ms) SAVEPOINT active_record_1
141543
+ Notifiable::DeviceToken Exists (0.2ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9' LIMIT 1
141544
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "device_id", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["device_id", "DEF456"], ["provider", :mpns], ["token", "ABCD9"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00]]
141545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141546
+  (0.0ms) SAVEPOINT active_record_1
141547
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-14@example.com"]]
141548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141549
+ Processing by Notifiable::DeviceTokensController#create as JSON
141550
+ Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-14@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
141551
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
141552
+ Unpermitted parameters: user_email, device_token
141553
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
141554
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
141555
+  (0.0ms) SAVEPOINT active_record_1
141556
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."id" != 1) LIMIT 1
141557
+ SQL (0.3ms) UPDATE "notifiable_device_tokens" SET "token" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["token", "ABC123"], ["user_id", 1], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00]]
141558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141559
+ Completed 200 OK in 5ms (ActiveRecord: 0.7ms)
141560
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
141561
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141562
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141563
+  (0.1ms) DELETE FROM "users";
141564
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141565
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141566
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141567
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141568
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141569
+  (0.1ms) DELETE FROM "notifiable_notifications";
141570
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141571
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141572
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141573
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141574
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141575
+  (0.5ms) rollback transaction
141576
+  (0.1ms) begin transaction
141577
+  (0.1ms) SAVEPOINT active_record_1
141578
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00]]
141579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141580
+  (0.1ms) SAVEPOINT active_record_1
141581
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
141582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141583
+  (0.1ms) SAVEPOINT active_record_1
141584
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD10' LIMIT 1
141585
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 1]]
141586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141587
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141588
+  (0.1ms) SAVEPOINT active_record_1
141589
+ SQL (0.2ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00]]
141590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141591
+  (0.1ms) SAVEPOINT active_record_1
141592
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-16@example.com"]]
141593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141594
+  (0.1ms) SAVEPOINT active_record_1
141595
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD11' LIMIT 1
141596
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 2]]
141597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141598
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141599
+  (0.0ms) SAVEPOINT active_record_1
141600
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 200]]
141601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141602
+  (0.0ms) SAVEPOINT active_record_1
141603
+ SQL (0.0ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 2], ["notification_id", 2], ["status", 200]]
141604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141605
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141606
+ Notifiable::NotificationStatus Load (0.1ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
141607
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
141608
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
141609
+ Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141610
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
141611
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 2]]
141612
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141613
+  (0.0ms) DELETE FROM "users";
141614
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141615
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141616
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141617
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141618
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141619
+  (0.0ms) DELETE FROM "notifiable_notifications";
141620
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141621
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141622
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141623
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141624
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141625
+  (0.5ms) rollback transaction
141626
+  (0.1ms) begin transaction
141627
+  (0.1ms) SAVEPOINT active_record_1
141628
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00]]
141629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141630
+  (0.0ms) SAVEPOINT active_record_1
141631
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
141632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141633
+  (0.1ms) SAVEPOINT active_record_1
141634
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' LIMIT 1
141635
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 1]]
141636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141637
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141638
+  (0.0ms) SAVEPOINT active_record_1
141639
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-18@example.com"]]
141640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141641
+  (0.0ms) SAVEPOINT active_record_1
141642
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13' LIMIT 1
141643
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 2]]
141644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141645
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141646
+  (0.0ms) SAVEPOINT active_record_1
141647
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 200]]
141648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141649
+  (0.0ms) SAVEPOINT active_record_1
141650
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 2], ["notification_id", 1], ["status", 200]]
141651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141652
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141653
+ Notifiable::NotificationStatus Load (0.1ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
141654
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
141655
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
141656
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141657
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
141658
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 2]]
141659
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
141660
+  (0.0ms) DELETE FROM "users";
141661
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141662
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141663
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141664
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141665
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141666
+  (0.0ms) DELETE FROM "notifiable_notifications";
141667
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141668
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141669
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141670
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141671
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141672
+  (0.4ms) rollback transaction
141673
+  (0.0ms) begin transaction
141674
+  (0.0ms) SAVEPOINT active_record_1
141675
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-19@example.com"]]
141676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141677
+  (0.0ms) SAVEPOINT active_record_1
141678
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'DEF567' LIMIT 1
141679
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["provider", :gcm], ["token", "DEF567"], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["user_id", 1]]
141680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141681
+  (0.0ms) SAVEPOINT active_record_1
141682
+ SQL (0.2ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:14 UTC +00:00]]
141683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141684
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141685
+  (0.0ms) DELETE FROM "users";
141686
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141687
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141688
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141689
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141690
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141691
+  (0.0ms) DELETE FROM "notifiable_notifications";
141692
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141693
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141694
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141695
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141696
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141697
+  (0.4ms) rollback transaction
141698
+  (0.3ms) begin transaction
141699
+  (0.0ms) SAVEPOINT active_record_1
141700
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-1@example.com"]]
141701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141702
+  (0.1ms) SAVEPOINT active_record_1
141703
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD1' LIMIT 1
141704
+ SQL (25.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD1"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
141705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141706
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141707
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141708
+  (0.0ms) DELETE FROM "users";
141709
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141710
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141711
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141712
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141713
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141714
+  (0.1ms) DELETE FROM "notifiable_notifications";
141715
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141716
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141717
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141718
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141719
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141720
+  (6.7ms) rollback transaction
141721
+  (0.1ms) begin transaction
141722
+  (0.1ms) SAVEPOINT active_record_1
141723
+ SQL (0.4ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-2@example.com"]]
141724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141725
+  (0.1ms) SAVEPOINT active_record_1
141726
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD2' LIMIT 1
141727
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD2"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
141728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141729
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141730
+  (0.1ms) DELETE FROM "users";
141731
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141732
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141733
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141734
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141735
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141736
+  (0.1ms) DELETE FROM "notifiable_notifications";
141737
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141738
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141739
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141740
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141741
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141742
+  (0.5ms) rollback transaction
141743
+  (0.1ms) begin transaction
141744
+  (0.1ms) SAVEPOINT active_record_1
141745
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-3@example.com"]]
141746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141747
+  (0.1ms) SAVEPOINT active_record_1
141748
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD3' LIMIT 1
141749
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :configurable_mock], ["token", "ABCD3"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
141750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141751
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141752
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141753
+  (0.0ms) DELETE FROM "users";
141754
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141755
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141756
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141757
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141758
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141759
+  (0.1ms) DELETE FROM "notifiable_notifications";
141760
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141761
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141762
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141763
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141764
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141765
+  (0.4ms) rollback transaction
141766
+  (0.1ms) begin transaction
141767
+  (0.0ms) SAVEPOINT active_record_1
141768
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-4@example.com"]]
141769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141770
+  (0.0ms) SAVEPOINT active_record_1
141771
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD4' LIMIT 1
141772
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD4"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
141773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141774
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141775
+  (0.0ms) SAVEPOINT active_record_1
141776
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "status") VALUES (?, ?) [["device_token_id", 1], ["status", 200]]
141777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141778
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141779
+  (0.0ms) DELETE FROM "users";
141780
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141781
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141782
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141783
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141784
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141785
+  (0.0ms) DELETE FROM "notifiable_notifications";
141786
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141787
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141788
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141789
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141790
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141791
+  (0.5ms) rollback transaction
141792
+  (0.1ms) begin transaction
141793
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" IS NULL
141794
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141795
+  (0.1ms) DELETE FROM "users";
141796
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141797
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141798
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141799
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141800
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141801
+  (0.0ms) DELETE FROM "notifiable_notifications";
141802
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141803
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141804
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141805
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141806
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141807
+  (0.4ms) rollback transaction
141808
+  (0.0ms) begin transaction
141809
+  (0.0ms) SAVEPOINT active_record_1
141810
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["message", "Test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
141811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141812
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
141813
+  (0.1ms) DELETE FROM "users";
141814
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141815
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141816
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141817
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141818
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141819
+  (0.0ms) DELETE FROM "notifiable_notifications";
141820
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141821
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141822
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141823
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141824
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141825
+  (0.4ms) rollback transaction
141826
+  (0.1ms) begin transaction
141827
+  (0.0ms) SAVEPOINT active_record_1
141828
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "params", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
141829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141830
+  (0.1ms) SAVEPOINT active_record_1
141831
+ SQL (0.3ms) INSERT INTO "notifiable_notification_statuses" ("notification_id") VALUES (?) [["notification_id", 1]]
141832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141833
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
141834
+  (0.1ms) DELETE FROM "users";
141835
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141836
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141837
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141838
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141839
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141840
+  (0.0ms) DELETE FROM "notifiable_notifications";
141841
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141842
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141843
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141844
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141845
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141846
+  (0.5ms) rollback transaction
141847
+  (0.1ms) begin transaction
141848
+  (0.0ms) SAVEPOINT active_record_1
141849
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "params", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["params", "---\n:custom_property: A different message\n"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
141850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141851
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1
141852
+  (0.1ms) DELETE FROM "users";
141853
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141854
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141855
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
141856
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141857
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141858
+  (0.0ms) DELETE FROM "notifiable_notifications";
141859
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141860
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141861
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141862
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141863
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141864
+  (0.4ms) rollback transaction
141865
+  (0.0ms) begin transaction
141866
+  (0.0ms) SAVEPOINT active_record_1
141867
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-6@example.com"]]
141868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141869
+ Processing by Notifiable::DeviceTokensController#create as JSON
141870
+ Parameters: {"token"=>"ABC123", "user_email"=>"person-6@example.com", "provider"=>"apns", "device_token"=>{"token"=>"ABC123", "provider"=>"apns"}}
141871
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141872
+ Unpermitted parameters: user_email, device_token
141873
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
141874
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-6@example.com' LIMIT 1
141875
+  (0.0ms) SAVEPOINT active_record_1
141876
+ Notifiable::DeviceToken Exists (0.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
141877
+ SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
141878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141879
+ Completed 200 OK in 5ms (ActiveRecord: 1.1ms)
141880
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
141881
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141882
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141883
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141884
+  (0.1ms) DELETE FROM "users";
141885
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141886
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
141887
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141888
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141889
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141890
+  (0.1ms) DELETE FROM "notifiable_notifications";
141891
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141892
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141893
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141894
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141895
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141896
+  (0.5ms) rollback transaction
141897
+  (0.1ms) begin transaction
141898
+  (0.1ms) SAVEPOINT active_record_1
141899
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-7@example.com"]]
141900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141901
+  (0.0ms) SAVEPOINT active_record_1
141902
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' LIMIT 1
141903
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD5"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
141904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141905
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141906
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
141907
+ Parameters: {"token"=>"ABCD5", "user_email"=>"person-7@example.com", "device_token"=>{"token"=>"ABCD5"}}
141908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-7@example.com' LIMIT 1
141909
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141910
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
141911
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-7@example.com' LIMIT 1
141912
+  (0.0ms) SAVEPOINT active_record_1
141913
+ SQL (0.1ms) DELETE FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? [["id", 1]]
141914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141915
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
141916
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD5'
141917
+  (0.0ms) DELETE FROM "users";
141918
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141919
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141920
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141921
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141922
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141923
+  (0.1ms) DELETE FROM "notifiable_notifications";
141924
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141925
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141926
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
141927
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141928
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141929
+  (0.5ms) rollback transaction
141930
+  (0.1ms) begin transaction
141931
+  (0.1ms) SAVEPOINT active_record_1
141932
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-8@example.com"]]
141933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141934
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
141935
+ Parameters: {"token"=>"ZXY987", "user_email"=>"person-8@example.com", "device_token"=>{"token"=>"ZXY987"}}
141936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-8@example.com' LIMIT 1
141937
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ZXY987' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141938
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
141939
+  (0.0ms) SAVEPOINT active_record_1
141940
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-9@example.com"]]
141941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141942
+  (0.0ms) SAVEPOINT active_record_1
141943
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6' LIMIT 1
141944
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD6"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 2]]
141945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141946
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141947
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD6'
141948
+  (0.0ms) DELETE FROM "users";
141949
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141950
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141951
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141952
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141953
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141954
+  (0.0ms) DELETE FROM "notifiable_notifications";
141955
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141956
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141957
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141958
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141959
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141960
+  (0.8ms) rollback transaction
141961
+  (0.1ms) begin transaction
141962
+  (0.1ms) SAVEPOINT active_record_1
141963
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD7' LIMIT 1
141964
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "device_id", "provider", "token", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["device_id", "DEF456"], ["provider", :mpns], ["token", "ABCD7"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
141965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141966
+  (0.0ms) SAVEPOINT active_record_1
141967
+ SQL (0.4ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-10@example.com"]]
141968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141969
+ Processing by Notifiable::DeviceTokensController#create as JSON
141970
+ Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-10@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
141971
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
141972
+ Unpermitted parameters: user_email, device_token
141973
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-10@example.com' LIMIT 1
141974
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-10@example.com' LIMIT 1
141975
+  (0.0ms) SAVEPOINT active_record_1
141976
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABC123' AND "notifiable_device_tokens"."id" != 1) LIMIT 1
141977
+ SQL (0.2ms) UPDATE "notifiable_device_tokens" SET "token" = ?, "user_id" = ?, "updated_at" = ? WHERE "notifiable_device_tokens"."id" = 1 [["token", "ABC123"], ["user_id", 1], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
141978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
141979
+ Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
141980
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
141981
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
141982
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
141983
+  (0.1ms) DELETE FROM "users";
141984
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141985
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
141986
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
141987
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141988
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
141989
+  (0.1ms) DELETE FROM "notifiable_notifications";
141990
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141991
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
141992
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
141993
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
141994
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
141995
+  (0.5ms) rollback transaction
141996
+  (0.0ms) begin transaction
141997
+ Processing by Notifiable::DeviceTokensController#create as JSON
141998
+ Parameters: {"token"=>"ABC123", "provider"=>"apns", "device_token"=>{"token"=>"ABC123", "provider"=>"apns"}}
141999
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
142000
+ Unpermitted parameters: device_token
142001
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
142002
+  (0.0ms) SAVEPOINT active_record_1
142003
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
142004
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", "apns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
142005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142006
+ Completed 200 OK in 3ms (ActiveRecord: 0.6ms)
142007
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
142008
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
142009
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
142010
+  (0.0ms) SELECT COUNT(*) FROM "users"
142011
+  (0.1ms) DELETE FROM "users";
142012
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142013
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
142014
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
142015
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142016
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142017
+  (0.0ms) DELETE FROM "notifiable_notifications";
142018
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142019
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142020
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
142021
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142022
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142023
+  (0.5ms) rollback transaction
142024
+  (0.1ms) begin transaction
142025
+  (0.1ms) SAVEPOINT active_record_1
142026
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-11@example.com"]]
142027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142028
+  (0.0ms) SAVEPOINT active_record_1
142029
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8' LIMIT 1
142030
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD8"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
142031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142032
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
142033
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
142034
+ Parameters: {"token"=>"ABCD8", "device_token"=>{"token"=>"ABCD8"}}
142035
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT 1
142036
+ Filter chain halted as :ensure_current_notifiable_user rendered or redirected
142037
+ Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.1ms)
142038
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD8'
142039
+  (0.0ms) DELETE FROM "users";
142040
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142041
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
142042
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
142043
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142044
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142045
+  (0.1ms) DELETE FROM "notifiable_notifications";
142046
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142047
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142048
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
142049
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142050
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142051
+  (0.6ms) rollback transaction
142052
+  (0.1ms) begin transaction
142053
+  (0.1ms) SAVEPOINT active_record_1
142054
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-12@example.com"]]
142055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142056
+ Processing by Notifiable::DeviceTokensController#create as JSON
142057
+ Parameters: {"token"=>"ABC123", "device_id"=>"DEF456", "user_email"=>"person-12@example.com", "provider"=>"mpns", "device_token"=>{"token"=>"ABC123", "provider"=>"mpns", "device_id"=>"DEF456"}}
142058
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."device_id" = 'DEF456' LIMIT 1
142059
+ Unpermitted parameters: user_email, device_token
142060
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
142061
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-12@example.com' LIMIT 1
142062
+  (0.0ms) SAVEPOINT active_record_1
142063
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABC123' LIMIT 1
142064
+ SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("created_at", "device_id", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["device_id", "DEF456"], ["provider", "mpns"], ["token", "ABC123"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
142065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142066
+ Completed 200 OK in 4ms (ActiveRecord: 1.0ms)
142067
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens"
142068
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
142069
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
142070
+  (0.1ms) DELETE FROM "users";
142071
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142072
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
142073
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
142074
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142075
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142076
+  (0.1ms) DELETE FROM "notifiable_notifications";
142077
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142078
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142079
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
142080
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142081
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142082
+  (0.4ms) rollback transaction
142083
+  (0.0ms) begin transaction
142084
+  (0.1ms) SAVEPOINT active_record_1
142085
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-13@example.com"]]
142086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142087
+  (0.0ms) SAVEPOINT active_record_1
142088
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9' LIMIT 1
142089
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD9"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
142090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142091
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1 ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
142092
+  (0.0ms) SAVEPOINT active_record_1
142093
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-14@example.com"]]
142094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142095
+ Processing by Notifiable::DeviceTokensController#destroy as JSON
142096
+ Parameters: {"token"=>"ABCD9", "user_email"=>"person-14@example.com", "device_token"=>{"token"=>"ABCD9"}}
142097
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
142098
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9' ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1
142099
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
142100
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person-14@example.com' LIMIT 1
142101
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
142102
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD9'
142103
+  (0.0ms) DELETE FROM "users";
142104
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142105
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
142106
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
142107
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142108
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142109
+  (0.1ms) DELETE FROM "notifiable_notifications";
142110
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142111
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142112
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
142113
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142114
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142115
+  (0.5ms) rollback transaction
142116
+  (0.0ms) begin transaction
142117
+  (0.0ms) SAVEPOINT active_record_1
142118
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
142119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142120
+  (0.0ms) SAVEPOINT active_record_1
142121
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-15@example.com"]]
142122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142123
+  (0.0ms) SAVEPOINT active_record_1
142124
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD10' LIMIT 1
142125
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD10"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
142126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142127
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
142128
+  (0.0ms) SAVEPOINT active_record_1
142129
+ SQL (0.1ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-16@example.com"]]
142130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142131
+  (0.1ms) SAVEPOINT active_record_1
142132
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD11' LIMIT 1
142133
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD11"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 2]]
142134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142135
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
142136
+  (0.0ms) SAVEPOINT active_record_1
142137
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 200]]
142138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142139
+  (0.1ms) SAVEPOINT active_record_1
142140
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 2], ["notification_id", 1], ["status", 200]]
142141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142142
+  (0.1ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
142143
+ Notifiable::NotificationStatus Load (0.1ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
142144
+ Notifiable::Notification Load (0.1ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
142145
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
142146
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
142147
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
142148
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 2]]
142149
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
142150
+  (0.0ms) DELETE FROM "users";
142151
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142152
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
142153
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
142154
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142155
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142156
+  (0.0ms) DELETE FROM "notifiable_notifications";
142157
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142158
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142159
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
142160
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142161
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142162
+  (0.6ms) rollback transaction
142163
+  (0.1ms) begin transaction
142164
+  (0.1ms) SAVEPOINT active_record_1
142165
+ SQL (0.3ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-17@example.com"]]
142166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142167
+  (0.1ms) SAVEPOINT active_record_1
142168
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'DEF567' LIMIT 1
142169
+ SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :gcm], ["token", "DEF567"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
142170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142171
+  (0.0ms) SAVEPOINT active_record_1
142172
+ SQL (0.2ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
142173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142174
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
142175
+  (0.1ms) DELETE FROM "users";
142176
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142177
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
142178
+  (0.1ms) DELETE FROM "notifiable_device_tokens";
142179
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142180
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142181
+  (0.0ms) DELETE FROM "notifiable_notifications";
142182
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142183
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142184
+  (0.1ms) DELETE FROM "notifiable_notification_statuses";
142185
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142186
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142187
+  (0.4ms) rollback transaction
142188
+  (0.1ms) begin transaction
142189
+  (0.0ms) SAVEPOINT active_record_1
142190
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["message", "First test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
142191
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142192
+  (0.0ms) SAVEPOINT active_record_1
142193
+ SQL (0.2ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-18@example.com"]]
142194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
142195
+  (0.1ms) SAVEPOINT active_record_1
142196
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD12' LIMIT 1
142197
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD12"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 1]]
142198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142199
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
142200
+  (0.0ms) SAVEPOINT active_record_1
142201
+ SQL (0.1ms) INSERT INTO "notifiable_notifications" ("created_at", "message", "params", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["message", "Second test message"], ["params", nil], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00]]
142202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142203
+  (0.0ms) SAVEPOINT active_record_1
142204
+ SQL (0.0ms) INSERT INTO "users" ("email") VALUES (?) [["email", "person-19@example.com"]]
142205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142206
+  (0.0ms) SAVEPOINT active_record_1
142207
+ Notifiable::DeviceToken Exists (0.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = 'ABCD13' LIMIT 1
142208
+ SQL (0.2ms) INSERT INTO "notifiable_device_tokens" ("created_at", "provider", "token", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["provider", :mock], ["token", "ABCD13"], ["updated_at", Sat, 15 Feb 2014 12:19:21 UTC +00:00], ["user_id", 2]]
142209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142210
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
142211
+  (0.0ms) SAVEPOINT active_record_1
142212
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 1], ["notification_id", 1], ["status", 200]]
142213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142214
+  (0.0ms) SAVEPOINT active_record_1
142215
+ SQL (0.1ms) INSERT INTO "notifiable_notification_statuses" ("device_token_id", "notification_id", "status") VALUES (?, ?, ?) [["device_token_id", 2], ["notification_id", 2], ["status", 200]]
142216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142217
+  (0.0ms) SELECT COUNT(*) FROM "notifiable_notification_statuses"
142218
+ Notifiable::NotificationStatus Load (0.1ms) SELECT "notifiable_notification_statuses".* FROM "notifiable_notification_statuses"
142219
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 1]]
142220
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 1]]
142221
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 1
142222
+ Notifiable::Notification Load (0.0ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = ? ORDER BY "notifiable_notifications"."id" ASC LIMIT 1 [["id", 2]]
142223
+ Notifiable::DeviceToken Load (0.0ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = ? ORDER BY "notifiable_device_tokens"."id" ASC LIMIT 1 [["id", 2]]
142224
+ Notifiable::DeviceToken Load (0.1ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."user_id" = 2
142225
+  (0.1ms) DELETE FROM "users";
142226
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142227
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'users';
142228
+  (0.0ms) DELETE FROM "notifiable_device_tokens";
142229
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142230
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_device_tokens';
142231
+  (0.0ms) DELETE FROM "notifiable_notifications";
142232
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142233
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notifications';
142234
+  (0.0ms) DELETE FROM "notifiable_notification_statuses";
142235
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
142236
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'notifiable_notification_statuses';
142237
+  (0.5ms) rollback transaction