user_notifier 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -798,3 +798,863 @@ UserNotifier::Mailer#notify: processed outbound mail in 1.1ms
798
798
 
799
799
  UserNotifier::Mailer#notify: processed outbound mail in 1.9ms
800
800
   (0.8ms) rollback transaction
801
+  (5.3ms) begin transaction
802
+  (0.1ms) rollback transaction
803
+  (0.1ms) begin transaction
804
+  (0.1ms) rollback transaction
805
+  (0.1ms) begin transaction
806
+  (0.1ms) rollback transaction
807
+  (0.1ms) begin transaction
808
+  (0.1ms) rollback transaction
809
+  (0.1ms) begin transaction
810
+  (0.1ms) rollback transaction
811
+  (0.1ms) begin transaction
812
+  (0.1ms) rollback transaction
813
+  (0.1ms) begin transaction
814
+  (0.1ms) rollback transaction
815
+  (0.1ms) begin transaction
816
+  (0.1ms) rollback transaction
817
+  (0.0ms) begin transaction
818
+  (0.0ms) rollback transaction
819
+  (0.0ms) begin transaction
820
+  (0.0ms) rollback transaction
821
+  (0.0ms) begin transaction
822
+  (0.0ms) rollback transaction
823
+  (0.0ms) begin transaction
824
+  (0.0ms) rollback transaction
825
+  (0.0ms) begin transaction
826
+  (0.1ms) SAVEPOINT active_record_1
827
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:28.939552"], ["updated_at", "2015-07-13 19:28:28.939552"]]
828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
829
+  (0.1ms) SAVEPOINT active_record_1
830
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
832
+ Rendered user_notifier/mailer/test_subject.en.text.erb (1.4ms)
833
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.4ms)
834
+
835
+ UserNotifier::Mailer#notify: processed outbound mail in 184.3ms
836
+  (0.5ms) rollback transaction
837
+  (0.1ms) begin transaction
838
+  (0.0ms) SAVEPOINT active_record_1
839
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.145427"], ["updated_at", "2015-07-13 19:28:29.145427"]]
840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
841
+  (0.0ms) SAVEPOINT active_record_1
842
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
844
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.3ms)
845
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.3ms)
846
+
847
+ UserNotifier::Mailer#notify: processed outbound mail in 27.1ms
848
+  (0.5ms) rollback transaction
849
+  (0.0ms) begin transaction
850
+  (0.0ms) SAVEPOINT active_record_1
851
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.177253"], ["updated_at", "2015-07-13 19:28:29.177253"]]
852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
853
+  (0.0ms) SAVEPOINT active_record_1
854
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
856
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
857
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
858
+
859
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
860
+  (0.5ms) rollback transaction
861
+  (0.1ms) begin transaction
862
+  (0.0ms) SAVEPOINT active_record_1
863
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.183467"], ["updated_at", "2015-07-13 19:28:29.183467"]]
864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
865
+  (0.1ms) SAVEPOINT active_record_1
866
+ SQL (0.4ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
867
+  (0.1ms) RELEASE SAVEPOINT active_record_1
868
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.1ms)
869
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
870
+
871
+ UserNotifier::Mailer#notify: processed outbound mail in 1.9ms
872
+  (0.5ms) rollback transaction
873
+  (0.0ms) begin transaction
874
+  (0.0ms) SAVEPOINT active_record_1
875
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.191386"], ["updated_at", "2015-07-13 19:28:29.191386"]]
876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
877
+  (0.1ms) SAVEPOINT active_record_1
878
+ SQL (0.5ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
880
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
881
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
882
+
883
+ UserNotifier::Mailer#notify: processed outbound mail in 2.1ms
884
+  (0.9ms) rollback transaction
885
+  (0.1ms) begin transaction
886
+  (0.1ms) SAVEPOINT active_record_1
887
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.203028"], ["updated_at", "2015-07-13 19:28:29.203028"]]
888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
889
+  (0.1ms) SAVEPOINT active_record_1
890
+ SQL (0.6ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
892
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
893
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
894
+
895
+ UserNotifier::Mailer#notify: processed outbound mail in 2.1ms
896
+  (1.0ms) rollback transaction
897
+  (0.1ms) begin transaction
898
+  (0.0ms) SAVEPOINT active_record_1
899
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.214117"], ["updated_at", "2015-07-13 19:28:29.214117"]]
900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
901
+  (0.0ms) SAVEPOINT active_record_1
902
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
904
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
905
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
906
+
907
+ UserNotifier::Mailer#notify: processed outbound mail in 1.2ms
908
+  (0.5ms) rollback transaction
909
+  (0.0ms) begin transaction
910
+  (0.1ms) SAVEPOINT active_record_1
911
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.225094"], ["updated_at", "2015-07-13 19:28:29.225094"]]
912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
913
+  (0.1ms) SAVEPOINT active_record_1
914
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.229987"], ["updated_at", "2015-07-13 19:28:29.229987"]]
915
+  (0.1ms) RELEASE SAVEPOINT active_record_1
916
+  (0.0ms) SAVEPOINT active_record_1
917
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
919
+ UserNotification Load (0.1ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
920
+  (0.5ms) rollback transaction
921
+  (0.0ms) begin transaction
922
+  (0.0ms) SAVEPOINT active_record_1
923
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.238558"], ["updated_at", "2015-07-13 19:28:29.238558"]]
924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
925
+  (0.0ms) SAVEPOINT active_record_1
926
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.239964"], ["updated_at", "2015-07-13 19:28:29.239964"]]
927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
928
+  (0.2ms) SAVEPOINT active_record_1
929
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
931
+  (0.2ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = ? AND "user_notifications"."user_id" = 1 [["template_name", "another_test"]]
932
+  (0.1ms) SAVEPOINT active_record_1
933
+ SQL (0.2ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
935
+  (0.1ms) SELECT COUNT(*) FROM "user_notifications"
936
+  (0.6ms) rollback transaction
937
+  (0.1ms) begin transaction
938
+  (0.1ms) SAVEPOINT active_record_1
939
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.260485"], ["updated_at", "2015-07-13 19:28:29.260485"]]
940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
941
+  (0.0ms) SAVEPOINT active_record_1
942
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.262128"], ["updated_at", "2015-07-13 19:28:29.262128"]]
943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
944
+  (0.0ms) SAVEPOINT active_record_1
945
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
947
+  (0.0ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = ? AND "user_notifications"."user_id" = 1 [["template_name", "test"]]
948
+  (0.0ms) SELECT COUNT(*) FROM "user_notifications"
949
+  (0.5ms) rollback transaction
950
+  (0.0ms) begin transaction
951
+  (0.0ms) SAVEPOINT active_record_1
952
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.266825"], ["updated_at", "2015-07-13 19:28:29.266825"]]
953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
954
+  (0.0ms) SAVEPOINT active_record_1
955
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.268078"], ["updated_at", "2015-07-13 19:28:29.268078"]]
956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
957
+  (0.4ms) rollback transaction
958
+  (0.0ms) begin transaction
959
+  (0.0ms) SAVEPOINT active_record_1
960
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.271492"], ["updated_at", "2015-07-13 19:28:29.271492"]]
961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
962
+  (0.0ms) SAVEPOINT active_record_1
963
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.273003"], ["updated_at", "2015-07-13 19:28:29.273003"]]
964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
965
+  (0.1ms) SAVEPOINT active_record_1
966
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
968
+  (0.5ms) rollback transaction
969
+  (0.1ms) begin transaction
970
+  (0.1ms) SAVEPOINT active_record_1
971
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.279255"], ["updated_at", "2015-07-13 19:28:29.279255"]]
972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
973
+  (0.1ms) SAVEPOINT active_record_1
974
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.281292"], ["updated_at", "2015-07-13 19:28:29.281292"]]
975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
976
+  (0.0ms) SAVEPOINT active_record_1
977
+ SQL (0.1ms) INSERT INTO "order_notifications" ("template_name", "locale", "from_email", "from_name", "order_id", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["order_id", 1], ["user_id", 1]]
978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
979
+  (0.6ms) rollback transaction
980
+  (0.1ms) begin transaction
981
+  (0.1ms) SAVEPOINT active_record_1
982
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.291531"], ["updated_at", "2015-07-13 19:28:29.291531"]]
983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
984
+  (0.1ms) SAVEPOINT active_record_1
985
+ SQL (0.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.294804"], ["updated_at", "2015-07-13 19:28:29.294804"]]
986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
987
+  (0.1ms) SAVEPOINT active_record_1
988
+ SQL (0.2ms) INSERT INTO "order_notifications" ("template_name", "locale", "from_email", "from_name", "order_id", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["order_id", 1], ["user_id", 1]]
989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
990
+  (0.8ms) rollback transaction
991
+  (0.2ms) begin transaction
992
+  (0.1ms) SAVEPOINT active_record_1
993
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.305517"], ["updated_at", "2015-07-13 19:28:29.305517"]]
994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
995
+  (0.1ms) SAVEPOINT active_record_1
996
+ SQL (0.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.308122"], ["updated_at", "2015-07-13 19:28:29.308122"]]
997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
998
+  (0.0ms) SAVEPOINT active_record_1
999
+ SQL (0.1ms) INSERT INTO "order_notifications" ("template_name", "locale", "from_email", "from_name", "order_id", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["order_id", 1], ["user_id", 1]]
1000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1001
+  (0.5ms) rollback transaction
1002
+  (0.0ms) begin transaction
1003
+  (0.0ms) SAVEPOINT active_record_1
1004
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.313724"], ["updated_at", "2015-07-13 19:28:29.313724"]]
1005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1006
+  (0.0ms) SAVEPOINT active_record_1
1007
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.314924"], ["updated_at", "2015-07-13 19:28:29.314924"]]
1008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1009
+  (0.0ms) SAVEPOINT active_record_1
1010
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
1011
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1012
+  (0.9ms) rollback transaction
1013
+  (0.1ms) begin transaction
1014
+  (0.2ms) SAVEPOINT active_record_1
1015
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.336091"], ["updated_at", "2015-07-13 19:28:29.336091"]]
1016
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1017
+  (0.1ms) SAVEPOINT active_record_1
1018
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.339404"], ["updated_at", "2015-07-13 19:28:29.339404"]]
1019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1020
+  (0.1ms) SAVEPOINT active_record_1
1021
+ SQL (0.4ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
1022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1023
+  (0.6ms) rollback transaction
1024
+  (0.1ms) begin transaction
1025
+  (0.0ms) SAVEPOINT active_record_1
1026
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.347912"], ["updated_at", "2015-07-13 19:28:29.347912"]]
1027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1028
+  (0.0ms) SAVEPOINT active_record_1
1029
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.349159"], ["updated_at", "2015-07-13 19:28:29.349159"]]
1030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1031
+  (0.0ms) SAVEPOINT active_record_1
1032
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
1033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1034
+ UserNotification Load (0.1ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1035
+  (0.5ms) rollback transaction
1036
+  (0.0ms) begin transaction
1037
+  (0.0ms) SAVEPOINT active_record_1
1038
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "foo@bar.com"], ["created_at", "2015-07-13 19:28:29.353254"], ["updated_at", "2015-07-13 19:28:29.353254"]]
1039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1040
+  (0.0ms) SAVEPOINT active_record_1
1041
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["title", "test"], ["created_at", "2015-07-13 19:28:29.354501"], ["updated_at", "2015-07-13 19:28:29.354501"]]
1042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1043
+  (0.0ms) SAVEPOINT active_record_1
1044
+ SQL (0.1ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES (?, ?, ?, ?, ?) [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
1045
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1046
+  (0.5ms) rollback transaction
1047
+  (0.2ms) BEGIN
1048
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1049
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1050
+ ^
1051
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1052
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1053
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1054
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1055
+ WHERE a.attrelid = '"users"'::regclass
1056
+ AND a.attnum > 0 AND NOT a.attisdropped
1057
+ ORDER BY a.attnum
1058
+
1059
+  (0.4ms) ROLLBACK
1060
+  (0.3ms) BEGIN
1061
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1062
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1063
+ ^
1064
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1065
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1066
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1067
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1068
+ WHERE a.attrelid = '"users"'::regclass
1069
+ AND a.attnum > 0 AND NOT a.attisdropped
1070
+ ORDER BY a.attnum
1071
+
1072
+  (0.3ms) ROLLBACK
1073
+  (0.3ms) BEGIN
1074
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1075
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1076
+ ^
1077
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1078
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1079
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1080
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1081
+ WHERE a.attrelid = '"users"'::regclass
1082
+ AND a.attnum > 0 AND NOT a.attisdropped
1083
+ ORDER BY a.attnum
1084
+
1085
+  (0.3ms) ROLLBACK
1086
+  (0.3ms) BEGIN
1087
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1088
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1089
+ ^
1090
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1091
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1092
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1093
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1094
+ WHERE a.attrelid = '"users"'::regclass
1095
+ AND a.attnum > 0 AND NOT a.attisdropped
1096
+ ORDER BY a.attnum
1097
+
1098
+  (0.4ms) ROLLBACK
1099
+  (0.3ms) BEGIN
1100
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1101
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1102
+ ^
1103
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1104
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1105
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1106
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1107
+ WHERE a.attrelid = '"users"'::regclass
1108
+ AND a.attnum > 0 AND NOT a.attisdropped
1109
+ ORDER BY a.attnum
1110
+
1111
+  (0.2ms) ROLLBACK
1112
+  (0.2ms) BEGIN
1113
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1114
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1115
+ ^
1116
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1117
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1118
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1119
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1120
+ WHERE a.attrelid = '"users"'::regclass
1121
+ AND a.attnum > 0 AND NOT a.attisdropped
1122
+ ORDER BY a.attnum
1123
+
1124
+  (0.2ms) ROLLBACK
1125
+  (0.2ms) BEGIN
1126
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1127
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1128
+ ^
1129
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1130
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1131
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1132
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1133
+ WHERE a.attrelid = '"users"'::regclass
1134
+ AND a.attnum > 0 AND NOT a.attisdropped
1135
+ ORDER BY a.attnum
1136
+
1137
+  (0.1ms) ROLLBACK
1138
+  (0.2ms) BEGIN
1139
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1140
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1141
+ ^
1142
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1143
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1144
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1145
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1146
+ WHERE a.attrelid = '"users"'::regclass
1147
+ AND a.attnum > 0 AND NOT a.attisdropped
1148
+ ORDER BY a.attnum
1149
+
1150
+  (0.1ms) ROLLBACK
1151
+  (0.2ms) BEGIN
1152
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1153
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1154
+ ^
1155
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1156
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1157
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1158
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1159
+ WHERE a.attrelid = '"users"'::regclass
1160
+ AND a.attnum > 0 AND NOT a.attisdropped
1161
+ ORDER BY a.attnum
1162
+
1163
+  (0.2ms) ROLLBACK
1164
+  (0.2ms) BEGIN
1165
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1166
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1167
+ ^
1168
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1169
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1170
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1171
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1172
+ WHERE a.attrelid = '"users"'::regclass
1173
+ AND a.attnum > 0 AND NOT a.attisdropped
1174
+ ORDER BY a.attnum
1175
+
1176
+  (0.2ms) ROLLBACK
1177
+  (0.2ms) BEGIN
1178
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1179
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1180
+ ^
1181
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1182
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1183
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1184
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1185
+ WHERE a.attrelid = '"users"'::regclass
1186
+ AND a.attnum > 0 AND NOT a.attisdropped
1187
+ ORDER BY a.attnum
1188
+
1189
+  (0.1ms) ROLLBACK
1190
+  (0.2ms) BEGIN
1191
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1192
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1193
+ ^
1194
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1195
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1196
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1197
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1198
+ WHERE a.attrelid = '"users"'::regclass
1199
+ AND a.attnum > 0 AND NOT a.attisdropped
1200
+ ORDER BY a.attnum
1201
+
1202
+  (0.1ms) ROLLBACK
1203
+  (0.1ms) BEGIN
1204
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1205
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1206
+ ^
1207
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1208
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1209
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1210
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1211
+ WHERE a.attrelid = '"users"'::regclass
1212
+ AND a.attnum > 0 AND NOT a.attisdropped
1213
+ ORDER BY a.attnum
1214
+
1215
+  (0.2ms) ROLLBACK
1216
+  (0.2ms) BEGIN
1217
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1218
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1219
+ ^
1220
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1221
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1222
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1223
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1224
+ WHERE a.attrelid = '"users"'::regclass
1225
+ AND a.attnum > 0 AND NOT a.attisdropped
1226
+ ORDER BY a.attnum
1227
+
1228
+  (0.2ms) ROLLBACK
1229
+  (0.2ms) BEGIN
1230
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1231
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1232
+ ^
1233
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1234
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1235
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1236
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1237
+ WHERE a.attrelid = '"users"'::regclass
1238
+ AND a.attnum > 0 AND NOT a.attisdropped
1239
+ ORDER BY a.attnum
1240
+
1241
+  (0.1ms) ROLLBACK
1242
+  (0.1ms) BEGIN
1243
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1244
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1245
+ ^
1246
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1247
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1248
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1249
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1250
+ WHERE a.attrelid = '"users"'::regclass
1251
+ AND a.attnum > 0 AND NOT a.attisdropped
1252
+ ORDER BY a.attnum
1253
+
1254
+  (0.2ms) ROLLBACK
1255
+  (0.2ms) BEGIN
1256
+  (0.2ms) ROLLBACK
1257
+  (0.2ms) BEGIN
1258
+  (0.2ms) ROLLBACK
1259
+  (0.2ms) BEGIN
1260
+  (0.2ms) ROLLBACK
1261
+  (0.2ms) BEGIN
1262
+  (0.1ms) ROLLBACK
1263
+  (0.1ms) BEGIN
1264
+  (0.2ms) ROLLBACK
1265
+  (0.1ms) BEGIN
1266
+  (0.1ms) ROLLBACK
1267
+  (0.1ms) BEGIN
1268
+  (0.1ms) ROLLBACK
1269
+  (0.1ms) BEGIN
1270
+  (0.1ms) ROLLBACK
1271
+  (0.1ms) BEGIN
1272
+  (0.1ms) ROLLBACK
1273
+  (0.1ms) BEGIN
1274
+  (0.1ms) ROLLBACK
1275
+  (0.1ms) BEGIN
1276
+  (0.2ms) ROLLBACK
1277
+  (0.1ms) BEGIN
1278
+  (0.1ms) ROLLBACK
1279
+  (0.1ms) BEGIN
1280
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1281
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1282
+ ^
1283
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1284
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1285
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1286
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1287
+ WHERE a.attrelid = '"users"'::regclass
1288
+ AND a.attnum > 0 AND NOT a.attisdropped
1289
+ ORDER BY a.attnum
1290
+
1291
+  (0.2ms) ROLLBACK
1292
+  (0.1ms) BEGIN
1293
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1294
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1295
+ ^
1296
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1297
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1298
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1299
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1300
+ WHERE a.attrelid = '"users"'::regclass
1301
+ AND a.attnum > 0 AND NOT a.attisdropped
1302
+ ORDER BY a.attnum
1303
+
1304
+  (0.3ms) ROLLBACK
1305
+  (0.3ms) BEGIN
1306
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1307
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1308
+ ^
1309
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1310
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1311
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1312
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1313
+ WHERE a.attrelid = '"users"'::regclass
1314
+ AND a.attnum > 0 AND NOT a.attisdropped
1315
+ ORDER BY a.attnum
1316
+
1317
+  (0.4ms) ROLLBACK
1318
+  (0.4ms) BEGIN
1319
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1320
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1321
+ ^
1322
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1323
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1324
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1325
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1326
+ WHERE a.attrelid = '"users"'::regclass
1327
+ AND a.attnum > 0 AND NOT a.attisdropped
1328
+ ORDER BY a.attnum
1329
+
1330
+  (0.3ms) ROLLBACK
1331
+  (0.5ms) BEGIN
1332
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1333
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1334
+ ^
1335
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1336
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1337
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1338
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1339
+ WHERE a.attrelid = '"users"'::regclass
1340
+ AND a.attnum > 0 AND NOT a.attisdropped
1341
+ ORDER BY a.attnum
1342
+
1343
+  (0.5ms) ROLLBACK
1344
+  (0.4ms) BEGIN
1345
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1346
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1347
+ ^
1348
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1349
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1350
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1351
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1352
+ WHERE a.attrelid = '"users"'::regclass
1353
+ AND a.attnum > 0 AND NOT a.attisdropped
1354
+ ORDER BY a.attnum
1355
+
1356
+  (0.4ms) ROLLBACK
1357
+  (0.2ms) BEGIN
1358
+ PG::UndefinedTable: ERROR: relation "users" does not exist
1359
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
1360
+ ^
1361
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
1362
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
1363
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
1364
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
1365
+ WHERE a.attrelid = '"users"'::regclass
1366
+ AND a.attnum > 0 AND NOT a.attisdropped
1367
+ ORDER BY a.attnum
1368
+
1369
+  (0.2ms) ROLLBACK
1370
+  (0.2ms) BEGIN
1371
+  (0.3ms) SAVEPOINT active_record_1
1372
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.267323"], ["updated_at", "2015-07-13 20:09:12.267323"]]
1373
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1374
+  (0.5ms) SAVEPOINT active_record_1
1375
+ SQL (1.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 1]]
1376
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1377
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (1.3ms)
1378
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.3ms)
1379
+
1380
+ UserNotifier::Mailer#notify: processed outbound mail in 170.3ms
1381
+  (0.3ms) ROLLBACK
1382
+  (0.2ms) BEGIN
1383
+  (0.2ms) SAVEPOINT active_record_1
1384
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.469778"], ["updated_at", "2015-07-13 20:09:12.469778"]]
1385
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1386
+  (0.2ms) SAVEPOINT active_record_1
1387
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 2]]
1388
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1389
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
1390
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
1391
+
1392
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
1393
+  (0.2ms) ROLLBACK
1394
+  (0.1ms) BEGIN
1395
+  (0.2ms) SAVEPOINT active_record_1
1396
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.477635"], ["updated_at", "2015-07-13 20:09:12.477635"]]
1397
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1398
+  (0.1ms) SAVEPOINT active_record_1
1399
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 3]]
1400
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1401
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.3ms)
1402
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
1403
+
1404
+ UserNotifier::Mailer#notify: processed outbound mail in 24.3ms
1405
+  (0.2ms) ROLLBACK
1406
+  (0.1ms) BEGIN
1407
+  (0.2ms) SAVEPOINT active_record_1
1408
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.508396"], ["updated_at", "2015-07-13 20:09:12.508396"]]
1409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1410
+  (0.2ms) SAVEPOINT active_record_1
1411
+ SQL (0.5ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 4]]
1412
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1413
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1414
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1415
+
1416
+ UserNotifier::Mailer#notify: processed outbound mail in 1.7ms
1417
+  (0.2ms) ROLLBACK
1418
+  (0.2ms) BEGIN
1419
+  (0.4ms) SAVEPOINT active_record_1
1420
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.518172"], ["updated_at", "2015-07-13 20:09:12.518172"]]
1421
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1422
+  (0.3ms) SAVEPOINT active_record_1
1423
+ SQL (0.9ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 5]]
1424
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1425
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1426
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.1ms)
1427
+
1428
+ UserNotifier::Mailer#notify: processed outbound mail in 2.6ms
1429
+  (0.5ms) ROLLBACK
1430
+  (0.3ms) BEGIN
1431
+  (0.5ms) SAVEPOINT active_record_1
1432
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.535779"], ["updated_at", "2015-07-13 20:09:12.535779"]]
1433
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1434
+  (0.1ms) SAVEPOINT active_record_1
1435
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 6]]
1436
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1437
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1438
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1439
+
1440
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
1441
+  (0.3ms) ROLLBACK
1442
+  (0.2ms) BEGIN
1443
+  (0.1ms) SAVEPOINT active_record_1
1444
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.544474"], ["updated_at", "2015-07-13 20:09:12.544474"]]
1445
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1446
+  (0.1ms) SAVEPOINT active_record_1
1447
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 7]]
1448
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1449
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1450
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1451
+
1452
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
1453
+  (0.3ms) ROLLBACK
1454
+  (0.2ms) BEGIN
1455
+  (0.2ms) ROLLBACK
1456
+  (0.1ms) BEGIN
1457
+  (0.2ms) ROLLBACK
1458
+  (0.2ms) BEGIN
1459
+  (0.2ms) ROLLBACK
1460
+  (0.2ms) BEGIN
1461
+  (0.2ms) ROLLBACK
1462
+  (0.2ms) BEGIN
1463
+  (0.2ms) ROLLBACK
1464
+  (0.2ms) BEGIN
1465
+  (0.1ms) ROLLBACK
1466
+  (0.1ms) BEGIN
1467
+  (0.1ms) ROLLBACK
1468
+  (0.1ms) BEGIN
1469
+  (0.1ms) ROLLBACK
1470
+  (0.1ms) BEGIN
1471
+  (0.1ms) ROLLBACK
1472
+  (0.1ms) BEGIN
1473
+  (0.2ms) ROLLBACK
1474
+  (0.1ms) BEGIN
1475
+  (0.2ms) ROLLBACK
1476
+  (0.4ms) BEGIN
1477
+  (0.2ms) ROLLBACK
1478
+  (0.3ms) BEGIN
1479
+  (0.6ms) SAVEPOINT active_record_1
1480
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.581605"], ["updated_at", "2015-07-13 20:09:12.581605"]]
1481
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1482
+  (0.3ms) SAVEPOINT active_record_1
1483
+ SQL (0.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 8], ["title", "test"], ["created_at", "2015-07-13 20:09:12.590870"], ["updated_at", "2015-07-13 20:09:12.590870"]]
1484
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1485
+  (0.2ms) SAVEPOINT active_record_1
1486
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 8]]
1487
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1488
+  (0.2ms) ROLLBACK
1489
+  (0.2ms) BEGIN
1490
+  (0.2ms) SAVEPOINT active_record_1
1491
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.597841"], ["updated_at", "2015-07-13 20:09:12.597841"]]
1492
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1493
+  (0.2ms) SAVEPOINT active_record_1
1494
+ SQL (0.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 9], ["title", "test"], ["created_at", "2015-07-13 20:09:12.599818"], ["updated_at", "2015-07-13 20:09:12.599818"]]
1495
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1496
+  (0.3ms) SAVEPOINT active_record_1
1497
+ SQL (0.7ms) INSERT INTO "order_notifications" ("template_name", "locale", "from_email", "from_name", "order_id", "user_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["order_id", 2], ["user_id", 9]]
1498
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1499
+  (0.2ms) ROLLBACK
1500
+  (0.2ms) BEGIN
1501
+  (0.2ms) SAVEPOINT active_record_1
1502
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.617796"], ["updated_at", "2015-07-13 20:09:12.617796"]]
1503
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1504
+  (0.2ms) SAVEPOINT active_record_1
1505
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 10], ["title", "test"], ["created_at", "2015-07-13 20:09:12.619823"], ["updated_at", "2015-07-13 20:09:12.619823"]]
1506
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1507
+  (0.2ms) SAVEPOINT active_record_1
1508
+ SQL (0.3ms) INSERT INTO "order_notifications" ("template_name", "locale", "from_email", "from_name", "order_id", "user_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["order_id", 3], ["user_id", 10]]
1509
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1510
+  (0.2ms) ROLLBACK
1511
+  (0.2ms) BEGIN
1512
+  (0.2ms) SAVEPOINT active_record_1
1513
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.625628"], ["updated_at", "2015-07-13 20:09:12.625628"]]
1514
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1515
+  (0.2ms) SAVEPOINT active_record_1
1516
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 11], ["title", "test"], ["created_at", "2015-07-13 20:09:12.627738"], ["updated_at", "2015-07-13 20:09:12.627738"]]
1517
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1518
+  (0.2ms) SAVEPOINT active_record_1
1519
+ SQL (0.3ms) INSERT INTO "order_notifications" ("template_name", "locale", "from_email", "from_name", "order_id", "user_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["order_id", 4], ["user_id", 11]]
1520
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1521
+  (0.2ms) ROLLBACK
1522
+  (0.4ms) BEGIN
1523
+  (0.5ms) SAVEPOINT active_record_1
1524
+ SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.636311"], ["updated_at", "2015-07-13 20:09:12.636311"]]
1525
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1526
+  (0.4ms) SAVEPOINT active_record_1
1527
+ SQL (0.8ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 12], ["title", "test"], ["created_at", "2015-07-13 20:09:12.641243"], ["updated_at", "2015-07-13 20:09:12.641243"]]
1528
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1529
+  (0.6ms) ROLLBACK
1530
+  (0.4ms) BEGIN
1531
+  (0.3ms) SAVEPOINT active_record_1
1532
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.651671"], ["updated_at", "2015-07-13 20:09:12.651671"]]
1533
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1534
+  (0.2ms) SAVEPOINT active_record_1
1535
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 13], ["title", "test"], ["created_at", "2015-07-13 20:09:12.655289"], ["updated_at", "2015-07-13 20:09:12.655289"]]
1536
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1537
+  (0.3ms) SAVEPOINT active_record_1
1538
+ SQL (0.4ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 13]]
1539
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1540
+ UserNotification Load (1.0ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1541
+  (0.4ms) ROLLBACK
1542
+  (0.4ms) BEGIN
1543
+  (0.5ms) SAVEPOINT active_record_1
1544
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.668326"], ["updated_at", "2015-07-13 20:09:12.668326"]]
1545
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1546
+  (0.3ms) SAVEPOINT active_record_1
1547
+ SQL (0.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 14], ["title", "test"], ["created_at", "2015-07-13 20:09:12.672020"], ["updated_at", "2015-07-13 20:09:12.672020"]]
1548
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1549
+  (0.3ms) SAVEPOINT active_record_1
1550
+ SQL (0.7ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 14]]
1551
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1552
+  (0.5ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 14 [["template_name", "test"]]
1553
+  (2.2ms) SELECT COUNT(*) FROM "user_notifications"
1554
+  (0.2ms) ROLLBACK
1555
+  (0.2ms) BEGIN
1556
+  (0.2ms) SAVEPOINT active_record_1
1557
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.693543"], ["updated_at", "2015-07-13 20:09:12.693543"]]
1558
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1559
+  (0.2ms) SAVEPOINT active_record_1
1560
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 15], ["title", "test"], ["created_at", "2015-07-13 20:09:12.695686"], ["updated_at", "2015-07-13 20:09:12.695686"]]
1561
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1562
+  (0.1ms) SAVEPOINT active_record_1
1563
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 15]]
1564
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1565
+  (0.7ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 15 [["template_name", "another_test"]]
1566
+  (0.2ms) SAVEPOINT active_record_1
1567
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 15]]
1568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1569
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
1570
+  (0.2ms) ROLLBACK
1571
+  (0.1ms) BEGIN
1572
+  (0.1ms) SAVEPOINT active_record_1
1573
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.708357"], ["updated_at", "2015-07-13 20:09:12.708357"]]
1574
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1575
+  (0.2ms) SAVEPOINT active_record_1
1576
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 16], ["title", "test"], ["created_at", "2015-07-13 20:09:12.710443"], ["updated_at", "2015-07-13 20:09:12.710443"]]
1577
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1578
+  (0.2ms) SAVEPOINT active_record_1
1579
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 16]]
1580
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1581
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1582
+  (0.2ms) ROLLBACK
1583
+  (0.4ms) BEGIN
1584
+  (0.5ms) SAVEPOINT active_record_1
1585
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.721269"], ["updated_at", "2015-07-13 20:09:12.721269"]]
1586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1587
+  (0.2ms) SAVEPOINT active_record_1
1588
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 17], ["title", "test"], ["created_at", "2015-07-13 20:09:12.723589"], ["updated_at", "2015-07-13 20:09:12.723589"]]
1589
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1590
+  (0.2ms) SAVEPOINT active_record_1
1591
+ SQL (0.5ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 17]]
1592
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1593
+  (0.3ms) ROLLBACK
1594
+  (0.2ms) BEGIN
1595
+  (0.3ms) SAVEPOINT active_record_1
1596
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.731851"], ["updated_at", "2015-07-13 20:09:12.731851"]]
1597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1598
+  (0.2ms) SAVEPOINT active_record_1
1599
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 18], ["title", "test"], ["created_at", "2015-07-13 20:09:12.734614"], ["updated_at", "2015-07-13 20:09:12.734614"]]
1600
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1601
+  (0.2ms) SAVEPOINT active_record_1
1602
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 18]]
1603
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1604
+  (0.2ms) ROLLBACK
1605
+  (0.2ms) BEGIN
1606
+  (0.2ms) SAVEPOINT active_record_1
1607
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.740388"], ["updated_at", "2015-07-13 20:09:12.740388"]]
1608
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1609
+  (0.2ms) SAVEPOINT active_record_1
1610
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 19], ["title", "test"], ["created_at", "2015-07-13 20:09:12.742726"], ["updated_at", "2015-07-13 20:09:12.742726"]]
1611
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1612
+  (0.2ms) SAVEPOINT active_record_1
1613
+ SQL (0.3ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id", "deliver_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["template_name", "deliver_at_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 19], ["deliver_at", "2015-07-16 20:09:12.744053"]]
1614
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1615
+ UserNotification Load (0.7ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1616
+  (0.7ms) ROLLBACK
1617
+  (0.2ms) BEGIN
1618
+  (0.3ms) SAVEPOINT active_record_1
1619
+ SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.755275"], ["updated_at", "2015-07-13 20:09:12.755275"]]
1620
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1621
+  (0.3ms) SAVEPOINT active_record_1
1622
+ SQL (0.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 20], ["title", "test"], ["created_at", "2015-07-13 20:09:12.759302"], ["updated_at", "2015-07-13 20:09:12.759302"]]
1623
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1624
+  (0.4ms) SAVEPOINT active_record_1
1625
+ SQL (0.8ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id", "deliver_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["template_name", "deliver_at_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 20], ["deliver_at", "2015-07-16 20:09:12.762403"]]
1626
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1627
+  (0.4ms) ROLLBACK
1628
+  (0.2ms) BEGIN
1629
+  (0.1ms) SAVEPOINT active_record_1
1630
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.772260"], ["updated_at", "2015-07-13 20:09:12.772260"]]
1631
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1632
+  (0.2ms) SAVEPOINT active_record_1
1633
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 21], ["title", "test"], ["created_at", "2015-07-13 20:09:12.774886"], ["updated_at", "2015-07-13 20:09:12.774886"]]
1634
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635
+  (0.2ms) SAVEPOINT active_record_1
1636
+ SQL (0.5ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id", "deliver_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["template_name", "deliver_at_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 21], ["deliver_at", "2015-07-16 20:09:12.776752"]]
1637
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1638
+  (0.2ms) ROLLBACK
1639
+  (0.2ms) BEGIN
1640
+  (0.5ms) SAVEPOINT active_record_1
1641
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.783667"], ["updated_at", "2015-07-13 20:09:12.783667"]]
1642
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1643
+  (0.4ms) SAVEPOINT active_record_1
1644
+ SQL (0.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22], ["title", "test"], ["created_at", "2015-07-13 20:09:12.787925"], ["updated_at", "2015-07-13 20:09:12.787925"]]
1645
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1646
+  (0.4ms) SAVEPOINT active_record_1
1647
+ SQL (1.0ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 22]]
1648
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1649
+  (0.3ms) ROLLBACK
1650
+  (0.2ms) BEGIN
1651
+  (0.2ms) SAVEPOINT active_record_1
1652
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-07-13 20:09:12.810102"], ["updated_at", "2015-07-13 20:09:12.810102"]]
1653
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1654
+  (0.2ms) SAVEPOINT active_record_1
1655
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 23], ["title", "test"], ["created_at", "2015-07-13 20:09:12.812519"], ["updated_at", "2015-07-13 20:09:12.812519"]]
1656
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1657
+  (0.2ms) SAVEPOINT active_record_1
1658
+ SQL (0.4ms) INSERT INTO "user_notifications" ("template_name", "locale", "from_email", "from_name", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["template_name", "test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 23]]
1659
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1660
+  (0.4ms) ROLLBACK