notifiable-rails 0.19.3 → 0.19.4

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