user_notifier 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1658,3 +1658,2996 @@ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
1658
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
1659
   (0.5ms) RELEASE SAVEPOINT active_record_1
1660
1660
   (0.4ms) ROLLBACK
1661
+  (0.2ms) BEGIN
1662
+  (0.3ms) SAVEPOINT active_record_1
1663
+ SQL (3.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.463585"], ["updated_at", "2015-12-16 21:50:34.463585"]]
1664
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1665
+  (0.3ms) SAVEPOINT active_record_1
1666
+ SQL (1.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 24], ["title", "test"], ["created_at", "2015-12-16 21:50:34.489941"], ["updated_at", "2015-12-16 21:50:34.489941"]]
1667
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1668
+  (0.3ms) ROLLBACK
1669
+  (0.2ms) BEGIN
1670
+  (0.2ms) SAVEPOINT active_record_1
1671
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.500149"], ["updated_at", "2015-12-16 21:50:34.500149"]]
1672
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1673
+  (0.1ms) SAVEPOINT active_record_1
1674
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 25], ["title", "test"], ["created_at", "2015-12-16 21:50:34.502663"], ["updated_at", "2015-12-16 21:50:34.502663"]]
1675
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1676
+  (0.2ms) SAVEPOINT active_record_1
1677
+ SQL (1.6ms) 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", 25]]
1678
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1679
+  (0.2ms) ROLLBACK
1680
+  (0.1ms) BEGIN
1681
+  (0.2ms) SAVEPOINT active_record_1
1682
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.521693"], ["updated_at", "2015-12-16 21:50:34.521693"]]
1683
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1684
+  (0.2ms) SAVEPOINT active_record_1
1685
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 26], ["title", "test"], ["created_at", "2015-12-16 21:50:34.523992"], ["updated_at", "2015-12-16 21:50:34.523992"]]
1686
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1687
+  (0.2ms) SAVEPOINT active_record_1
1688
+ SQL (1.5ms) 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", 19], ["user_id", 26]]
1689
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1690
+  (0.3ms) ROLLBACK
1691
+  (0.2ms) BEGIN
1692
+  (0.2ms) SAVEPOINT active_record_1
1693
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.541136"], ["updated_at", "2015-12-16 21:50:34.541136"]]
1694
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1695
+  (0.2ms) SAVEPOINT active_record_1
1696
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 27], ["title", "test"], ["created_at", "2015-12-16 21:50:34.544563"], ["updated_at", "2015-12-16 21:50:34.544563"]]
1697
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1698
+  (0.1ms) SAVEPOINT active_record_1
1699
+ SQL (0.4ms) 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", 20], ["user_id", 27]]
1700
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1701
+  (0.3ms) ROLLBACK
1702
+  (0.3ms) BEGIN
1703
+  (0.6ms) SAVEPOINT active_record_1
1704
+ SQL (1.1ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.558564"], ["updated_at", "2015-12-16 21:50:34.558564"]]
1705
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1706
+  (0.6ms) SAVEPOINT active_record_1
1707
+ SQL (1.1ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 28], ["title", "test"], ["created_at", "2015-12-16 21:50:34.566672"], ["updated_at", "2015-12-16 21:50:34.566672"]]
1708
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1709
+  (0.1ms) SAVEPOINT active_record_1
1710
+ 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", 21], ["user_id", 28]]
1711
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1712
+  (0.2ms) ROLLBACK
1713
+  (0.2ms) BEGIN
1714
+  (0.2ms) SAVEPOINT active_record_1
1715
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.576210"], ["updated_at", "2015-12-16 21:50:34.576210"]]
1716
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1717
+  (0.2ms) SAVEPOINT active_record_1
1718
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 29], ["title", "test"], ["created_at", "2015-12-16 21:50:34.578895"], ["updated_at", "2015-12-16 21:50:34.578895"]]
1719
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1720
+  (0.1ms) SAVEPOINT active_record_1
1721
+ 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", 29]]
1722
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1723
+ UserNotification Load (1.7ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1724
+  (0.3ms) ROLLBACK
1725
+  (0.2ms) BEGIN
1726
+  (0.2ms) SAVEPOINT active_record_1
1727
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.591365"], ["updated_at", "2015-12-16 21:50:34.591365"]]
1728
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1729
+  (0.2ms) SAVEPOINT active_record_1
1730
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 30], ["title", "test"], ["created_at", "2015-12-16 21:50:34.594332"], ["updated_at", "2015-12-16 21:50:34.594332"]]
1731
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1732
+  (0.4ms) SAVEPOINT active_record_1
1733
+ SQL (1.1ms) 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", 30]]
1734
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1735
+  (0.5ms) ROLLBACK
1736
+  (0.5ms) BEGIN
1737
+  (0.4ms) SAVEPOINT active_record_1
1738
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.616617"], ["updated_at", "2015-12-16 21:50:34.616617"]]
1739
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1740
+  (0.2ms) SAVEPOINT active_record_1
1741
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 31], ["title", "test"], ["created_at", "2015-12-16 21:50:34.620951"], ["updated_at", "2015-12-16 21:50:34.620951"]]
1742
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1743
+  (0.2ms) SAVEPOINT active_record_1
1744
+ 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", 31]]
1745
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1746
+  (0.2ms) ROLLBACK
1747
+  (0.1ms) BEGIN
1748
+  (0.2ms) SAVEPOINT active_record_1
1749
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.628578"], ["updated_at", "2015-12-16 21:50:34.628578"]]
1750
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1751
+  (0.1ms) SAVEPOINT active_record_1
1752
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 32], ["title", "test"], ["created_at", "2015-12-16 21:50:34.630615"], ["updated_at", "2015-12-16 21:50:34.630615"]]
1753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1754
+  (0.1ms) SAVEPOINT active_record_1
1755
+ 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", 32], ["deliver_at", "2015-12-19 21:50:34.631911"]]
1756
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1757
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1758
+  (0.2ms) ROLLBACK
1759
+  (0.2ms) BEGIN
1760
+  (0.2ms) SAVEPOINT active_record_1
1761
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.638578"], ["updated_at", "2015-12-16 21:50:34.638578"]]
1762
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1763
+  (0.2ms) SAVEPOINT active_record_1
1764
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 33], ["title", "test"], ["created_at", "2015-12-16 21:50:34.641346"], ["updated_at", "2015-12-16 21:50:34.641346"]]
1765
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1766
+  (0.3ms) SAVEPOINT active_record_1
1767
+ SQL (0.4ms) 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", 33], ["deliver_at", "2015-12-19 21:50:34.643726"]]
1768
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1769
+  (0.2ms) ROLLBACK
1770
+  (0.2ms) BEGIN
1771
+  (0.3ms) SAVEPOINT active_record_1
1772
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.654265"], ["updated_at", "2015-12-16 21:50:34.654265"]]
1773
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1774
+  (0.6ms) SAVEPOINT active_record_1
1775
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 34], ["title", "test"], ["created_at", "2015-12-16 21:50:34.661875"], ["updated_at", "2015-12-16 21:50:34.661875"]]
1776
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1777
+  (0.5ms) SAVEPOINT active_record_1
1778
+ SQL (0.4ms) 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", 34], ["deliver_at", "2015-12-19 21:50:34.667116"]]
1779
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1780
+  (0.2ms) ROLLBACK
1781
+  (0.1ms) BEGIN
1782
+  (0.2ms) SAVEPOINT active_record_1
1783
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.673643"], ["updated_at", "2015-12-16 21:50:34.673643"]]
1784
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1785
+  (0.1ms) SAVEPOINT active_record_1
1786
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 35], ["title", "test"], ["created_at", "2015-12-16 21:50:34.675772"], ["updated_at", "2015-12-16 21:50:34.675772"]]
1787
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1788
+  (0.1ms) SAVEPOINT active_record_1
1789
+ 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", 35]]
1790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1791
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
1792
+  (0.2ms) ROLLBACK
1793
+  (0.1ms) BEGIN
1794
+  (0.1ms) SAVEPOINT active_record_1
1795
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.683044"], ["updated_at", "2015-12-16 21:50:34.683044"]]
1796
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1797
+  (0.2ms) SAVEPOINT active_record_1
1798
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 36], ["title", "test"], ["created_at", "2015-12-16 21:50:34.685728"], ["updated_at", "2015-12-16 21:50:34.685728"]]
1799
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1800
+  (0.2ms) SAVEPOINT active_record_1
1801
+ 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", 36]]
1802
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1803
+  (1.1ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 36 [["template_name", "another_test"]]
1804
+  (0.5ms) SAVEPOINT active_record_1
1805
+ 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", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 36]]
1806
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1807
+  (1.2ms) SELECT COUNT(*) FROM "user_notifications"
1808
+  (0.6ms) ROLLBACK
1809
+  (0.3ms) BEGIN
1810
+  (0.3ms) SAVEPOINT active_record_1
1811
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.718685"], ["updated_at", "2015-12-16 21:50:34.718685"]]
1812
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1813
+  (0.2ms) SAVEPOINT active_record_1
1814
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 37], ["title", "test"], ["created_at", "2015-12-16 21:50:34.721084"], ["updated_at", "2015-12-16 21:50:34.721084"]]
1815
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1816
+  (0.1ms) SAVEPOINT active_record_1
1817
+ 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", 37]]
1818
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1819
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 37 [["template_name", "test"]]
1820
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications"
1821
+  (0.2ms) ROLLBACK
1822
+  (0.1ms) BEGIN
1823
+  (0.1ms) SAVEPOINT active_record_1
1824
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.729429"], ["updated_at", "2015-12-16 21:50:34.729429"]]
1825
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1826
+  (0.1ms) SAVEPOINT active_record_1
1827
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 38], ["title", "test"], ["created_at", "2015-12-16 21:50:34.731514"], ["updated_at", "2015-12-16 21:50:34.731514"]]
1828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1829
+  (0.2ms) SAVEPOINT active_record_1
1830
+ 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", 38]]
1831
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1832
+  (0.3ms) ROLLBACK
1833
+  (0.2ms) BEGIN
1834
+  (0.2ms) SAVEPOINT active_record_1
1835
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.749664"], ["updated_at", "2015-12-16 21:50:34.749664"]]
1836
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1837
+  (0.2ms) SAVEPOINT active_record_1
1838
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 39], ["title", "test"], ["created_at", "2015-12-16 21:50:34.752226"], ["updated_at", "2015-12-16 21:50:34.752226"]]
1839
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1840
+  (0.2ms) SAVEPOINT active_record_1
1841
+ 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", 39]]
1842
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1843
+  (0.2ms) ROLLBACK
1844
+  (0.2ms) BEGIN
1845
+  (0.2ms) SAVEPOINT active_record_1
1846
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.764152"], ["updated_at", "2015-12-16 21:50:34.764152"]]
1847
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1848
+  (0.2ms) SAVEPOINT active_record_1
1849
+ SQL (0.2ms) 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", 40]]
1850
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1851
+ Rendered user_notifier/mailer/test_subject.en.text.erb (1.4ms)
1852
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
1853
+
1854
+ UserNotifier::Mailer#notify: processed outbound mail in 201.8ms
1855
+  (0.4ms) ROLLBACK
1856
+  (0.2ms) BEGIN
1857
+  (0.1ms) SAVEPOINT active_record_1
1858
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.975960"], ["updated_at", "2015-12-16 21:50:34.975960"]]
1859
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1860
+  (0.1ms) SAVEPOINT active_record_1
1861
+ 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", 41]]
1862
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1863
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1864
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1865
+
1866
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
1867
+  (0.2ms) ROLLBACK
1868
+  (0.2ms) BEGIN
1869
+  (0.1ms) SAVEPOINT active_record_1
1870
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:34.984354"], ["updated_at", "2015-12-16 21:50:34.984354"]]
1871
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1872
+  (0.1ms) SAVEPOINT active_record_1
1873
+ 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", 42]]
1874
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1875
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.3ms)
1876
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.4ms)
1877
+
1878
+ UserNotifier::Mailer#notify: processed outbound mail in 24.1ms
1879
+  (0.3ms) ROLLBACK
1880
+  (0.2ms) BEGIN
1881
+  (0.2ms) SAVEPOINT active_record_1
1882
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:35.015295"], ["updated_at", "2015-12-16 21:50:35.015295"]]
1883
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1884
+  (0.3ms) SAVEPOINT active_record_1
1885
+ 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", 43]]
1886
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1887
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
1888
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
1889
+
1890
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
1891
+  (0.2ms) ROLLBACK
1892
+  (0.1ms) BEGIN
1893
+  (0.1ms) SAVEPOINT active_record_1
1894
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:35.027721"], ["updated_at", "2015-12-16 21:50:35.027721"]]
1895
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1896
+  (0.1ms) SAVEPOINT active_record_1
1897
+ SQL (0.2ms) 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", 44]]
1898
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1899
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1900
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1901
+
1902
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
1903
+  (0.3ms) ROLLBACK
1904
+  (0.4ms) BEGIN
1905
+  (0.6ms) SAVEPOINT active_record_1
1906
+ SQL (1.1ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:35.039842"], ["updated_at", "2015-12-16 21:50:35.039842"]]
1907
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1908
+  (0.5ms) SAVEPOINT active_record_1
1909
+ 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", 45]]
1910
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1911
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1912
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1913
+
1914
+ UserNotifier::Mailer#notify: processed outbound mail in 1.6ms
1915
+  (0.2ms) ROLLBACK
1916
+  (0.1ms) BEGIN
1917
+  (0.1ms) SAVEPOINT active_record_1
1918
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:50:35.056827"], ["updated_at", "2015-12-16 21:50:35.056827"]]
1919
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1920
+  (0.2ms) SAVEPOINT active_record_1
1921
+ 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", 46]]
1922
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1923
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
1924
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
1925
+
1926
+ UserNotifier::Mailer#notify: processed outbound mail in 1.6ms
1927
+  (3.4ms) ROLLBACK
1928
+  (0.2ms) BEGIN
1929
+  (0.1ms) ROLLBACK
1930
+  (0.1ms) BEGIN
1931
+  (0.1ms) ROLLBACK
1932
+  (0.1ms) BEGIN
1933
+  (0.1ms) ROLLBACK
1934
+  (0.2ms) BEGIN
1935
+  (0.1ms) ROLLBACK
1936
+  (0.1ms) BEGIN
1937
+  (0.2ms) ROLLBACK
1938
+  (0.1ms) BEGIN
1939
+  (0.1ms) ROLLBACK
1940
+  (0.2ms) BEGIN
1941
+  (0.1ms) ROLLBACK
1942
+  (0.2ms) BEGIN
1943
+  (0.2ms) ROLLBACK
1944
+  (0.2ms) BEGIN
1945
+  (0.1ms) ROLLBACK
1946
+  (0.1ms) BEGIN
1947
+  (0.1ms) ROLLBACK
1948
+  (0.1ms) BEGIN
1949
+  (0.1ms) ROLLBACK
1950
+  (0.1ms) BEGIN
1951
+  (0.1ms) ROLLBACK
1952
+  (0.1ms) BEGIN
1953
+  (0.1ms) ROLLBACK
1954
+  (0.3ms) BEGIN
1955
+  (0.3ms) ROLLBACK
1956
+  (0.7ms) BEGIN
1957
+  (0.7ms) ROLLBACK
1958
+  (0.4ms) BEGIN
1959
+  (0.4ms) ROLLBACK
1960
+  (0.2ms) BEGIN
1961
+  (0.1ms) ROLLBACK
1962
+  (0.1ms) BEGIN
1963
+  (0.1ms) ROLLBACK
1964
+  (0.1ms) BEGIN
1965
+  (0.1ms) ROLLBACK
1966
+  (0.1ms) BEGIN
1967
+  (0.1ms) ROLLBACK
1968
+  (0.1ms) BEGIN
1969
+  (0.1ms) ROLLBACK
1970
+  (0.1ms) BEGIN
1971
+  (0.1ms) ROLLBACK
1972
+  (0.1ms) BEGIN
1973
+  (0.1ms) ROLLBACK
1974
+  (0.1ms) BEGIN
1975
+  (0.1ms) ROLLBACK
1976
+  (0.1ms) BEGIN
1977
+  (0.1ms) ROLLBACK
1978
+  (0.1ms) BEGIN
1979
+  (0.1ms) ROLLBACK
1980
+  (0.1ms) BEGIN
1981
+  (0.2ms) ROLLBACK
1982
+  (0.1ms) BEGIN
1983
+  (0.2ms) ROLLBACK
1984
+  (0.3ms) BEGIN
1985
+  (0.7ms) SAVEPOINT active_record_1
1986
+ SQL (4.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:30.816469"], ["updated_at", "2015-12-16 21:51:30.816469"]]
1987
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1988
+  (0.6ms) SAVEPOINT active_record_1
1989
+ SQL (1.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", 47]]
1990
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1991
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.8ms)
1992
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.2ms)
1993
+
1994
+ UserNotifier::Mailer#notify: processed outbound mail in 148.5ms
1995
+  (0.3ms) ROLLBACK
1996
+  (0.1ms) BEGIN
1997
+  (0.1ms) SAVEPOINT active_record_1
1998
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.012321"], ["updated_at", "2015-12-16 21:51:31.012321"]]
1999
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2000
+  (0.1ms) SAVEPOINT active_record_1
2001
+ 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", 48]]
2002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2003
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2004
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2005
+
2006
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
2007
+  (0.2ms) ROLLBACK
2008
+  (0.1ms) BEGIN
2009
+  (0.1ms) SAVEPOINT active_record_1
2010
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.019824"], ["updated_at", "2015-12-16 21:51:31.019824"]]
2011
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2012
+  (0.1ms) SAVEPOINT active_record_1
2013
+ 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", 49]]
2014
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2015
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2016
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2017
+
2018
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
2019
+  (0.2ms) ROLLBACK
2020
+  (0.1ms) BEGIN
2021
+  (0.1ms) SAVEPOINT active_record_1
2022
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.027357"], ["updated_at", "2015-12-16 21:51:31.027357"]]
2023
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2024
+  (0.2ms) SAVEPOINT active_record_1
2025
+ 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", 50]]
2026
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2027
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2028
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2029
+
2030
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
2031
+  (0.2ms) ROLLBACK
2032
+  (0.1ms) BEGIN
2033
+  (0.1ms) SAVEPOINT active_record_1
2034
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.035056"], ["updated_at", "2015-12-16 21:51:31.035056"]]
2035
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2036
+  (0.1ms) SAVEPOINT active_record_1
2037
+ 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", 51]]
2038
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2039
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2040
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2041
+
2042
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
2043
+  (0.2ms) ROLLBACK
2044
+  (0.1ms) BEGIN
2045
+  (0.1ms) SAVEPOINT active_record_1
2046
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.043078"], ["updated_at", "2015-12-16 21:51:31.043078"]]
2047
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2048
+  (0.2ms) SAVEPOINT active_record_1
2049
+ 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", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 52]]
2050
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2051
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.9ms)
2052
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.3ms)
2053
+
2054
+ UserNotifier::Mailer#notify: processed outbound mail in 35.1ms
2055
+  (0.3ms) ROLLBACK
2056
+  (0.2ms) BEGIN
2057
+  (0.2ms) SAVEPOINT active_record_1
2058
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.085073"], ["updated_at", "2015-12-16 21:51:31.085073"]]
2059
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2060
+  (0.2ms) SAVEPOINT active_record_1
2061
+ 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", 53]]
2062
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2063
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
2064
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
2065
+
2066
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
2067
+  (0.2ms) ROLLBACK
2068
+  (0.1ms) BEGIN
2069
+  (0.2ms) SAVEPOINT active_record_1
2070
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.098018"], ["updated_at", "2015-12-16 21:51:31.098018"]]
2071
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2072
+  (0.2ms) SAVEPOINT active_record_1
2073
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 54], ["title", "test"], ["created_at", "2015-12-16 21:51:31.104824"], ["updated_at", "2015-12-16 21:51:31.104824"]]
2074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2075
+  (0.2ms) ROLLBACK
2076
+  (0.1ms) BEGIN
2077
+  (0.2ms) SAVEPOINT active_record_1
2078
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.109925"], ["updated_at", "2015-12-16 21:51:31.109925"]]
2079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2080
+  (0.2ms) SAVEPOINT active_record_1
2081
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 55], ["title", "test"], ["created_at", "2015-12-16 21:51:31.111910"], ["updated_at", "2015-12-16 21:51:31.111910"]]
2082
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2083
+  (0.3ms) SAVEPOINT active_record_1
2084
+ SQL (4.0ms) 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", 34], ["user_id", 55]]
2085
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2086
+  (0.2ms) ROLLBACK
2087
+  (0.2ms) BEGIN
2088
+  (0.2ms) SAVEPOINT active_record_1
2089
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.135266"], ["updated_at", "2015-12-16 21:51:31.135266"]]
2090
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2091
+  (0.1ms) SAVEPOINT active_record_1
2092
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 56], ["title", "test"], ["created_at", "2015-12-16 21:51:31.137243"], ["updated_at", "2015-12-16 21:51:31.137243"]]
2093
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2094
+  (0.2ms) SAVEPOINT active_record_1
2095
+ 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", 35], ["user_id", 56]]
2096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2097
+  (0.2ms) ROLLBACK
2098
+  (0.2ms) BEGIN
2099
+  (0.1ms) SAVEPOINT active_record_1
2100
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.143737"], ["updated_at", "2015-12-16 21:51:31.143737"]]
2101
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2102
+  (0.1ms) SAVEPOINT active_record_1
2103
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 57], ["title", "test"], ["created_at", "2015-12-16 21:51:31.145891"], ["updated_at", "2015-12-16 21:51:31.145891"]]
2104
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2105
+  (0.5ms) SAVEPOINT active_record_1
2106
+ SQL (1.0ms) 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", 36], ["user_id", 57]]
2107
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2108
+  (0.5ms) ROLLBACK
2109
+  (0.3ms) BEGIN
2110
+  (0.3ms) SAVEPOINT active_record_1
2111
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.163618"], ["updated_at", "2015-12-16 21:51:31.163618"]]
2112
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2113
+  (0.1ms) SAVEPOINT active_record_1
2114
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 58], ["title", "test"], ["created_at", "2015-12-16 21:51:31.166179"], ["updated_at", "2015-12-16 21:51:31.166179"]]
2115
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2116
+  (0.2ms) SAVEPOINT active_record_1
2117
+ 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", 58]]
2118
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2119
+  (0.2ms) ROLLBACK
2120
+  (0.2ms) BEGIN
2121
+  (0.2ms) SAVEPOINT active_record_1
2122
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.173384"], ["updated_at", "2015-12-16 21:51:31.173384"]]
2123
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2124
+  (0.2ms) SAVEPOINT active_record_1
2125
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 59], ["title", "test"], ["created_at", "2015-12-16 21:51:31.175874"], ["updated_at", "2015-12-16 21:51:31.175874"]]
2126
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2127
+  (0.2ms) SAVEPOINT active_record_1
2128
+ 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", 59]]
2129
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2130
+  (0.5ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 59 [["template_name", "test"]]
2131
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
2132
+  (0.2ms) ROLLBACK
2133
+  (0.2ms) BEGIN
2134
+  (0.1ms) SAVEPOINT active_record_1
2135
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.191629"], ["updated_at", "2015-12-16 21:51:31.191629"]]
2136
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2137
+  (0.2ms) SAVEPOINT active_record_1
2138
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 60], ["title", "test"], ["created_at", "2015-12-16 21:51:31.193916"], ["updated_at", "2015-12-16 21:51:31.193916"]]
2139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2140
+  (0.1ms) SAVEPOINT active_record_1
2141
+ 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", 60]]
2142
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2143
+ UserNotification Load (2.0ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2144
+  (0.7ms) ROLLBACK
2145
+  (0.3ms) BEGIN
2146
+  (0.4ms) SAVEPOINT active_record_1
2147
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.213722"], ["updated_at", "2015-12-16 21:51:31.213722"]]
2148
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2149
+  (0.2ms) SAVEPOINT active_record_1
2150
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 61], ["title", "test"], ["created_at", "2015-12-16 21:51:31.217589"], ["updated_at", "2015-12-16 21:51:31.217589"]]
2151
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2152
+  (0.2ms) SAVEPOINT active_record_1
2153
+ 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", 61]]
2154
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2155
+  (0.5ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 61 [["template_name", "another_test"]]
2156
+  (0.2ms) SAVEPOINT active_record_1
2157
+ 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", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 61]]
2158
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2159
+  (1.3ms) SELECT COUNT(*) FROM "user_notifications"
2160
+  (0.8ms) ROLLBACK
2161
+  (0.6ms) BEGIN
2162
+  (0.8ms) SAVEPOINT active_record_1
2163
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.243209"], ["updated_at", "2015-12-16 21:51:31.243209"]]
2164
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2165
+  (0.2ms) SAVEPOINT active_record_1
2166
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 62], ["title", "test"], ["created_at", "2015-12-16 21:51:31.248143"], ["updated_at", "2015-12-16 21:51:31.248143"]]
2167
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2168
+  (0.1ms) SAVEPOINT active_record_1
2169
+ 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", 62]]
2170
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2171
+  (0.2ms) ROLLBACK
2172
+  (0.2ms) BEGIN
2173
+  (0.2ms) SAVEPOINT active_record_1
2174
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.260050"], ["updated_at", "2015-12-16 21:51:31.260050"]]
2175
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2176
+  (0.2ms) SAVEPOINT active_record_1
2177
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 63], ["title", "test"], ["created_at", "2015-12-16 21:51:31.262140"], ["updated_at", "2015-12-16 21:51:31.262140"]]
2178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2179
+  (0.2ms) SAVEPOINT active_record_1
2180
+ 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", 63]]
2181
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2182
+  (0.2ms) ROLLBACK
2183
+  (0.1ms) BEGIN
2184
+  (0.1ms) SAVEPOINT active_record_1
2185
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.268731"], ["updated_at", "2015-12-16 21:51:31.268731"]]
2186
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2187
+  (0.1ms) SAVEPOINT active_record_1
2188
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 64], ["title", "test"], ["created_at", "2015-12-16 21:51:31.270754"], ["updated_at", "2015-12-16 21:51:31.270754"]]
2189
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2190
+  (0.2ms) SAVEPOINT active_record_1
2191
+ SQL (0.4ms) 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", 64], ["deliver_at", "2015-12-19 21:51:31.272292"]]
2192
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2193
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2194
+  (0.2ms) ROLLBACK
2195
+  (0.2ms) BEGIN
2196
+  (0.3ms) SAVEPOINT active_record_1
2197
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.283223"], ["updated_at", "2015-12-16 21:51:31.283223"]]
2198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2199
+  (0.1ms) SAVEPOINT active_record_1
2200
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 65], ["title", "test"], ["created_at", "2015-12-16 21:51:31.285611"], ["updated_at", "2015-12-16 21:51:31.285611"]]
2201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2202
+  (0.1ms) SAVEPOINT active_record_1
2203
+ 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", 65], ["deliver_at", "2015-12-19 21:51:31.286968"]]
2204
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2205
+  (0.1ms) ROLLBACK
2206
+  (0.1ms) BEGIN
2207
+  (0.1ms) SAVEPOINT active_record_1
2208
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.291491"], ["updated_at", "2015-12-16 21:51:31.291491"]]
2209
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2210
+  (0.1ms) SAVEPOINT active_record_1
2211
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 66], ["title", "test"], ["created_at", "2015-12-16 21:51:31.293542"], ["updated_at", "2015-12-16 21:51:31.293542"]]
2212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2213
+  (0.2ms) SAVEPOINT active_record_1
2214
+ 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", 66], ["deliver_at", "2015-12-19 21:51:31.294879"]]
2215
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2216
+  (0.3ms) ROLLBACK
2217
+  (0.4ms) BEGIN
2218
+  (0.7ms) SAVEPOINT active_record_1
2219
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.305224"], ["updated_at", "2015-12-16 21:51:31.305224"]]
2220
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2221
+  (0.6ms) SAVEPOINT active_record_1
2222
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 67], ["title", "test"], ["created_at", "2015-12-16 21:51:31.312653"], ["updated_at", "2015-12-16 21:51:31.312653"]]
2223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2224
+  (0.2ms) SAVEPOINT active_record_1
2225
+ 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", 67]]
2226
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2227
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2228
+  (0.3ms) ROLLBACK
2229
+  (0.1ms) BEGIN
2230
+  (0.2ms) SAVEPOINT active_record_1
2231
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.321340"], ["updated_at", "2015-12-16 21:51:31.321340"]]
2232
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2233
+  (0.3ms) SAVEPOINT active_record_1
2234
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 68], ["title", "test"], ["created_at", "2015-12-16 21:51:31.324177"], ["updated_at", "2015-12-16 21:51:31.324177"]]
2235
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2236
+  (3.6ms) SAVEPOINT active_record_1
2237
+ 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", 68]]
2238
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2239
+  (0.2ms) ROLLBACK
2240
+  (0.1ms) BEGIN
2241
+  (0.1ms) SAVEPOINT active_record_1
2242
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 21:51:31.334939"], ["updated_at", "2015-12-16 21:51:31.334939"]]
2243
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2244
+  (0.1ms) SAVEPOINT active_record_1
2245
+ SQL (0.2ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 69], ["title", "test"], ["created_at", "2015-12-16 21:51:31.336904"], ["updated_at", "2015-12-16 21:51:31.336904"]]
2246
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2247
+  (0.2ms) SAVEPOINT active_record_1
2248
+ SQL (0.2ms) 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", 69]]
2249
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2250
+  (0.2ms) ROLLBACK
2251
+  (0.2ms) BEGIN
2252
+  (0.2ms) ROLLBACK
2253
+  (0.1ms) BEGIN
2254
+  (0.1ms) ROLLBACK
2255
+  (0.1ms) BEGIN
2256
+  (0.1ms) ROLLBACK
2257
+  (0.1ms) BEGIN
2258
+  (0.1ms) ROLLBACK
2259
+  (0.1ms) BEGIN
2260
+  (0.1ms) ROLLBACK
2261
+  (0.1ms) BEGIN
2262
+  (0.2ms) ROLLBACK
2263
+  (0.1ms) BEGIN
2264
+  (0.1ms) ROLLBACK
2265
+  (0.1ms) BEGIN
2266
+  (0.1ms) ROLLBACK
2267
+  (0.1ms) BEGIN
2268
+  (0.1ms) ROLLBACK
2269
+  (0.2ms) BEGIN
2270
+  (0.1ms) ROLLBACK
2271
+  (0.1ms) BEGIN
2272
+  (0.1ms) ROLLBACK
2273
+  (0.2ms) BEGIN
2274
+  (0.2ms) ROLLBACK
2275
+  (0.2ms) BEGIN
2276
+  (0.2ms) ROLLBACK
2277
+  (0.2ms) BEGIN
2278
+  (0.1ms) ROLLBACK
2279
+  (0.1ms) BEGIN
2280
+  (0.3ms) SAVEPOINT active_record_1
2281
+ SQL (2.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:14.896469"], ["updated_at", "2015-12-16 22:00:14.896469"]]
2282
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2283
+  (0.2ms) SAVEPOINT active_record_1
2284
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 70], ["title", "test"], ["created_at", "2015-12-16 22:00:14.917050"], ["updated_at", "2015-12-16 22:00:14.917050"]]
2285
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2286
+  (0.3ms) SAVEPOINT active_record_1
2287
+ 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", 70]]
2288
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2289
+ UserNotification Load (0.9ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2290
+  (0.3ms) ROLLBACK
2291
+  (0.1ms) BEGIN
2292
+  (0.2ms) SAVEPOINT active_record_1
2293
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:14.940510"], ["updated_at", "2015-12-16 22:00:14.940510"]]
2294
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2295
+  (0.1ms) SAVEPOINT active_record_1
2296
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 71], ["title", "test"], ["created_at", "2015-12-16 22:00:14.943183"], ["updated_at", "2015-12-16 22:00:14.943183"]]
2297
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2298
+  (0.1ms) SAVEPOINT active_record_1
2299
+ 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", 71]]
2300
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2301
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 71 [["template_name", "test"]]
2302
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
2303
+  (0.2ms) ROLLBACK
2304
+  (0.1ms) BEGIN
2305
+  (0.1ms) SAVEPOINT active_record_1
2306
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:14.954318"], ["updated_at", "2015-12-16 22:00:14.954318"]]
2307
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2308
+  (0.1ms) SAVEPOINT active_record_1
2309
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 72], ["title", "test"], ["created_at", "2015-12-16 22:00:14.956379"], ["updated_at", "2015-12-16 22:00:14.956379"]]
2310
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2311
+  (0.1ms) SAVEPOINT active_record_1
2312
+ 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", 72]]
2313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2314
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 72 [["template_name", "another_test"]]
2315
+  (0.1ms) SAVEPOINT active_record_1
2316
+ 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", 72]]
2317
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2318
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications"
2319
+  (0.2ms) ROLLBACK
2320
+  (0.2ms) BEGIN
2321
+  (0.1ms) SAVEPOINT active_record_1
2322
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:14.966622"], ["updated_at", "2015-12-16 22:00:14.966622"]]
2323
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2324
+  (0.1ms) SAVEPOINT active_record_1
2325
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 73], ["title", "test"], ["created_at", "2015-12-16 22:00:14.968704"], ["updated_at", "2015-12-16 22:00:14.968704"]]
2326
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2327
+  (0.4ms) SAVEPOINT active_record_1
2328
+ SQL (0.8ms) 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", 52], ["user_id", 73]]
2329
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2330
+  (3.4ms) ROLLBACK
2331
+  (0.2ms) BEGIN
2332
+  (0.2ms) SAVEPOINT active_record_1
2333
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:14.990329"], ["updated_at", "2015-12-16 22:00:14.990329"]]
2334
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2335
+  (0.1ms) SAVEPOINT active_record_1
2336
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 74], ["title", "test"], ["created_at", "2015-12-16 22:00:14.992450"], ["updated_at", "2015-12-16 22:00:14.992450"]]
2337
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2338
+  (0.2ms) SAVEPOINT active_record_1
2339
+ SQL (0.6ms) 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", 53], ["user_id", 74]]
2340
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2341
+  (0.4ms) ROLLBACK
2342
+  (0.5ms) BEGIN
2343
+  (0.7ms) SAVEPOINT active_record_1
2344
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.004561"], ["updated_at", "2015-12-16 22:00:15.004561"]]
2345
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2346
+  (0.4ms) SAVEPOINT active_record_1
2347
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 75], ["title", "test"], ["created_at", "2015-12-16 22:00:15.011409"], ["updated_at", "2015-12-16 22:00:15.011409"]]
2348
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2349
+  (0.1ms) SAVEPOINT active_record_1
2350
+ 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", 54], ["user_id", 75]]
2351
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2352
+  (0.2ms) ROLLBACK
2353
+  (0.1ms) BEGIN
2354
+  (0.1ms) SAVEPOINT active_record_1
2355
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.018381"], ["updated_at", "2015-12-16 22:00:15.018381"]]
2356
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2357
+  (0.1ms) SAVEPOINT active_record_1
2358
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 76], ["title", "test"], ["created_at", "2015-12-16 22:00:15.020430"], ["updated_at", "2015-12-16 22:00:15.020430"]]
2359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2360
+  (0.3ms) ROLLBACK
2361
+  (0.2ms) BEGIN
2362
+  (0.1ms) SAVEPOINT active_record_1
2363
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.024739"], ["updated_at", "2015-12-16 22:00:15.024739"]]
2364
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2365
+  (0.2ms) SAVEPOINT active_record_1
2366
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 77], ["title", "test"], ["created_at", "2015-12-16 22:00:15.027176"], ["updated_at", "2015-12-16 22:00:15.027176"]]
2367
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2368
+  (0.2ms) SAVEPOINT active_record_1
2369
+ 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", 77]]
2370
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2371
+  (3.6ms) ROLLBACK
2372
+  (0.1ms) BEGIN
2373
+  (0.2ms) SAVEPOINT active_record_1
2374
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.038953"], ["updated_at", "2015-12-16 22:00:15.038953"]]
2375
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2376
+  (0.2ms) SAVEPOINT active_record_1
2377
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 78], ["title", "test"], ["created_at", "2015-12-16 22:00:15.041070"], ["updated_at", "2015-12-16 22:00:15.041070"]]
2378
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2379
+  (0.1ms) SAVEPOINT active_record_1
2380
+ 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", 78]]
2381
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2382
+ UserNotification Load (0.9ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2383
+  (0.5ms) ROLLBACK
2384
+  (0.6ms) BEGIN
2385
+  (0.6ms) SAVEPOINT active_record_1
2386
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.054866"], ["updated_at", "2015-12-16 22:00:15.054866"]]
2387
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2388
+  (0.4ms) SAVEPOINT active_record_1
2389
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 79], ["title", "test"], ["created_at", "2015-12-16 22:00:15.061285"], ["updated_at", "2015-12-16 22:00:15.061285"]]
2390
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2391
+  (0.1ms) SAVEPOINT active_record_1
2392
+ 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", 79]]
2393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2394
+  (0.2ms) ROLLBACK
2395
+  (0.2ms) BEGIN
2396
+  (0.2ms) SAVEPOINT active_record_1
2397
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.068468"], ["updated_at", "2015-12-16 22:00:15.068468"]]
2398
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2399
+  (0.1ms) SAVEPOINT active_record_1
2400
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 80], ["title", "test"], ["created_at", "2015-12-16 22:00:15.070516"], ["updated_at", "2015-12-16 22:00:15.070516"]]
2401
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2402
+  (0.3ms) SAVEPOINT active_record_1
2403
+ 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", 80]]
2404
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2405
+  (0.2ms) ROLLBACK
2406
+  (0.2ms) BEGIN
2407
+  (0.2ms) SAVEPOINT active_record_1
2408
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.078336"], ["updated_at", "2015-12-16 22:00:15.078336"]]
2409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2410
+  (0.2ms) SAVEPOINT active_record_1
2411
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 81], ["title", "test"], ["created_at", "2015-12-16 22:00:15.084900"], ["updated_at", "2015-12-16 22:00:15.084900"]]
2412
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2413
+  (0.2ms) SAVEPOINT active_record_1
2414
+ 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", 81]]
2415
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2416
+  (0.4ms) ROLLBACK
2417
+  (0.3ms) BEGIN
2418
+  (0.5ms) SAVEPOINT active_record_1
2419
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.101752"], ["updated_at", "2015-12-16 22:00:15.101752"]]
2420
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2421
+  (0.5ms) SAVEPOINT active_record_1
2422
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 82], ["title", "test"], ["created_at", "2015-12-16 22:00:15.109385"], ["updated_at", "2015-12-16 22:00:15.109385"]]
2423
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2424
+  (0.1ms) SAVEPOINT active_record_1
2425
+ 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", 82], ["deliver_at", "2015-12-19 22:00:15.113419"]]
2426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2427
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2428
+  (0.2ms) ROLLBACK
2429
+  (0.3ms) BEGIN
2430
+  (0.3ms) SAVEPOINT active_record_1
2431
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.121867"], ["updated_at", "2015-12-16 22:00:15.121867"]]
2432
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2433
+  (0.3ms) SAVEPOINT active_record_1
2434
+ SQL (4.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 83], ["title", "test"], ["created_at", "2015-12-16 22:00:15.127023"], ["updated_at", "2015-12-16 22:00:15.127023"]]
2435
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2436
+  (0.2ms) SAVEPOINT active_record_1
2437
+ SQL (0.4ms) 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", 83], ["deliver_at", "2015-12-19 22:00:15.133730"]]
2438
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2439
+  (0.2ms) ROLLBACK
2440
+  (0.1ms) BEGIN
2441
+  (0.1ms) SAVEPOINT active_record_1
2442
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.138888"], ["updated_at", "2015-12-16 22:00:15.138888"]]
2443
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2444
+  (0.1ms) SAVEPOINT active_record_1
2445
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 84], ["title", "test"], ["created_at", "2015-12-16 22:00:15.141034"], ["updated_at", "2015-12-16 22:00:15.141034"]]
2446
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2447
+  (0.2ms) SAVEPOINT active_record_1
2448
+ 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", 84], ["deliver_at", "2015-12-19 22:00:15.142792"]]
2449
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2450
+  (0.4ms) ROLLBACK
2451
+  (0.6ms) BEGIN
2452
+  (0.4ms) SAVEPOINT active_record_1
2453
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.153611"], ["updated_at", "2015-12-16 22:00:15.153611"]]
2454
+  (0.7ms) RELEASE SAVEPOINT active_record_1
2455
+  (0.4ms) SAVEPOINT active_record_1
2456
+ SQL (0.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 85], ["title", "test"], ["created_at", "2015-12-16 22:00:15.160382"], ["updated_at", "2015-12-16 22:00:15.160382"]]
2457
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2458
+  (0.1ms) SAVEPOINT active_record_1
2459
+ 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", 85]]
2460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2461
+  (0.2ms) ROLLBACK
2462
+  (0.1ms) BEGIN
2463
+  (0.2ms) SAVEPOINT active_record_1
2464
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.167962"], ["updated_at", "2015-12-16 22:00:15.167962"]]
2465
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2466
+  (0.2ms) SAVEPOINT active_record_1
2467
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 86], ["title", "test"], ["created_at", "2015-12-16 22:00:15.170429"], ["updated_at", "2015-12-16 22:00:15.170429"]]
2468
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2469
+  (0.2ms) SAVEPOINT active_record_1
2470
+ 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", 86]]
2471
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2472
+  (0.3ms) ROLLBACK
2473
+  (0.2ms) BEGIN
2474
+  (0.2ms) SAVEPOINT active_record_1
2475
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.181923"], ["updated_at", "2015-12-16 22:00:15.181923"]]
2476
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2477
+  (0.2ms) SAVEPOINT active_record_1
2478
+ 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", 87]]
2479
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2480
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.9ms)
2481
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.4ms)
2482
+
2483
+ UserNotifier::Mailer#notify: processed outbound mail in 176.6ms
2484
+  (0.4ms) ROLLBACK
2485
+  (0.2ms) BEGIN
2486
+  (0.2ms) SAVEPOINT active_record_1
2487
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.366886"], ["updated_at", "2015-12-16 22:00:15.366886"]]
2488
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2489
+  (0.1ms) SAVEPOINT active_record_1
2490
+ 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", 88]]
2491
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2492
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2493
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2494
+
2495
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
2496
+  (0.2ms) ROLLBACK
2497
+  (0.2ms) BEGIN
2498
+  (0.1ms) SAVEPOINT active_record_1
2499
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.375174"], ["updated_at", "2015-12-16 22:00:15.375174"]]
2500
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2501
+  (0.2ms) SAVEPOINT active_record_1
2502
+ 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", 89]]
2503
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2504
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2505
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2506
+
2507
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
2508
+  (0.2ms) ROLLBACK
2509
+  (0.1ms) BEGIN
2510
+  (0.2ms) SAVEPOINT active_record_1
2511
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.383454"], ["updated_at", "2015-12-16 22:00:15.383454"]]
2512
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2513
+  (0.1ms) SAVEPOINT active_record_1
2514
+ SQL (0.2ms) 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", 90]]
2515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2516
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2517
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2518
+
2519
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
2520
+  (0.2ms) ROLLBACK
2521
+  (0.1ms) BEGIN
2522
+  (0.1ms) SAVEPOINT active_record_1
2523
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.390991"], ["updated_at", "2015-12-16 22:00:15.390991"]]
2524
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2525
+  (0.1ms) SAVEPOINT active_record_1
2526
+ SQL (0.2ms) 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", 91]]
2527
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2528
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.3ms)
2529
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.2ms)
2530
+
2531
+ UserNotifier::Mailer#notify: processed outbound mail in 27.3ms
2532
+  (0.2ms) ROLLBACK
2533
+  (0.2ms) BEGIN
2534
+  (0.2ms) SAVEPOINT active_record_1
2535
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.424657"], ["updated_at", "2015-12-16 22:00:15.424657"]]
2536
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2537
+  (0.2ms) SAVEPOINT active_record_1
2538
+ 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", 92]]
2539
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2540
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.1ms)
2541
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
2542
+
2543
+ UserNotifier::Mailer#notify: processed outbound mail in 2.3ms
2544
+  (0.5ms) ROLLBACK
2545
+  (0.6ms) BEGIN
2546
+  (0.7ms) SAVEPOINT active_record_1
2547
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:00:15.438665"], ["updated_at", "2015-12-16 22:00:15.438665"]]
2548
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2549
+  (0.3ms) SAVEPOINT active_record_1
2550
+ 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", 93]]
2551
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2552
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2553
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2554
+
2555
+ UserNotifier::Mailer#notify: processed outbound mail in 1.6ms
2556
+  (0.2ms) ROLLBACK
2557
+  (0.5ms) BEGIN
2558
+  (0.2ms) SAVEPOINT active_record_1
2559
+ SQL (1.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.623020"], ["updated_at", "2015-12-16 22:01:12.623020"]]
2560
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2561
+  (0.2ms) SAVEPOINT active_record_1
2562
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 94], ["title", "test"], ["created_at", "2015-12-16 22:01:12.650839"], ["updated_at", "2015-12-16 22:01:12.650839"]]
2563
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2564
+  (0.2ms) SAVEPOINT active_record_1
2565
+ SQL (0.6ms) 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", 66], ["user_id", 94]]
2566
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2567
+  (0.3ms) ROLLBACK
2568
+  (0.2ms) BEGIN
2569
+  (0.1ms) SAVEPOINT active_record_1
2570
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.671444"], ["updated_at", "2015-12-16 22:01:12.671444"]]
2571
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2572
+  (0.2ms) SAVEPOINT active_record_1
2573
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 95], ["title", "test"], ["created_at", "2015-12-16 22:01:12.673801"], ["updated_at", "2015-12-16 22:01:12.673801"]]
2574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2575
+  (0.1ms) SAVEPOINT active_record_1
2576
+ 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", 67], ["user_id", 95]]
2577
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2578
+  (0.2ms) ROLLBACK
2579
+  (0.2ms) BEGIN
2580
+  (0.2ms) SAVEPOINT active_record_1
2581
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.679685"], ["updated_at", "2015-12-16 22:01:12.679685"]]
2582
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2583
+  (0.1ms) SAVEPOINT active_record_1
2584
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 96], ["title", "test"], ["created_at", "2015-12-16 22:01:12.681861"], ["updated_at", "2015-12-16 22:01:12.681861"]]
2585
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2586
+  (0.1ms) SAVEPOINT active_record_1
2587
+ 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", 68], ["user_id", 96]]
2588
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2589
+  (0.2ms) ROLLBACK
2590
+  (0.2ms) BEGIN
2591
+  (0.1ms) SAVEPOINT active_record_1
2592
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.687804"], ["updated_at", "2015-12-16 22:01:12.687804"]]
2593
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2594
+  (0.2ms) SAVEPOINT active_record_1
2595
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 97], ["title", "test"], ["created_at", "2015-12-16 22:01:12.690065"], ["updated_at", "2015-12-16 22:01:12.690065"]]
2596
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2597
+  (0.2ms) ROLLBACK
2598
+  (0.1ms) BEGIN
2599
+  (0.1ms) SAVEPOINT active_record_1
2600
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.696921"], ["updated_at", "2015-12-16 22:01:12.696921"]]
2601
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2602
+  (0.2ms) SAVEPOINT active_record_1
2603
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 98], ["title", "test"], ["created_at", "2015-12-16 22:01:12.699320"], ["updated_at", "2015-12-16 22:01:12.699320"]]
2604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2605
+  (0.3ms) SAVEPOINT active_record_1
2606
+ SQL (0.6ms) 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", 98]]
2607
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2608
+  (0.2ms) ROLLBACK
2609
+  (0.1ms) BEGIN
2610
+  (0.2ms) SAVEPOINT active_record_1
2611
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.711930"], ["updated_at", "2015-12-16 22:01:12.711930"]]
2612
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2613
+  (0.2ms) SAVEPOINT active_record_1
2614
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 99], ["title", "test"], ["created_at", "2015-12-16 22:01:12.719046"], ["updated_at", "2015-12-16 22:01:12.719046"]]
2615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2616
+  (0.1ms) SAVEPOINT active_record_1
2617
+ 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", 99]]
2618
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2619
+  (1.3ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 99 [["template_name", "test"]]
2620
+  (1.1ms) SELECT COUNT(*) FROM "user_notifications"
2621
+  (0.9ms) ROLLBACK
2622
+  (0.5ms) BEGIN
2623
+  (0.4ms) SAVEPOINT active_record_1
2624
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.740325"], ["updated_at", "2015-12-16 22:01:12.740325"]]
2625
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2626
+  (0.1ms) SAVEPOINT active_record_1
2627
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 100], ["title", "test"], ["created_at", "2015-12-16 22:01:12.743651"], ["updated_at", "2015-12-16 22:01:12.743651"]]
2628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2629
+  (0.2ms) SAVEPOINT active_record_1
2630
+ 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", 100]]
2631
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2632
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 100 [["template_name", "another_test"]]
2633
+  (0.2ms) SAVEPOINT active_record_1
2634
+ 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", 100]]
2635
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2636
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications"
2637
+  (0.2ms) ROLLBACK
2638
+  (0.2ms) BEGIN
2639
+  (0.2ms) SAVEPOINT active_record_1
2640
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.754555"], ["updated_at", "2015-12-16 22:01:12.754555"]]
2641
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2642
+  (0.2ms) SAVEPOINT active_record_1
2643
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 101], ["title", "test"], ["created_at", "2015-12-16 22:01:12.757126"], ["updated_at", "2015-12-16 22:01:12.757126"]]
2644
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2645
+  (0.2ms) SAVEPOINT active_record_1
2646
+ 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", 101]]
2647
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2648
+ UserNotification Load (1.0ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2649
+  (0.2ms) ROLLBACK
2650
+  (0.1ms) BEGIN
2651
+  (0.1ms) SAVEPOINT active_record_1
2652
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.771583"], ["updated_at", "2015-12-16 22:01:12.771583"]]
2653
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2654
+  (0.1ms) SAVEPOINT active_record_1
2655
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 102], ["title", "test"], ["created_at", "2015-12-16 22:01:12.773597"], ["updated_at", "2015-12-16 22:01:12.773597"]]
2656
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2657
+  (0.4ms) SAVEPOINT active_record_1
2658
+ SQL (1.0ms) 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", 102], ["deliver_at", "2015-12-19 22:01:12.775532"]]
2659
+  (0.7ms) RELEASE SAVEPOINT active_record_1
2660
+ UserNotification Load (1.2ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2661
+  (0.8ms) ROLLBACK
2662
+  (0.3ms) BEGIN
2663
+  (0.3ms) SAVEPOINT active_record_1
2664
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.792360"], ["updated_at", "2015-12-16 22:01:12.792360"]]
2665
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2666
+  (0.1ms) SAVEPOINT active_record_1
2667
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 103], ["title", "test"], ["created_at", "2015-12-16 22:01:12.794545"], ["updated_at", "2015-12-16 22:01:12.794545"]]
2668
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2669
+  (0.1ms) SAVEPOINT active_record_1
2670
+ 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", 103], ["deliver_at", "2015-12-19 22:01:12.795957"]]
2671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2672
+  (0.2ms) ROLLBACK
2673
+  (0.1ms) BEGIN
2674
+  (0.1ms) SAVEPOINT active_record_1
2675
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.800638"], ["updated_at", "2015-12-16 22:01:12.800638"]]
2676
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2677
+  (0.1ms) SAVEPOINT active_record_1
2678
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 104], ["title", "test"], ["created_at", "2015-12-16 22:01:12.802859"], ["updated_at", "2015-12-16 22:01:12.802859"]]
2679
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2680
+  (0.2ms) SAVEPOINT active_record_1
2681
+ SQL (0.4ms) 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", 104], ["deliver_at", "2015-12-19 22:01:12.804475"]]
2682
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2683
+  (0.2ms) ROLLBACK
2684
+  (0.2ms) BEGIN
2685
+  (0.2ms) SAVEPOINT active_record_1
2686
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.809900"], ["updated_at", "2015-12-16 22:01:12.809900"]]
2687
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2688
+  (0.3ms) SAVEPOINT active_record_1
2689
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 105], ["title", "test"], ["created_at", "2015-12-16 22:01:12.816211"], ["updated_at", "2015-12-16 22:01:12.816211"]]
2690
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2691
+  (0.6ms) SAVEPOINT active_record_1
2692
+ 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", 105]]
2693
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2694
+  (0.5ms) ROLLBACK
2695
+  (0.4ms) BEGIN
2696
+  (0.7ms) SAVEPOINT active_record_1
2697
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.838981"], ["updated_at", "2015-12-16 22:01:12.838981"]]
2698
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2699
+  (0.1ms) SAVEPOINT active_record_1
2700
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 106], ["title", "test"], ["created_at", "2015-12-16 22:01:12.843081"], ["updated_at", "2015-12-16 22:01:12.843081"]]
2701
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2702
+  (0.2ms) SAVEPOINT active_record_1
2703
+ 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", 106]]
2704
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2705
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2706
+  (0.2ms) ROLLBACK
2707
+  (0.1ms) BEGIN
2708
+  (0.2ms) SAVEPOINT active_record_1
2709
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.850577"], ["updated_at", "2015-12-16 22:01:12.850577"]]
2710
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2711
+  (0.2ms) SAVEPOINT active_record_1
2712
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 107], ["title", "test"], ["created_at", "2015-12-16 22:01:12.853115"], ["updated_at", "2015-12-16 22:01:12.853115"]]
2713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2714
+  (0.2ms) SAVEPOINT active_record_1
2715
+ 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", 107]]
2716
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2717
+  (0.2ms) ROLLBACK
2718
+  (0.2ms) BEGIN
2719
+  (0.2ms) SAVEPOINT active_record_1
2720
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.859904"], ["updated_at", "2015-12-16 22:01:12.859904"]]
2721
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2722
+  (0.1ms) SAVEPOINT active_record_1
2723
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 108], ["title", "test"], ["created_at", "2015-12-16 22:01:12.866057"], ["updated_at", "2015-12-16 22:01:12.866057"]]
2724
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2725
+  (0.2ms) SAVEPOINT active_record_1
2726
+ 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", 108]]
2727
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2728
+  (0.2ms) ROLLBACK
2729
+  (0.1ms) BEGIN
2730
+  (0.2ms) SAVEPOINT active_record_1
2731
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.872915"], ["updated_at", "2015-12-16 22:01:12.872915"]]
2732
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2733
+  (0.2ms) SAVEPOINT active_record_1
2734
+ SQL (0.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 109], ["title", "test"], ["created_at", "2015-12-16 22:01:12.875433"], ["updated_at", "2015-12-16 22:01:12.875433"]]
2735
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2736
+  (0.7ms) SAVEPOINT active_record_1
2737
+ 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", 109]]
2738
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2739
+  (0.4ms) ROLLBACK
2740
+  (0.2ms) BEGIN
2741
+  (0.2ms) SAVEPOINT active_record_1
2742
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.893073"], ["updated_at", "2015-12-16 22:01:12.893073"]]
2743
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2744
+  (0.1ms) SAVEPOINT active_record_1
2745
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 110], ["title", "test"], ["created_at", "2015-12-16 22:01:12.895139"], ["updated_at", "2015-12-16 22:01:12.895139"]]
2746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2747
+  (0.2ms) SAVEPOINT active_record_1
2748
+ SQL (0.2ms) 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", 110]]
2749
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2750
+  (0.2ms) ROLLBACK
2751
+  (0.2ms) BEGIN
2752
+  (0.2ms) SAVEPOINT active_record_1
2753
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:12.901906"], ["updated_at", "2015-12-16 22:01:12.901906"]]
2754
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2755
+  (0.2ms) SAVEPOINT active_record_1
2756
+ 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", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 111]]
2757
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2758
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.9ms)
2759
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.2ms)
2760
+
2761
+ UserNotifier::Mailer#notify: processed outbound mail in 183.6ms
2762
+  (0.3ms) ROLLBACK
2763
+  (0.2ms) BEGIN
2764
+  (0.2ms) SAVEPOINT active_record_1
2765
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:13.097736"], ["updated_at", "2015-12-16 22:01:13.097736"]]
2766
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2767
+  (0.1ms) SAVEPOINT active_record_1
2768
+ 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", 112]]
2769
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2770
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
2771
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
2772
+
2773
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
2774
+  (0.2ms) ROLLBACK
2775
+  (0.1ms) BEGIN
2776
+  (0.1ms) SAVEPOINT active_record_1
2777
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:13.105291"], ["updated_at", "2015-12-16 22:01:13.105291"]]
2778
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2779
+  (0.1ms) SAVEPOINT active_record_1
2780
+ 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", 113]]
2781
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2782
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.3ms)
2783
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
2784
+
2785
+ UserNotifier::Mailer#notify: processed outbound mail in 24.5ms
2786
+  (0.3ms) ROLLBACK
2787
+  (0.2ms) BEGIN
2788
+  (0.2ms) SAVEPOINT active_record_1
2789
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:13.137523"], ["updated_at", "2015-12-16 22:01:13.137523"]]
2790
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2791
+  (0.2ms) SAVEPOINT active_record_1
2792
+ SQL (0.2ms) 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", 114]]
2793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2794
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2795
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2796
+
2797
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
2798
+  (0.2ms) ROLLBACK
2799
+  (0.1ms) BEGIN
2800
+  (0.1ms) SAVEPOINT active_record_1
2801
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:13.148838"], ["updated_at", "2015-12-16 22:01:13.148838"]]
2802
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2803
+  (0.2ms) SAVEPOINT active_record_1
2804
+ 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", 115]]
2805
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2806
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2807
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2808
+
2809
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
2810
+  (0.2ms) ROLLBACK
2811
+  (0.1ms) BEGIN
2812
+  (0.1ms) SAVEPOINT active_record_1
2813
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:13.156152"], ["updated_at", "2015-12-16 22:01:13.156152"]]
2814
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2815
+  (0.2ms) SAVEPOINT active_record_1
2816
+ 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", 116]]
2817
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2818
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.1ms)
2819
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.1ms)
2820
+
2821
+ UserNotifier::Mailer#notify: processed outbound mail in 5.5ms
2822
+  (0.7ms) ROLLBACK
2823
+  (0.4ms) BEGIN
2824
+  (0.4ms) SAVEPOINT active_record_1
2825
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:01:13.176161"], ["updated_at", "2015-12-16 22:01:13.176161"]]
2826
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2827
+  (0.2ms) SAVEPOINT active_record_1
2828
+ 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", 117]]
2829
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2830
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2831
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.4ms)
2832
+
2833
+ UserNotifier::Mailer#notify: processed outbound mail in 2.3ms
2834
+  (0.3ms) ROLLBACK
2835
+  (3.4ms) BEGIN
2836
+  (0.2ms) ROLLBACK
2837
+  (0.2ms) BEGIN
2838
+  (0.2ms) ROLLBACK
2839
+  (0.2ms) BEGIN
2840
+  (0.4ms) ROLLBACK
2841
+  (0.5ms) BEGIN
2842
+  (0.6ms) ROLLBACK
2843
+  (0.6ms) BEGIN
2844
+  (0.5ms) ROLLBACK
2845
+  (0.4ms) BEGIN
2846
+  (0.4ms) ROLLBACK
2847
+  (0.5ms) BEGIN
2848
+  (0.2ms) ROLLBACK
2849
+  (0.1ms) BEGIN
2850
+  (0.2ms) ROLLBACK
2851
+  (0.1ms) BEGIN
2852
+  (0.1ms) ROLLBACK
2853
+  (0.2ms) BEGIN
2854
+  (0.1ms) ROLLBACK
2855
+  (0.2ms) BEGIN
2856
+  (0.2ms) ROLLBACK
2857
+  (0.1ms) BEGIN
2858
+  (0.1ms) ROLLBACK
2859
+  (0.1ms) BEGIN
2860
+  (0.1ms) ROLLBACK
2861
+  (0.1ms) BEGIN
2862
+  (0.1ms) ROLLBACK
2863
+  (0.2ms) BEGIN
2864
+  (0.2ms) ROLLBACK
2865
+  (0.1ms) BEGIN
2866
+  (0.1ms) ROLLBACK
2867
+  (0.1ms) BEGIN
2868
+  (0.2ms) ROLLBACK
2869
+  (0.2ms) BEGIN
2870
+  (0.2ms) ROLLBACK
2871
+  (0.2ms) BEGIN
2872
+  (0.2ms) ROLLBACK
2873
+  (0.2ms) BEGIN
2874
+  (0.2ms) ROLLBACK
2875
+  (0.2ms) BEGIN
2876
+  (0.1ms) ROLLBACK
2877
+  (0.1ms) BEGIN
2878
+  (0.2ms) ROLLBACK
2879
+  (0.2ms) BEGIN
2880
+  (0.1ms) ROLLBACK
2881
+  (0.2ms) BEGIN
2882
+  (0.3ms) ROLLBACK
2883
+  (0.2ms) BEGIN
2884
+  (0.2ms) ROLLBACK
2885
+  (0.4ms) BEGIN
2886
+  (0.4ms) ROLLBACK
2887
+  (0.7ms) BEGIN
2888
+  (0.6ms) ROLLBACK
2889
+  (0.8ms) BEGIN
2890
+  (0.8ms) ROLLBACK
2891
+  (0.5ms) BEGIN
2892
+  (0.4ms) SAVEPOINT active_record_1
2893
+ SQL (1.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:18.816511"], ["updated_at", "2015-12-16 22:02:18.816511"]]
2894
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2895
+  (0.2ms) SAVEPOINT active_record_1
2896
+ SQL (0.6ms) 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", 118]]
2897
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2898
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.9ms)
2899
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.2ms)
2900
+
2901
+ UserNotifier::Mailer#notify: processed outbound mail in 145.4ms
2902
+  (0.4ms) ROLLBACK
2903
+  (0.2ms) BEGIN
2904
+  (0.1ms) SAVEPOINT active_record_1
2905
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.007580"], ["updated_at", "2015-12-16 22:02:19.007580"]]
2906
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2907
+  (0.2ms) SAVEPOINT active_record_1
2908
+ 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", 119]]
2909
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2910
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.3ms)
2911
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.3ms)
2912
+
2913
+ UserNotifier::Mailer#notify: processed outbound mail in 23.3ms
2914
+  (0.2ms) ROLLBACK
2915
+  (0.2ms) BEGIN
2916
+  (0.1ms) SAVEPOINT active_record_1
2917
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.037658"], ["updated_at", "2015-12-16 22:02:19.037658"]]
2918
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2919
+  (0.2ms) SAVEPOINT active_record_1
2920
+ 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", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 120]]
2921
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2922
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
2923
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
2924
+
2925
+ UserNotifier::Mailer#notify: processed outbound mail in 1.7ms
2926
+  (0.3ms) ROLLBACK
2927
+  (0.2ms) BEGIN
2928
+  (0.2ms) SAVEPOINT active_record_1
2929
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.047611"], ["updated_at", "2015-12-16 22:02:19.047611"]]
2930
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2931
+  (0.2ms) SAVEPOINT active_record_1
2932
+ 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", 121]]
2933
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2934
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2935
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2936
+
2937
+ UserNotifier::Mailer#notify: processed outbound mail in 1.7ms
2938
+  (0.5ms) ROLLBACK
2939
+  (0.5ms) BEGIN
2940
+  (0.7ms) SAVEPOINT active_record_1
2941
+ SQL (1.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.065590"], ["updated_at", "2015-12-16 22:02:19.065590"]]
2942
+  (0.6ms) RELEASE SAVEPOINT active_record_1
2943
+  (0.6ms) SAVEPOINT active_record_1
2944
+ 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", 122]]
2945
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2946
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2947
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2948
+
2949
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
2950
+  (0.3ms) ROLLBACK
2951
+  (0.2ms) BEGIN
2952
+  (0.2ms) SAVEPOINT active_record_1
2953
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.081662"], ["updated_at", "2015-12-16 22:02:19.081662"]]
2954
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2955
+  (0.2ms) SAVEPOINT active_record_1
2956
+ 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", 123]]
2957
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2958
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2959
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
2960
+
2961
+ UserNotifier::Mailer#notify: processed outbound mail in 1.8ms
2962
+  (0.2ms) ROLLBACK
2963
+  (0.2ms) BEGIN
2964
+  (0.2ms) SAVEPOINT active_record_1
2965
+ SQL (1.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.091799"], ["updated_at", "2015-12-16 22:02:19.091799"]]
2966
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2967
+  (0.2ms) SAVEPOINT active_record_1
2968
+ 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", 124]]
2969
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2970
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
2971
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.1ms)
2972
+
2973
+ UserNotifier::Mailer#notify: processed outbound mail in 5.8ms
2974
+  (0.3ms) ROLLBACK
2975
+  (0.2ms) BEGIN
2976
+  (0.6ms) SAVEPOINT active_record_1
2977
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.126884"], ["updated_at", "2015-12-16 22:02:19.126884"]]
2978
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2979
+  (0.3ms) SAVEPOINT active_record_1
2980
+ SQL (0.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 125], ["title", "test"], ["created_at", "2015-12-16 22:02:19.134511"], ["updated_at", "2015-12-16 22:02:19.134511"]]
2981
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2982
+  (0.3ms) SAVEPOINT active_record_1
2983
+ 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", 125]]
2984
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2985
+  (0.2ms) ROLLBACK
2986
+  (0.2ms) BEGIN
2987
+  (0.2ms) SAVEPOINT active_record_1
2988
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.152796"], ["updated_at", "2015-12-16 22:02:19.152796"]]
2989
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2990
+  (0.2ms) SAVEPOINT active_record_1
2991
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 126], ["title", "test"], ["created_at", "2015-12-16 22:02:19.155306"], ["updated_at", "2015-12-16 22:02:19.155306"]]
2992
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2993
+  (0.3ms) SAVEPOINT active_record_1
2994
+ 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", 126], ["deliver_at", "2015-12-19 22:02:19.157707"]]
2995
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2996
+ UserNotification Load (0.9ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
2997
+  (0.3ms) ROLLBACK
2998
+  (0.2ms) BEGIN
2999
+  (0.2ms) SAVEPOINT active_record_1
3000
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.172500"], ["updated_at", "2015-12-16 22:02:19.172500"]]
3001
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3002
+  (0.3ms) SAVEPOINT active_record_1
3003
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 127], ["title", "test"], ["created_at", "2015-12-16 22:02:19.177498"], ["updated_at", "2015-12-16 22:02:19.177498"]]
3004
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3005
+  (0.2ms) SAVEPOINT active_record_1
3006
+ 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", 127], ["deliver_at", "2015-12-19 22:02:19.179354"]]
3007
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3008
+  (0.2ms) ROLLBACK
3009
+  (0.1ms) BEGIN
3010
+  (0.2ms) SAVEPOINT active_record_1
3011
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.188245"], ["updated_at", "2015-12-16 22:02:19.188245"]]
3012
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3013
+  (0.1ms) SAVEPOINT active_record_1
3014
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 128], ["title", "test"], ["created_at", "2015-12-16 22:02:19.190130"], ["updated_at", "2015-12-16 22:02:19.190130"]]
3015
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3016
+  (0.5ms) SAVEPOINT active_record_1
3017
+ SQL (1.2ms) 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", 128], ["deliver_at", "2015-12-19 22:02:19.192005"]]
3018
+  (0.7ms) RELEASE SAVEPOINT active_record_1
3019
+  (0.7ms) ROLLBACK
3020
+  (0.3ms) BEGIN
3021
+  (0.5ms) SAVEPOINT active_record_1
3022
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.209226"], ["updated_at", "2015-12-16 22:02:19.209226"]]
3023
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3024
+  (0.2ms) SAVEPOINT active_record_1
3025
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 129], ["title", "test"], ["created_at", "2015-12-16 22:02:19.212061"], ["updated_at", "2015-12-16 22:02:19.212061"]]
3026
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3027
+  (0.2ms) SAVEPOINT active_record_1
3028
+ 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", 129]]
3029
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3030
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3031
+  (0.2ms) ROLLBACK
3032
+  (0.2ms) BEGIN
3033
+  (0.2ms) SAVEPOINT active_record_1
3034
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.219691"], ["updated_at", "2015-12-16 22:02:19.219691"]]
3035
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3036
+  (0.2ms) SAVEPOINT active_record_1
3037
+ SQL (0.7ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 130], ["title", "test"], ["created_at", "2015-12-16 22:02:19.222503"], ["updated_at", "2015-12-16 22:02:19.222503"]]
3038
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3039
+  (0.3ms) SAVEPOINT active_record_1
3040
+ 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", 130]]
3041
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3042
+  (0.2ms) ROLLBACK
3043
+  (0.1ms) BEGIN
3044
+  (0.1ms) SAVEPOINT active_record_1
3045
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.235088"], ["updated_at", "2015-12-16 22:02:19.235088"]]
3046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3047
+  (0.1ms) SAVEPOINT active_record_1
3048
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 131], ["title", "test"], ["created_at", "2015-12-16 22:02:19.237322"], ["updated_at", "2015-12-16 22:02:19.237322"]]
3049
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3050
+  (0.2ms) SAVEPOINT active_record_1
3051
+ 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", 131]]
3052
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3053
+  (0.2ms) ROLLBACK
3054
+  (0.4ms) BEGIN
3055
+  (0.8ms) SAVEPOINT active_record_1
3056
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.249687"], ["updated_at", "2015-12-16 22:02:19.249687"]]
3057
+  (0.8ms) RELEASE SAVEPOINT active_record_1
3058
+  (0.4ms) SAVEPOINT active_record_1
3059
+ SQL (0.8ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 132], ["title", "test"], ["created_at", "2015-12-16 22:02:19.257672"], ["updated_at", "2015-12-16 22:02:19.257672"]]
3060
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3061
+  (0.2ms) SAVEPOINT active_record_1
3062
+ 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", 132]]
3063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3064
+  (0.2ms) ROLLBACK
3065
+  (0.1ms) BEGIN
3066
+  (0.2ms) SAVEPOINT active_record_1
3067
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.266036"], ["updated_at", "2015-12-16 22:02:19.266036"]]
3068
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3069
+  (0.1ms) SAVEPOINT active_record_1
3070
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 133], ["title", "test"], ["created_at", "2015-12-16 22:02:19.268185"], ["updated_at", "2015-12-16 22:02:19.268185"]]
3071
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3072
+  (0.3ms) SAVEPOINT active_record_1
3073
+ 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", 133]]
3074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3075
+  (0.3ms) ROLLBACK
3076
+  (0.4ms) BEGIN
3077
+  (0.2ms) SAVEPOINT active_record_1
3078
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.280768"], ["updated_at", "2015-12-16 22:02:19.280768"]]
3079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3080
+  (0.1ms) SAVEPOINT active_record_1
3081
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 134], ["title", "test"], ["created_at", "2015-12-16 22:02:19.282932"], ["updated_at", "2015-12-16 22:02:19.282932"]]
3082
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3083
+  (0.2ms) SAVEPOINT active_record_1
3084
+ 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", 134]]
3085
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3086
+  (0.2ms) ROLLBACK
3087
+  (0.1ms) BEGIN
3088
+  (0.1ms) SAVEPOINT active_record_1
3089
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.289098"], ["updated_at", "2015-12-16 22:02:19.289098"]]
3090
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3091
+  (0.2ms) SAVEPOINT active_record_1
3092
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 135], ["title", "test"], ["created_at", "2015-12-16 22:02:19.291266"], ["updated_at", "2015-12-16 22:02:19.291266"]]
3093
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3094
+  (0.7ms) ROLLBACK
3095
+  (0.4ms) BEGIN
3096
+  (0.6ms) SAVEPOINT active_record_1
3097
+ SQL (1.1ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.302526"], ["updated_at", "2015-12-16 22:02:19.302526"]]
3098
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3099
+  (0.3ms) SAVEPOINT active_record_1
3100
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 136], ["title", "test"], ["created_at", "2015-12-16 22:02:19.309242"], ["updated_at", "2015-12-16 22:02:19.309242"]]
3101
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3102
+  (0.3ms) SAVEPOINT active_record_1
3103
+ 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", 94], ["user_id", 136]]
3104
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3105
+  (0.2ms) ROLLBACK
3106
+  (0.2ms) BEGIN
3107
+  (0.1ms) SAVEPOINT active_record_1
3108
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.330161"], ["updated_at", "2015-12-16 22:02:19.330161"]]
3109
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3110
+  (0.1ms) SAVEPOINT active_record_1
3111
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 137], ["title", "test"], ["created_at", "2015-12-16 22:02:19.332185"], ["updated_at", "2015-12-16 22:02:19.332185"]]
3112
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3113
+  (0.1ms) SAVEPOINT active_record_1
3114
+ 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", 95], ["user_id", 137]]
3115
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3116
+  (0.2ms) ROLLBACK
3117
+  (0.1ms) BEGIN
3118
+  (0.1ms) SAVEPOINT active_record_1
3119
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.337959"], ["updated_at", "2015-12-16 22:02:19.337959"]]
3120
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3121
+  (0.1ms) SAVEPOINT active_record_1
3122
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 138], ["title", "test"], ["created_at", "2015-12-16 22:02:19.340155"], ["updated_at", "2015-12-16 22:02:19.340155"]]
3123
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3124
+  (0.2ms) SAVEPOINT active_record_1
3125
+ SQL (0.9ms) 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", 96], ["user_id", 138]]
3126
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3127
+  (0.6ms) ROLLBACK
3128
+  (0.5ms) BEGIN
3129
+  (0.6ms) SAVEPOINT active_record_1
3130
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.355590"], ["updated_at", "2015-12-16 22:02:19.355590"]]
3131
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3132
+  (0.2ms) SAVEPOINT active_record_1
3133
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 139], ["title", "test"], ["created_at", "2015-12-16 22:02:19.360537"], ["updated_at", "2015-12-16 22:02:19.360537"]]
3134
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3135
+  (0.2ms) SAVEPOINT active_record_1
3136
+ 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", 139]]
3137
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3138
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3139
+  (0.3ms) ROLLBACK
3140
+  (0.2ms) BEGIN
3141
+  (0.2ms) SAVEPOINT active_record_1
3142
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.368631"], ["updated_at", "2015-12-16 22:02:19.368631"]]
3143
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3144
+  (0.3ms) SAVEPOINT active_record_1
3145
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 140], ["title", "test"], ["created_at", "2015-12-16 22:02:19.375521"], ["updated_at", "2015-12-16 22:02:19.375521"]]
3146
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3147
+  (0.2ms) SAVEPOINT active_record_1
3148
+ 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", 140]]
3149
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3150
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 140 [["template_name", "test"]]
3151
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
3152
+  (0.2ms) ROLLBACK
3153
+  (0.1ms) BEGIN
3154
+  (0.1ms) SAVEPOINT active_record_1
3155
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:19.386476"], ["updated_at", "2015-12-16 22:02:19.386476"]]
3156
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3157
+  (0.1ms) SAVEPOINT active_record_1
3158
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 141], ["title", "test"], ["created_at", "2015-12-16 22:02:19.388508"], ["updated_at", "2015-12-16 22:02:19.388508"]]
3159
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3160
+  (0.2ms) SAVEPOINT active_record_1
3161
+ SQL (0.6ms) 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", 141]]
3162
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3163
+  (0.8ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 141 [["template_name", "another_test"]]
3164
+  (0.6ms) SAVEPOINT active_record_1
3165
+ 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", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 141]]
3166
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3167
+  (1.1ms) SELECT COUNT(*) FROM "user_notifications"
3168
+  (0.6ms) ROLLBACK
3169
+  (0.2ms) BEGIN
3170
+  (0.6ms) SAVEPOINT active_record_1
3171
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.714117"], ["updated_at", "2015-12-16 22:02:46.714117"]]
3172
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3173
+  (0.3ms) SAVEPOINT active_record_1
3174
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 142], ["title", "test"], ["created_at", "2015-12-16 22:02:46.737555"], ["updated_at", "2015-12-16 22:02:46.737555"]]
3175
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3176
+  (0.3ms) SAVEPOINT active_record_1
3177
+ 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", 142]]
3178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3179
+  (0.3ms) ROLLBACK
3180
+  (0.2ms) BEGIN
3181
+  (0.1ms) SAVEPOINT active_record_1
3182
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.763102"], ["updated_at", "2015-12-16 22:02:46.763102"]]
3183
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3184
+  (0.1ms) SAVEPOINT active_record_1
3185
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 143], ["title", "test"], ["created_at", "2015-12-16 22:02:46.765301"], ["updated_at", "2015-12-16 22:02:46.765301"]]
3186
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3187
+  (0.2ms) SAVEPOINT active_record_1
3188
+ 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", 143]]
3189
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3190
+  (0.2ms) ROLLBACK
3191
+  (0.2ms) BEGIN
3192
+  (0.2ms) SAVEPOINT active_record_1
3193
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.772057"], ["updated_at", "2015-12-16 22:02:46.772057"]]
3194
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3195
+  (0.2ms) SAVEPOINT active_record_1
3196
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 144], ["title", "test"], ["created_at", "2015-12-16 22:02:46.774129"], ["updated_at", "2015-12-16 22:02:46.774129"]]
3197
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3198
+  (0.2ms) SAVEPOINT active_record_1
3199
+ 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", 144]]
3200
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3201
+  (0.2ms) ROLLBACK
3202
+  (0.1ms) BEGIN
3203
+  (0.2ms) SAVEPOINT active_record_1
3204
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.780166"], ["updated_at", "2015-12-16 22:02:46.780166"]]
3205
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3206
+  (0.1ms) SAVEPOINT active_record_1
3207
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 145], ["title", "test"], ["created_at", "2015-12-16 22:02:46.782230"], ["updated_at", "2015-12-16 22:02:46.782230"]]
3208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3209
+  (0.2ms) ROLLBACK
3210
+  (0.1ms) BEGIN
3211
+  (0.2ms) SAVEPOINT active_record_1
3212
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.786347"], ["updated_at", "2015-12-16 22:02:46.786347"]]
3213
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3214
+  (0.2ms) SAVEPOINT active_record_1
3215
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 146], ["title", "test"], ["created_at", "2015-12-16 22:02:46.788414"], ["updated_at", "2015-12-16 22:02:46.788414"]]
3216
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3217
+  (0.3ms) SAVEPOINT active_record_1
3218
+ SQL (0.5ms) 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", 104], ["user_id", 146]]
3219
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3220
+  (0.2ms) ROLLBACK
3221
+  (0.2ms) BEGIN
3222
+  (0.2ms) SAVEPOINT active_record_1
3223
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.803503"], ["updated_at", "2015-12-16 22:02:46.803503"]]
3224
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3225
+  (0.2ms) SAVEPOINT active_record_1
3226
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 147], ["title", "test"], ["created_at", "2015-12-16 22:02:46.805989"], ["updated_at", "2015-12-16 22:02:46.805989"]]
3227
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3228
+  (0.2ms) SAVEPOINT active_record_1
3229
+ 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", 105], ["user_id", 147]]
3230
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3231
+  (0.2ms) ROLLBACK
3232
+  (0.1ms) BEGIN
3233
+  (0.1ms) SAVEPOINT active_record_1
3234
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.815944"], ["updated_at", "2015-12-16 22:02:46.815944"]]
3235
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3236
+  (0.2ms) SAVEPOINT active_record_1
3237
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 148], ["title", "test"], ["created_at", "2015-12-16 22:02:46.817920"], ["updated_at", "2015-12-16 22:02:46.817920"]]
3238
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3239
+  (0.1ms) SAVEPOINT active_record_1
3240
+ SQL (0.4ms) 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", 106], ["user_id", 148]]
3241
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3242
+  (0.3ms) ROLLBACK
3243
+  (0.4ms) BEGIN
3244
+  (0.6ms) SAVEPOINT active_record_1
3245
+ SQL (1.1ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.827820"], ["updated_at", "2015-12-16 22:02:46.827820"]]
3246
+  (0.7ms) RELEASE SAVEPOINT active_record_1
3247
+  (0.6ms) SAVEPOINT active_record_1
3248
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 149], ["title", "test"], ["created_at", "2015-12-16 22:02:46.835109"], ["updated_at", "2015-12-16 22:02:46.835109"]]
3249
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3250
+  (0.1ms) SAVEPOINT active_record_1
3251
+ 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", 149]]
3252
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3253
+ UserNotification Load (0.8ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3254
+  (0.3ms) ROLLBACK
3255
+  (0.2ms) BEGIN
3256
+  (0.2ms) SAVEPOINT active_record_1
3257
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.848062"], ["updated_at", "2015-12-16 22:02:46.848062"]]
3258
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3259
+  (0.1ms) SAVEPOINT active_record_1
3260
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 150], ["title", "test"], ["created_at", "2015-12-16 22:02:46.850390"], ["updated_at", "2015-12-16 22:02:46.850390"]]
3261
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3262
+  (0.2ms) SAVEPOINT active_record_1
3263
+ 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", 150]]
3264
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3265
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 150 [["template_name", "another_test"]]
3266
+  (0.2ms) SAVEPOINT active_record_1
3267
+ 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", 150]]
3268
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3269
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications"
3270
+  (0.2ms) ROLLBACK
3271
+  (0.1ms) BEGIN
3272
+  (0.1ms) SAVEPOINT active_record_1
3273
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.868271"], ["updated_at", "2015-12-16 22:02:46.868271"]]
3274
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3275
+  (0.2ms) SAVEPOINT active_record_1
3276
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 151], ["title", "test"], ["created_at", "2015-12-16 22:02:46.870518"], ["updated_at", "2015-12-16 22:02:46.870518"]]
3277
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3278
+  (0.2ms) SAVEPOINT active_record_1
3279
+ SQL (0.8ms) 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", 151]]
3280
+  (0.7ms) RELEASE SAVEPOINT active_record_1
3281
+  (1.1ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 151 [["template_name", "test"]]
3282
+  (1.2ms) SELECT COUNT(*) FROM "user_notifications"
3283
+  (0.9ms) ROLLBACK
3284
+  (0.3ms) BEGIN
3285
+  (0.2ms) SAVEPOINT active_record_1
3286
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.890428"], ["updated_at", "2015-12-16 22:02:46.890428"]]
3287
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3288
+  (0.1ms) SAVEPOINT active_record_1
3289
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 152], ["title", "test"], ["created_at", "2015-12-16 22:02:46.892491"], ["updated_at", "2015-12-16 22:02:46.892491"]]
3290
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3291
+  (0.3ms) SAVEPOINT active_record_1
3292
+ SQL (0.4ms) 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", 152], ["deliver_at", "2015-12-19 22:02:46.893962"]]
3293
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3294
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3295
+  (0.3ms) ROLLBACK
3296
+  (0.2ms) BEGIN
3297
+  (0.2ms) SAVEPOINT active_record_1
3298
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.901187"], ["updated_at", "2015-12-16 22:02:46.901187"]]
3299
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3300
+  (0.2ms) SAVEPOINT active_record_1
3301
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 153], ["title", "test"], ["created_at", "2015-12-16 22:02:46.907290"], ["updated_at", "2015-12-16 22:02:46.907290"]]
3302
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3303
+  (0.2ms) SAVEPOINT active_record_1
3304
+ 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", 153], ["deliver_at", "2015-12-19 22:02:46.909328"]]
3305
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3306
+  (0.2ms) ROLLBACK
3307
+  (0.1ms) BEGIN
3308
+  (0.1ms) SAVEPOINT active_record_1
3309
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.914200"], ["updated_at", "2015-12-16 22:02:46.914200"]]
3310
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3311
+  (0.1ms) SAVEPOINT active_record_1
3312
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 154], ["title", "test"], ["created_at", "2015-12-16 22:02:46.916280"], ["updated_at", "2015-12-16 22:02:46.916280"]]
3313
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3314
+  (0.1ms) SAVEPOINT active_record_1
3315
+ 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", 154], ["deliver_at", "2015-12-19 22:02:46.917881"]]
3316
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3317
+  (0.2ms) ROLLBACK
3318
+  (0.1ms) BEGIN
3319
+  (0.2ms) SAVEPOINT active_record_1
3320
+ SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.922781"], ["updated_at", "2015-12-16 22:02:46.922781"]]
3321
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3322
+  (0.7ms) SAVEPOINT active_record_1
3323
+ SQL (1.1ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 155], ["title", "test"], ["created_at", "2015-12-16 22:02:46.929070"], ["updated_at", "2015-12-16 22:02:46.929070"]]
3324
+  (0.8ms) RELEASE SAVEPOINT active_record_1
3325
+  (0.6ms) SAVEPOINT active_record_1
3326
+ 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", 155]]
3327
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3328
+  (0.2ms) ROLLBACK
3329
+  (0.2ms) BEGIN
3330
+  (0.2ms) SAVEPOINT active_record_1
3331
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.944390"], ["updated_at", "2015-12-16 22:02:46.944390"]]
3332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3333
+  (0.1ms) SAVEPOINT active_record_1
3334
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 156], ["title", "test"], ["created_at", "2015-12-16 22:02:46.947040"], ["updated_at", "2015-12-16 22:02:46.947040"]]
3335
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3336
+  (0.2ms) SAVEPOINT active_record_1
3337
+ 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", 156]]
3338
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3339
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3340
+  (0.4ms) ROLLBACK
3341
+  (0.2ms) BEGIN
3342
+  (0.1ms) SAVEPOINT active_record_1
3343
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.959243"], ["updated_at", "2015-12-16 22:02:46.959243"]]
3344
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3345
+  (0.2ms) SAVEPOINT active_record_1
3346
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 157], ["title", "test"], ["created_at", "2015-12-16 22:02:46.961329"], ["updated_at", "2015-12-16 22:02:46.961329"]]
3347
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3348
+  (0.2ms) SAVEPOINT active_record_1
3349
+ 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", 157]]
3350
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3351
+  (0.2ms) ROLLBACK
3352
+  (0.1ms) BEGIN
3353
+  (0.1ms) SAVEPOINT active_record_1
3354
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.967672"], ["updated_at", "2015-12-16 22:02:46.967672"]]
3355
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3356
+  (0.1ms) SAVEPOINT active_record_1
3357
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 158], ["title", "test"], ["created_at", "2015-12-16 22:02:46.969737"], ["updated_at", "2015-12-16 22:02:46.969737"]]
3358
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3359
+  (0.2ms) SAVEPOINT active_record_1
3360
+ 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", 158]]
3361
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3362
+  (0.4ms) ROLLBACK
3363
+  (0.4ms) BEGIN
3364
+  (0.6ms) SAVEPOINT active_record_1
3365
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:46.982627"], ["updated_at", "2015-12-16 22:02:46.982627"]]
3366
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3367
+  (0.3ms) SAVEPOINT active_record_1
3368
+ 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", 159]]
3369
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3370
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (1.0ms)
3371
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.2ms)
3372
+
3373
+ UserNotifier::Mailer#notify: processed outbound mail in 176.4ms
3374
+  (0.3ms) ROLLBACK
3375
+  (0.1ms) BEGIN
3376
+  (0.1ms) SAVEPOINT active_record_1
3377
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:47.171989"], ["updated_at", "2015-12-16 22:02:47.171989"]]
3378
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3379
+  (0.2ms) SAVEPOINT active_record_1
3380
+ SQL (0.2ms) 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", 160]]
3381
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3382
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
3383
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
3384
+
3385
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
3386
+  (0.2ms) ROLLBACK
3387
+  (0.1ms) BEGIN
3388
+  (0.2ms) SAVEPOINT active_record_1
3389
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:47.180431"], ["updated_at", "2015-12-16 22:02:47.180431"]]
3390
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3391
+  (0.2ms) SAVEPOINT active_record_1
3392
+ 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", 161]]
3393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3394
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.3ms)
3395
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
3396
+
3397
+ UserNotifier::Mailer#notify: processed outbound mail in 23.4ms
3398
+  (0.3ms) ROLLBACK
3399
+  (0.2ms) BEGIN
3400
+  (0.2ms) SAVEPOINT active_record_1
3401
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:47.211516"], ["updated_at", "2015-12-16 22:02:47.211516"]]
3402
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3403
+  (0.3ms) SAVEPOINT active_record_1
3404
+ 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", 162]]
3405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3406
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
3407
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3408
+
3409
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
3410
+  (0.2ms) ROLLBACK
3411
+  (0.2ms) BEGIN
3412
+  (0.2ms) SAVEPOINT active_record_1
3413
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:47.223150"], ["updated_at", "2015-12-16 22:02:47.223150"]]
3414
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3415
+  (0.4ms) SAVEPOINT active_record_1
3416
+ 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", 163]]
3417
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3418
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.1ms)
3419
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.1ms)
3420
+
3421
+ UserNotifier::Mailer#notify: processed outbound mail in 3.7ms
3422
+  (0.3ms) ROLLBACK
3423
+  (0.2ms) BEGIN
3424
+  (0.2ms) SAVEPOINT active_record_1
3425
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:47.243699"], ["updated_at", "2015-12-16 22:02:47.243699"]]
3426
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3427
+  (0.2ms) SAVEPOINT active_record_1
3428
+ 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", 164]]
3429
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3430
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
3431
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3432
+
3433
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
3434
+  (0.2ms) ROLLBACK
3435
+  (0.1ms) BEGIN
3436
+  (0.1ms) SAVEPOINT active_record_1
3437
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:02:47.251884"], ["updated_at", "2015-12-16 22:02:47.251884"]]
3438
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3439
+  (0.1ms) SAVEPOINT active_record_1
3440
+ 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", 165]]
3441
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3442
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.1ms)
3443
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3444
+
3445
+ UserNotifier::Mailer#notify: processed outbound mail in 2.3ms
3446
+  (0.3ms) ROLLBACK
3447
+  (0.2ms) BEGIN
3448
+  (0.2ms) ROLLBACK
3449
+  (0.2ms) BEGIN
3450
+  (0.2ms) ROLLBACK
3451
+  (0.2ms) BEGIN
3452
+  (3.7ms) ROLLBACK
3453
+  (0.2ms) BEGIN
3454
+  (0.2ms) ROLLBACK
3455
+  (0.2ms) BEGIN
3456
+  (0.1ms) ROLLBACK
3457
+  (0.2ms) BEGIN
3458
+  (0.1ms) ROLLBACK
3459
+  (0.2ms) BEGIN
3460
+  (0.2ms) ROLLBACK
3461
+  (0.2ms) BEGIN
3462
+  (0.4ms) ROLLBACK
3463
+  (0.5ms) BEGIN
3464
+  (0.7ms) ROLLBACK
3465
+  (0.6ms) BEGIN
3466
+  (0.7ms) ROLLBACK
3467
+  (0.4ms) BEGIN
3468
+  (0.4ms) ROLLBACK
3469
+  (0.2ms) BEGIN
3470
+  (0.2ms) ROLLBACK
3471
+  (0.1ms) BEGIN
3472
+  (0.1ms) ROLLBACK
3473
+  (0.1ms) BEGIN
3474
+  (0.1ms) ROLLBACK
3475
+  (0.2ms) BEGIN
3476
+  (0.6ms) SAVEPOINT active_record_1
3477
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.011127"], ["updated_at", "2015-12-16 22:06:03.011127"]]
3478
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3479
+  (0.3ms) SAVEPOINT active_record_1
3480
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 166], ["title", "test"], ["created_at", "2015-12-16 22:06:03.031956"], ["updated_at", "2015-12-16 22:06:03.031956"]]
3481
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3482
+  (0.2ms) SAVEPOINT active_record_1
3483
+ 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", 166]]
3484
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3485
+ UserNotification Load (0.9ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3486
+  (0.2ms) ROLLBACK
3487
+  (0.2ms) BEGIN
3488
+  (0.1ms) SAVEPOINT active_record_1
3489
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.056115"], ["updated_at", "2015-12-16 22:06:03.056115"]]
3490
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3491
+  (0.2ms) SAVEPOINT active_record_1
3492
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 167], ["title", "test"], ["created_at", "2015-12-16 22:06:03.058305"], ["updated_at", "2015-12-16 22:06:03.058305"]]
3493
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3494
+  (0.2ms) SAVEPOINT active_record_1
3495
+ 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", 167]]
3496
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3497
+  (0.2ms) ROLLBACK
3498
+  (0.1ms) BEGIN
3499
+  (0.2ms) SAVEPOINT active_record_1
3500
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.065214"], ["updated_at", "2015-12-16 22:06:03.065214"]]
3501
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3502
+  (0.2ms) SAVEPOINT active_record_1
3503
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 168], ["title", "test"], ["created_at", "2015-12-16 22:06:03.067485"], ["updated_at", "2015-12-16 22:06:03.067485"]]
3504
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3505
+  (0.2ms) SAVEPOINT active_record_1
3506
+ 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", 168]]
3507
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3508
+  (0.2ms) ROLLBACK
3509
+  (0.1ms) BEGIN
3510
+  (0.2ms) SAVEPOINT active_record_1
3511
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.074336"], ["updated_at", "2015-12-16 22:06:03.074336"]]
3512
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3513
+  (0.1ms) SAVEPOINT active_record_1
3514
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 169], ["title", "test"], ["created_at", "2015-12-16 22:06:03.076465"], ["updated_at", "2015-12-16 22:06:03.076465"]]
3515
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3516
+  (0.2ms) SAVEPOINT active_record_1
3517
+ 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", 169]]
3518
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3519
+  (0.2ms) ROLLBACK
3520
+  (0.1ms) BEGIN
3521
+  (0.2ms) SAVEPOINT active_record_1
3522
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.088842"], ["updated_at", "2015-12-16 22:06:03.088842"]]
3523
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3524
+  (0.2ms) SAVEPOINT active_record_1
3525
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 170], ["title", "test"], ["created_at", "2015-12-16 22:06:03.091749"], ["updated_at", "2015-12-16 22:06:03.091749"]]
3526
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3527
+  (0.2ms) SAVEPOINT active_record_1
3528
+ SQL (0.4ms) 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", 170], ["deliver_at", "2015-12-19 22:06:03.093850"]]
3529
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3530
+ UserNotification Load (0.6ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3531
+  (0.3ms) ROLLBACK
3532
+  (0.1ms) BEGIN
3533
+  (0.1ms) SAVEPOINT active_record_1
3534
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.105066"], ["updated_at", "2015-12-16 22:06:03.105066"]]
3535
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3536
+  (0.1ms) SAVEPOINT active_record_1
3537
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 171], ["title", "test"], ["created_at", "2015-12-16 22:06:03.107277"], ["updated_at", "2015-12-16 22:06:03.107277"]]
3538
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3539
+  (0.1ms) SAVEPOINT active_record_1
3540
+ 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", 171], ["deliver_at", "2015-12-19 22:06:03.108784"]]
3541
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3542
+  (0.2ms) ROLLBACK
3543
+  (0.1ms) BEGIN
3544
+  (0.1ms) SAVEPOINT active_record_1
3545
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.113598"], ["updated_at", "2015-12-16 22:06:03.113598"]]
3546
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3547
+  (0.3ms) SAVEPOINT active_record_1
3548
+ SQL (0.8ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 172], ["title", "test"], ["created_at", "2015-12-16 22:06:03.116927"], ["updated_at", "2015-12-16 22:06:03.116927"]]
3549
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3550
+  (0.6ms) SAVEPOINT active_record_1
3551
+ SQL (0.9ms) 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", 172], ["deliver_at", "2015-12-19 22:06:03.121824"]]
3552
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3553
+  (0.4ms) ROLLBACK
3554
+  (0.1ms) BEGIN
3555
+  (0.1ms) SAVEPOINT active_record_1
3556
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.134260"], ["updated_at", "2015-12-16 22:06:03.134260"]]
3557
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3558
+  (0.2ms) SAVEPOINT active_record_1
3559
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 173], ["title", "test"], ["created_at", "2015-12-16 22:06:03.136547"], ["updated_at", "2015-12-16 22:06:03.136547"]]
3560
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3561
+  (0.3ms) ROLLBACK
3562
+  (0.1ms) BEGIN
3563
+  (0.2ms) SAVEPOINT active_record_1
3564
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.141129"], ["updated_at", "2015-12-16 22:06:03.141129"]]
3565
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3566
+  (0.2ms) SAVEPOINT active_record_1
3567
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 174], ["title", "test"], ["created_at", "2015-12-16 22:06:03.143620"], ["updated_at", "2015-12-16 22:06:03.143620"]]
3568
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3569
+  (0.2ms) SAVEPOINT active_record_1
3570
+ SQL (0.4ms) 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", 125], ["user_id", 174]]
3571
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3572
+  (0.2ms) ROLLBACK
3573
+  (0.2ms) BEGIN
3574
+  (0.1ms) SAVEPOINT active_record_1
3575
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.163170"], ["updated_at", "2015-12-16 22:06:03.163170"]]
3576
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3577
+  (0.7ms) SAVEPOINT active_record_1
3578
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 175], ["title", "test"], ["created_at", "2015-12-16 22:06:03.167810"], ["updated_at", "2015-12-16 22:06:03.167810"]]
3579
+  (0.8ms) RELEASE SAVEPOINT active_record_1
3580
+  (0.6ms) SAVEPOINT active_record_1
3581
+ SQL (0.8ms) 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", 126], ["user_id", 175]]
3582
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3583
+  (0.2ms) ROLLBACK
3584
+  (0.1ms) BEGIN
3585
+  (0.2ms) SAVEPOINT active_record_1
3586
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.183919"], ["updated_at", "2015-12-16 22:06:03.183919"]]
3587
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3588
+  (0.1ms) SAVEPOINT active_record_1
3589
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 176], ["title", "test"], ["created_at", "2015-12-16 22:06:03.186161"], ["updated_at", "2015-12-16 22:06:03.186161"]]
3590
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3591
+  (0.2ms) SAVEPOINT active_record_1
3592
+ SQL (0.5ms) 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", 127], ["user_id", 176]]
3593
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3594
+  (0.2ms) ROLLBACK
3595
+  (0.2ms) BEGIN
3596
+  (0.2ms) SAVEPOINT active_record_1
3597
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.194119"], ["updated_at", "2015-12-16 22:06:03.194119"]]
3598
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3599
+  (3.7ms) SAVEPOINT active_record_1
3600
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 177], ["title", "test"], ["created_at", "2015-12-16 22:06:03.200671"], ["updated_at", "2015-12-16 22:06:03.200671"]]
3601
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3602
+  (0.2ms) SAVEPOINT active_record_1
3603
+ 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", 177]]
3604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3605
+  (0.2ms) ROLLBACK
3606
+  (0.1ms) BEGIN
3607
+  (0.1ms) SAVEPOINT active_record_1
3608
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.207402"], ["updated_at", "2015-12-16 22:06:03.207402"]]
3609
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3610
+  (0.1ms) SAVEPOINT active_record_1
3611
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 178], ["title", "test"], ["created_at", "2015-12-16 22:06:03.209642"], ["updated_at", "2015-12-16 22:06:03.209642"]]
3612
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3613
+  (0.2ms) SAVEPOINT active_record_1
3614
+ 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", 178]]
3615
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3616
+  (1.2ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 178 [["template_name", "another_test"]]
3617
+  (0.6ms) SAVEPOINT active_record_1
3618
+ SQL (0.8ms) 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", 178]]
3619
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3620
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
3621
+  (0.2ms) ROLLBACK
3622
+  (0.2ms) BEGIN
3623
+  (0.1ms) SAVEPOINT active_record_1
3624
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.234154"], ["updated_at", "2015-12-16 22:06:03.234154"]]
3625
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3626
+  (0.2ms) SAVEPOINT active_record_1
3627
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 179], ["title", "test"], ["created_at", "2015-12-16 22:06:03.236684"], ["updated_at", "2015-12-16 22:06:03.236684"]]
3628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3629
+  (0.2ms) SAVEPOINT active_record_1
3630
+ 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", 179]]
3631
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3632
+ UserNotification Load (0.5ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3633
+  (0.2ms) ROLLBACK
3634
+  (0.2ms) BEGIN
3635
+  (0.2ms) SAVEPOINT active_record_1
3636
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.244816"], ["updated_at", "2015-12-16 22:06:03.244816"]]
3637
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3638
+  (0.2ms) SAVEPOINT active_record_1
3639
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 180], ["title", "test"], ["created_at", "2015-12-16 22:06:03.251741"], ["updated_at", "2015-12-16 22:06:03.251741"]]
3640
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3641
+  (0.1ms) SAVEPOINT active_record_1
3642
+ SQL (0.2ms) 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", 180]]
3643
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3644
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 180 [["template_name", "test"]]
3645
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications"
3646
+  (0.2ms) ROLLBACK
3647
+  (0.2ms) BEGIN
3648
+  (0.2ms) SAVEPOINT active_record_1
3649
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.260332"], ["updated_at", "2015-12-16 22:06:03.260332"]]
3650
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3651
+  (0.1ms) SAVEPOINT active_record_1
3652
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 181], ["title", "test"], ["created_at", "2015-12-16 22:06:03.262406"], ["updated_at", "2015-12-16 22:06:03.262406"]]
3653
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3654
+  (0.2ms) SAVEPOINT active_record_1
3655
+ 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", 181]]
3656
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3657
+  (0.7ms) ROLLBACK
3658
+  (0.4ms) BEGIN
3659
+  (0.5ms) SAVEPOINT active_record_1
3660
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.277642"], ["updated_at", "2015-12-16 22:06:03.277642"]]
3661
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3662
+  (0.2ms) SAVEPOINT active_record_1
3663
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 182], ["title", "test"], ["created_at", "2015-12-16 22:06:03.282619"], ["updated_at", "2015-12-16 22:06:03.282619"]]
3664
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3665
+  (0.2ms) SAVEPOINT active_record_1
3666
+ 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", 182]]
3667
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3668
+  (0.2ms) ROLLBACK
3669
+  (0.2ms) BEGIN
3670
+  (0.2ms) ROLLBACK
3671
+  (0.2ms) BEGIN
3672
+  (0.2ms) ROLLBACK
3673
+  (0.2ms) BEGIN
3674
+  (0.2ms) ROLLBACK
3675
+  (0.3ms) BEGIN
3676
+  (0.2ms) ROLLBACK
3677
+  (0.1ms) BEGIN
3678
+  (0.1ms) ROLLBACK
3679
+  (0.1ms) BEGIN
3680
+  (0.1ms) ROLLBACK
3681
+  (0.2ms) BEGIN
3682
+  (0.1ms) ROLLBACK
3683
+  (0.1ms) BEGIN
3684
+  (0.1ms) ROLLBACK
3685
+  (0.2ms) BEGIN
3686
+  (0.2ms) ROLLBACK
3687
+  (0.1ms) BEGIN
3688
+  (0.2ms) ROLLBACK
3689
+  (0.2ms) BEGIN
3690
+  (0.2ms) ROLLBACK
3691
+  (0.1ms) BEGIN
3692
+  (0.1ms) ROLLBACK
3693
+  (0.2ms) BEGIN
3694
+  (0.1ms) ROLLBACK
3695
+  (0.2ms) BEGIN
3696
+  (0.1ms) ROLLBACK
3697
+  (0.1ms) BEGIN
3698
+  (0.1ms) SAVEPOINT active_record_1
3699
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.311900"], ["updated_at", "2015-12-16 22:06:03.311900"]]
3700
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3701
+  (0.2ms) SAVEPOINT active_record_1
3702
+ 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", 183]]
3703
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3704
+ Rendered user_notifier/mailer/test_subject.en.text.erb (1.1ms)
3705
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
3706
+
3707
+ UserNotifier::Mailer#notify: processed outbound mail in 172.3ms
3708
+  (0.3ms) ROLLBACK
3709
+  (0.1ms) BEGIN
3710
+  (0.2ms) SAVEPOINT active_record_1
3711
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.495254"], ["updated_at", "2015-12-16 22:06:03.495254"]]
3712
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3713
+  (0.2ms) SAVEPOINT active_record_1
3714
+ 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", 184]]
3715
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3716
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
3717
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3718
+
3719
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
3720
+  (0.2ms) ROLLBACK
3721
+  (0.1ms) BEGIN
3722
+  (0.2ms) SAVEPOINT active_record_1
3723
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.504018"], ["updated_at", "2015-12-16 22:06:03.504018"]]
3724
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3725
+  (0.2ms) SAVEPOINT active_record_1
3726
+ 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", 185]]
3727
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3728
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
3729
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3730
+
3731
+ UserNotifier::Mailer#notify: processed outbound mail in 1.7ms
3732
+  (0.3ms) ROLLBACK
3733
+  (0.2ms) BEGIN
3734
+  (0.2ms) SAVEPOINT active_record_1
3735
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.514321"], ["updated_at", "2015-12-16 22:06:03.514321"]]
3736
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3737
+  (0.2ms) SAVEPOINT active_record_1
3738
+ 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", 186]]
3739
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3740
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
3741
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3742
+
3743
+ UserNotifier::Mailer#notify: processed outbound mail in 1.6ms
3744
+  (0.3ms) ROLLBACK
3745
+  (0.2ms) BEGIN
3746
+  (0.2ms) SAVEPOINT active_record_1
3747
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.523923"], ["updated_at", "2015-12-16 22:06:03.523923"]]
3748
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3749
+  (0.2ms) SAVEPOINT active_record_1
3750
+ 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", 187]]
3751
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3752
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
3753
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
3754
+
3755
+ UserNotifier::Mailer#notify: processed outbound mail in 2.2ms
3756
+  (0.3ms) ROLLBACK
3757
+  (0.2ms) BEGIN
3758
+  (0.2ms) SAVEPOINT active_record_1
3759
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.534107"], ["updated_at", "2015-12-16 22:06:03.534107"]]
3760
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3761
+  (0.3ms) SAVEPOINT active_record_1
3762
+ 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", 188]]
3763
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3764
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.4ms)
3765
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.2ms)
3766
+
3767
+ UserNotifier::Mailer#notify: processed outbound mail in 32.2ms
3768
+  (0.3ms) ROLLBACK
3769
+  (0.2ms) BEGIN
3770
+  (0.2ms) SAVEPOINT active_record_1
3771
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:06:03.577870"], ["updated_at", "2015-12-16 22:06:03.577870"]]
3772
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3773
+  (0.2ms) SAVEPOINT active_record_1
3774
+ 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", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 189]]
3775
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3776
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.1ms)
3777
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.1ms)
3778
+
3779
+ UserNotifier::Mailer#notify: processed outbound mail in 5.4ms
3780
+  (0.3ms) ROLLBACK
3781
+  (0.1ms) BEGIN
3782
+  (0.9ms) SAVEPOINT active_record_1
3783
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.506547"], ["updated_at", "2015-12-16 22:40:10.506547"]]
3784
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3785
+  (0.2ms) SAVEPOINT active_record_1
3786
+ SQL (0.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 190], ["title", "test"], ["created_at", "2015-12-16 22:40:10.518668"], ["updated_at", "2015-12-16 22:40:10.518668"]]
3787
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3788
+  (0.2ms) SAVEPOINT active_record_1
3789
+ SQL (0.6ms) 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", 190]]
3790
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3791
+  (0.6ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 190 [["template_name", "another_test"]]
3792
+  (0.2ms) SAVEPOINT active_record_1
3793
+ 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", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 190]]
3794
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3795
+  (0.5ms) SELECT COUNT(*) FROM "user_notifications"
3796
+  (0.3ms) ROLLBACK
3797
+  (0.1ms) BEGIN
3798
+  (0.1ms) SAVEPOINT active_record_1
3799
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.555260"], ["updated_at", "2015-12-16 22:40:10.555260"]]
3800
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3801
+  (0.2ms) SAVEPOINT active_record_1
3802
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 191], ["title", "test"], ["created_at", "2015-12-16 22:40:10.567076"], ["updated_at", "2015-12-16 22:40:10.567076"]]
3803
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3804
+  (0.2ms) SAVEPOINT active_record_1
3805
+ 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", 191]]
3806
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3807
+  (0.3ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 191 [["template_name", "test"]]
3808
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
3809
+  (0.3ms) ROLLBACK
3810
+  (0.2ms) BEGIN
3811
+  (0.2ms) SAVEPOINT active_record_1
3812
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.575704"], ["updated_at", "2015-12-16 22:40:10.575704"]]
3813
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3814
+  (0.1ms) SAVEPOINT active_record_1
3815
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 192], ["title", "test"], ["created_at", "2015-12-16 22:40:10.577755"], ["updated_at", "2015-12-16 22:40:10.577755"]]
3816
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3817
+  (0.2ms) SAVEPOINT active_record_1
3818
+ 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", 192]]
3819
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3820
+ UserNotification Load (0.8ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3821
+  (0.3ms) ROLLBACK
3822
+  (0.1ms) BEGIN
3823
+  (0.1ms) SAVEPOINT active_record_1
3824
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.589709"], ["updated_at", "2015-12-16 22:40:10.589709"]]
3825
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3826
+  (0.2ms) SAVEPOINT active_record_1
3827
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 193], ["title", "test"], ["created_at", "2015-12-16 22:40:10.592443"], ["updated_at", "2015-12-16 22:40:10.592443"]]
3828
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3829
+  (0.3ms) ROLLBACK
3830
+  (0.2ms) BEGIN
3831
+  (0.1ms) SAVEPOINT active_record_1
3832
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.644498"], ["updated_at", "2015-12-16 22:40:10.644498"]]
3833
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3834
+  (0.2ms) SAVEPOINT active_record_1
3835
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 194], ["title", "test"], ["created_at", "2015-12-16 22:40:10.646941"], ["updated_at", "2015-12-16 22:40:10.646941"]]
3836
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3837
+  (0.2ms) ROLLBACK
3838
+  (0.2ms) BEGIN
3839
+  (0.2ms) SAVEPOINT active_record_1
3840
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.650578"], ["updated_at", "2015-12-16 22:40:10.650578"]]
3841
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3842
+  (0.2ms) SAVEPOINT active_record_1
3843
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 195], ["title", "test"], ["created_at", "2015-12-16 22:40:10.653494"], ["updated_at", "2015-12-16 22:40:10.653494"]]
3844
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3845
+  (0.2ms) ROLLBACK
3846
+  (0.9ms) BEGIN
3847
+  (0.3ms) SAVEPOINT active_record_1
3848
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.660922"], ["updated_at", "2015-12-16 22:40:10.660922"]]
3849
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3850
+  (0.2ms) SAVEPOINT active_record_1
3851
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 196], ["title", "test"], ["created_at", "2015-12-16 22:40:10.663512"], ["updated_at", "2015-12-16 22:40:10.663512"]]
3852
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3853
+  (0.2ms) ROLLBACK
3854
+  (0.2ms) BEGIN
3855
+  (0.1ms) SAVEPOINT active_record_1
3856
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.671733"], ["updated_at", "2015-12-16 22:40:10.671733"]]
3857
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3858
+  (0.4ms) SAVEPOINT active_record_1
3859
+ SQL (1.6ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 197], ["title", "test"], ["created_at", "2015-12-16 22:40:10.675847"], ["updated_at", "2015-12-16 22:40:10.675847"]]
3860
+  (0.8ms) RELEASE SAVEPOINT active_record_1
3861
+  (0.8ms) ROLLBACK
3862
+  (0.3ms) BEGIN
3863
+  (0.4ms) SAVEPOINT active_record_1
3864
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.691797"], ["updated_at", "2015-12-16 22:40:10.691797"]]
3865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3866
+  (0.2ms) SAVEPOINT active_record_1
3867
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 198], ["title", "test"], ["created_at", "2015-12-16 22:40:10.694310"], ["updated_at", "2015-12-16 22:40:10.694310"]]
3868
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3869
+  (0.1ms) SAVEPOINT active_record_1
3870
+ 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", 198]]
3871
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3872
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3873
+  (0.3ms) ROLLBACK
3874
+  (0.1ms) BEGIN
3875
+  (0.2ms) SAVEPOINT active_record_1
3876
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.702122"], ["updated_at", "2015-12-16 22:40:10.702122"]]
3877
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3878
+  (0.2ms) SAVEPOINT active_record_1
3879
+ SQL (1.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 199], ["title", "test"], ["created_at", "2015-12-16 22:40:10.704643"], ["updated_at", "2015-12-16 22:40:10.704643"]]
3880
+  (0.9ms) RELEASE SAVEPOINT active_record_1
3881
+  (0.3ms) SAVEPOINT active_record_1
3882
+ 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", 199]]
3883
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3884
+  (0.2ms) ROLLBACK
3885
+  (0.3ms) BEGIN
3886
+  (0.2ms) SAVEPOINT active_record_1
3887
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.721254"], ["updated_at", "2015-12-16 22:40:10.721254"]]
3888
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3889
+  (0.3ms) SAVEPOINT active_record_1
3890
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 200], ["title", "test"], ["created_at", "2015-12-16 22:40:10.724762"], ["updated_at", "2015-12-16 22:40:10.724762"]]
3891
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3892
+  (0.6ms) SAVEPOINT active_record_1
3893
+ SQL (0.8ms) 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", 200]]
3894
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3895
+  (0.4ms) ROLLBACK
3896
+  (0.1ms) BEGIN
3897
+  (0.2ms) SAVEPOINT active_record_1
3898
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.742249"], ["updated_at", "2015-12-16 22:40:10.742249"]]
3899
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3900
+  (0.2ms) SAVEPOINT active_record_1
3901
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 201], ["title", "test"], ["created_at", "2015-12-16 22:40:10.744573"], ["updated_at", "2015-12-16 22:40:10.744573"]]
3902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3903
+  (0.1ms) SAVEPOINT active_record_1
3904
+ 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", 201], ["deliver_at", "2015-12-19 22:40:10.745957"]]
3905
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3906
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
3907
+  (0.2ms) ROLLBACK
3908
+  (0.2ms) BEGIN
3909
+  (0.1ms) SAVEPOINT active_record_1
3910
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.751933"], ["updated_at", "2015-12-16 22:40:10.751933"]]
3911
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3912
+  (0.1ms) SAVEPOINT active_record_1
3913
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 202], ["title", "test"], ["created_at", "2015-12-16 22:40:10.754107"], ["updated_at", "2015-12-16 22:40:10.754107"]]
3914
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3915
+  (0.3ms) SAVEPOINT active_record_1
3916
+ SQL (0.4ms) 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", 202], ["deliver_at", "2015-12-19 22:40:10.755746"]]
3917
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3918
+  (0.2ms) ROLLBACK
3919
+  (0.2ms) BEGIN
3920
+  (0.2ms) SAVEPOINT active_record_1
3921
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.761766"], ["updated_at", "2015-12-16 22:40:10.761766"]]
3922
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3923
+  (0.2ms) SAVEPOINT active_record_1
3924
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 203], ["title", "test"], ["created_at", "2015-12-16 22:40:10.764784"], ["updated_at", "2015-12-16 22:40:10.764784"]]
3925
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3926
+  (0.1ms) SAVEPOINT active_record_1
3927
+ 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", 203], ["deliver_at", "2015-12-19 22:40:10.770474"]]
3928
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3929
+  (0.4ms) ROLLBACK
3930
+  (0.6ms) BEGIN
3931
+  (1.0ms) SAVEPOINT active_record_1
3932
+ SQL (1.1ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.782256"], ["updated_at", "2015-12-16 22:40:10.782256"]]
3933
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3934
+  (0.5ms) SAVEPOINT active_record_1
3935
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 204], ["title", "test"], ["created_at", "2015-12-16 22:40:10.790140"], ["updated_at", "2015-12-16 22:40:10.790140"]]
3936
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3937
+  (0.2ms) SAVEPOINT active_record_1
3938
+ SQL (0.2ms) 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", 204]]
3939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3940
+  (0.3ms) ROLLBACK
3941
+  (0.2ms) BEGIN
3942
+  (0.2ms) SAVEPOINT active_record_1
3943
+ SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.811845"], ["updated_at", "2015-12-16 22:40:10.811845"]]
3944
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3945
+  (0.3ms) SAVEPOINT active_record_1
3946
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 205], ["title", "test"], ["created_at", "2015-12-16 22:40:10.818234"], ["updated_at", "2015-12-16 22:40:10.818234"]]
3947
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3948
+  (0.2ms) SAVEPOINT active_record_1
3949
+ 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", 205]]
3950
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3951
+  (0.2ms) ROLLBACK
3952
+  (0.3ms) BEGIN
3953
+  (0.4ms) ROLLBACK
3954
+  (0.5ms) BEGIN
3955
+  (0.7ms) ROLLBACK
3956
+  (0.5ms) BEGIN
3957
+  (0.6ms) ROLLBACK
3958
+  (0.3ms) BEGIN
3959
+  (0.3ms) ROLLBACK
3960
+  (0.1ms) BEGIN
3961
+  (0.1ms) ROLLBACK
3962
+  (0.1ms) BEGIN
3963
+  (0.2ms) ROLLBACK
3964
+  (0.1ms) BEGIN
3965
+  (0.1ms) ROLLBACK
3966
+  (0.1ms) BEGIN
3967
+  (0.1ms) ROLLBACK
3968
+  (0.1ms) BEGIN
3969
+  (0.1ms) ROLLBACK
3970
+  (0.1ms) BEGIN
3971
+  (0.2ms) ROLLBACK
3972
+  (0.2ms) BEGIN
3973
+  (0.1ms) ROLLBACK
3974
+  (0.2ms) BEGIN
3975
+  (0.1ms) ROLLBACK
3976
+  (0.1ms) BEGIN
3977
+  (0.1ms) ROLLBACK
3978
+  (0.2ms) BEGIN
3979
+  (0.1ms) ROLLBACK
3980
+  (0.2ms) BEGIN
3981
+  (0.2ms) SAVEPOINT active_record_1
3982
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:10.854661"], ["updated_at", "2015-12-16 22:40:10.854661"]]
3983
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3984
+  (0.2ms) SAVEPOINT active_record_1
3985
+ 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", 206]]
3986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3987
+ Rendered user_notifier/mailer/test_subject.en.text.erb (1.3ms)
3988
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
3989
+
3990
+ UserNotifier::Mailer#notify: processed outbound mail in 197.9ms
3991
+  (0.3ms) ROLLBACK
3992
+  (0.1ms) BEGIN
3993
+  (0.1ms) SAVEPOINT active_record_1
3994
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:11.065248"], ["updated_at", "2015-12-16 22:40:11.065248"]]
3995
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3996
+  (0.1ms) SAVEPOINT active_record_1
3997
+ 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", 207]]
3998
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3999
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4000
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4001
+
4002
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
4003
+  (0.2ms) ROLLBACK
4004
+  (0.1ms) BEGIN
4005
+  (0.2ms) SAVEPOINT active_record_1
4006
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:11.072713"], ["updated_at", "2015-12-16 22:40:11.072713"]]
4007
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4008
+  (0.2ms) SAVEPOINT active_record_1
4009
+ 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", 208]]
4010
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4011
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4012
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4013
+
4014
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
4015
+  (0.3ms) ROLLBACK
4016
+  (0.2ms) BEGIN
4017
+  (0.1ms) SAVEPOINT active_record_1
4018
+ SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:11.081604"], ["updated_at", "2015-12-16 22:40:11.081604"]]
4019
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4020
+  (0.1ms) SAVEPOINT active_record_1
4021
+ 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", 209]]
4022
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4023
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4024
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4025
+
4026
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
4027
+  (0.2ms) ROLLBACK
4028
+  (0.1ms) BEGIN
4029
+  (0.1ms) SAVEPOINT active_record_1
4030
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:11.089646"], ["updated_at", "2015-12-16 22:40:11.089646"]]
4031
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4032
+  (0.2ms) SAVEPOINT active_record_1
4033
+ 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", 210]]
4034
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4035
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.3ms)
4036
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.7ms)
4037
+
4038
+ UserNotifier::Mailer#notify: processed outbound mail in 33.4ms
4039
+  (0.6ms) ROLLBACK
4040
+  (0.5ms) BEGIN
4041
+  (0.5ms) SAVEPOINT active_record_1
4042
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:11.134918"], ["updated_at", "2015-12-16 22:40:11.134918"]]
4043
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4044
+  (0.2ms) SAVEPOINT active_record_1
4045
+ 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", 211]]
4046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4047
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
4048
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
4049
+
4050
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
4051
+  (0.2ms) ROLLBACK
4052
+  (0.2ms) BEGIN
4053
+  (0.1ms) SAVEPOINT active_record_1
4054
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:11.146843"], ["updated_at", "2015-12-16 22:40:11.146843"]]
4055
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4056
+  (0.1ms) SAVEPOINT active_record_1
4057
+ 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", 212]]
4058
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4059
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.1ms)
4060
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4061
+
4062
+ UserNotifier::Mailer#notify: processed outbound mail in 1.6ms
4063
+  (0.2ms) ROLLBACK
4064
+  (0.2ms) BEGIN
4065
+  (0.3ms) SAVEPOINT active_record_1
4066
+ SQL (2.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.423847"], ["updated_at", "2015-12-16 22:40:31.423847"]]
4067
+  (0.7ms) RELEASE SAVEPOINT active_record_1
4068
+  (0.3ms) SAVEPOINT active_record_1
4069
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 213], ["title", "test"], ["created_at", "2015-12-16 22:40:31.452407"], ["updated_at", "2015-12-16 22:40:31.452407"]]
4070
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4071
+  (0.2ms) SAVEPOINT active_record_1
4072
+ SQL (0.6ms) 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", 150], ["user_id", 213]]
4073
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4074
+  (0.3ms) ROLLBACK
4075
+  (0.2ms) BEGIN
4076
+  (0.1ms) SAVEPOINT active_record_1
4077
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.475376"], ["updated_at", "2015-12-16 22:40:31.475376"]]
4078
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4079
+  (0.2ms) SAVEPOINT active_record_1
4080
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 214], ["title", "test"], ["created_at", "2015-12-16 22:40:31.477673"], ["updated_at", "2015-12-16 22:40:31.477673"]]
4081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4082
+  (0.2ms) SAVEPOINT active_record_1
4083
+ 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", 151], ["user_id", 214]]
4084
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4085
+  (0.2ms) ROLLBACK
4086
+  (0.1ms) BEGIN
4087
+  (0.1ms) SAVEPOINT active_record_1
4088
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.484290"], ["updated_at", "2015-12-16 22:40:31.484290"]]
4089
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4090
+  (0.2ms) SAVEPOINT active_record_1
4091
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 215], ["title", "test"], ["created_at", "2015-12-16 22:40:31.486595"], ["updated_at", "2015-12-16 22:40:31.486595"]]
4092
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4093
+  (0.2ms) SAVEPOINT active_record_1
4094
+ 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", 152], ["user_id", 215]]
4095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4096
+  (0.2ms) ROLLBACK
4097
+  (0.2ms) BEGIN
4098
+  (0.1ms) SAVEPOINT active_record_1
4099
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.492850"], ["updated_at", "2015-12-16 22:40:31.492850"]]
4100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4101
+  (0.1ms) SAVEPOINT active_record_1
4102
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 216], ["title", "test"], ["created_at", "2015-12-16 22:40:31.494930"], ["updated_at", "2015-12-16 22:40:31.494930"]]
4103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4104
+  (0.3ms) ROLLBACK
4105
+  (0.1ms) BEGIN
4106
+  (0.2ms) SAVEPOINT active_record_1
4107
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.501856"], ["updated_at", "2015-12-16 22:40:31.501856"]]
4108
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4109
+  (0.2ms) SAVEPOINT active_record_1
4110
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 217], ["title", "test"], ["created_at", "2015-12-16 22:40:31.504185"], ["updated_at", "2015-12-16 22:40:31.504185"]]
4111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4112
+  (0.3ms) SAVEPOINT active_record_1
4113
+ 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", 217]]
4114
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4115
+  (0.2ms) ROLLBACK
4116
+  (0.2ms) BEGIN
4117
+  (0.2ms) SAVEPOINT active_record_1
4118
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.516552"], ["updated_at", "2015-12-16 22:40:31.516552"]]
4119
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4120
+  (0.2ms) SAVEPOINT active_record_1
4121
+ SQL (0.5ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 218], ["title", "test"], ["created_at", "2015-12-16 22:40:31.520542"], ["updated_at", "2015-12-16 22:40:31.520542"]]
4122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4123
+  (0.2ms) SAVEPOINT active_record_1
4124
+ 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", 218], ["deliver_at", "2015-12-19 22:40:31.524389"]]
4125
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4126
+ UserNotification Load (0.9ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
4127
+  (0.2ms) ROLLBACK
4128
+  (0.3ms) BEGIN
4129
+  (0.2ms) SAVEPOINT active_record_1
4130
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.534991"], ["updated_at", "2015-12-16 22:40:31.534991"]]
4131
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4132
+  (0.2ms) SAVEPOINT active_record_1
4133
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 219], ["title", "test"], ["created_at", "2015-12-16 22:40:31.537041"], ["updated_at", "2015-12-16 22:40:31.537041"]]
4134
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4135
+  (0.3ms) SAVEPOINT active_record_1
4136
+ SQL (1.0ms) 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", 219], ["deliver_at", "2015-12-19 22:40:31.538625"]]
4137
+  (0.6ms) RELEASE SAVEPOINT active_record_1
4138
+  (0.6ms) ROLLBACK
4139
+  (0.5ms) BEGIN
4140
+  (0.5ms) SAVEPOINT active_record_1
4141
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.554302"], ["updated_at", "2015-12-16 22:40:31.554302"]]
4142
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4143
+  (0.2ms) SAVEPOINT active_record_1
4144
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 220], ["title", "test"], ["created_at", "2015-12-16 22:40:31.558967"], ["updated_at", "2015-12-16 22:40:31.558967"]]
4145
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4146
+  (0.2ms) SAVEPOINT active_record_1
4147
+ 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", 220], ["deliver_at", "2015-12-19 22:40:31.560965"]]
4148
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4149
+  (0.2ms) ROLLBACK
4150
+  (0.2ms) BEGIN
4151
+  (0.2ms) SAVEPOINT active_record_1
4152
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.566478"], ["updated_at", "2015-12-16 22:40:31.566478"]]
4153
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4154
+  (3.4ms) SAVEPOINT active_record_1
4155
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 221], ["title", "test"], ["created_at", "2015-12-16 22:40:31.572639"], ["updated_at", "2015-12-16 22:40:31.572639"]]
4156
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4157
+  (0.1ms) SAVEPOINT active_record_1
4158
+ 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", 221]]
4159
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4160
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
4161
+  (0.2ms) ROLLBACK
4162
+  (0.1ms) BEGIN
4163
+  (0.1ms) SAVEPOINT active_record_1
4164
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.580057"], ["updated_at", "2015-12-16 22:40:31.580057"]]
4165
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4166
+  (0.1ms) SAVEPOINT active_record_1
4167
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 222], ["title", "test"], ["created_at", "2015-12-16 22:40:31.582265"], ["updated_at", "2015-12-16 22:40:31.582265"]]
4168
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4169
+  (0.2ms) SAVEPOINT active_record_1
4170
+ 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", 222]]
4171
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4172
+  (0.2ms) ROLLBACK
4173
+  (0.1ms) BEGIN
4174
+  (0.1ms) SAVEPOINT active_record_1
4175
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.588529"], ["updated_at", "2015-12-16 22:40:31.588529"]]
4176
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4177
+  (0.6ms) SAVEPOINT active_record_1
4178
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 223], ["title", "test"], ["created_at", "2015-12-16 22:40:31.592597"], ["updated_at", "2015-12-16 22:40:31.592597"]]
4179
+  (0.8ms) RELEASE SAVEPOINT active_record_1
4180
+  (0.7ms) SAVEPOINT active_record_1
4181
+ SQL (1.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", 223]]
4182
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4183
+  (0.2ms) ROLLBACK
4184
+  (0.2ms) BEGIN
4185
+  (0.2ms) SAVEPOINT active_record_1
4186
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.612555"], ["updated_at", "2015-12-16 22:40:31.612555"]]
4187
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4188
+  (0.2ms) SAVEPOINT active_record_1
4189
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 224], ["title", "test"], ["created_at", "2015-12-16 22:40:31.615091"], ["updated_at", "2015-12-16 22:40:31.615091"]]
4190
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4191
+  (0.2ms) SAVEPOINT active_record_1
4192
+ 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", 224]]
4193
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4194
+  (0.3ms) ROLLBACK
4195
+  (0.2ms) BEGIN
4196
+  (0.2ms) SAVEPOINT active_record_1
4197
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.639767"], ["updated_at", "2015-12-16 22:40:31.639767"]]
4198
+  (0.7ms) RELEASE SAVEPOINT active_record_1
4199
+  (0.7ms) SAVEPOINT active_record_1
4200
+ SQL (1.1ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 225], ["title", "test"], ["created_at", "2015-12-16 22:40:31.645037"], ["updated_at", "2015-12-16 22:40:31.645037"]]
4201
+  (0.9ms) RELEASE SAVEPOINT active_record_1
4202
+  (0.7ms) SAVEPOINT active_record_1
4203
+ SQL (1.8ms) 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", 225]]
4204
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4205
+  (0.2ms) ROLLBACK
4206
+  (0.1ms) BEGIN
4207
+  (0.1ms) SAVEPOINT active_record_1
4208
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.662515"], ["updated_at", "2015-12-16 22:40:31.662515"]]
4209
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4210
+  (0.2ms) SAVEPOINT active_record_1
4211
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 226], ["title", "test"], ["created_at", "2015-12-16 22:40:31.664828"], ["updated_at", "2015-12-16 22:40:31.664828"]]
4212
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4213
+  (0.2ms) SAVEPOINT active_record_1
4214
+ 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", 226]]
4215
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4216
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
4217
+  (0.3ms) ROLLBACK
4218
+  (0.2ms) BEGIN
4219
+  (0.6ms) SAVEPOINT active_record_1
4220
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.674691"], ["updated_at", "2015-12-16 22:40:31.674691"]]
4221
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4222
+  (0.3ms) SAVEPOINT active_record_1
4223
+ SQL (3.8ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 227], ["title", "test"], ["created_at", "2015-12-16 22:40:31.679437"], ["updated_at", "2015-12-16 22:40:31.679437"]]
4224
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4225
+  (0.2ms) SAVEPOINT active_record_1
4226
+ 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", 227]]
4227
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4228
+  (1.2ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 227 [["template_name", "another_test"]]
4229
+  (0.5ms) SAVEPOINT active_record_1
4230
+ 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", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 227]]
4231
+  (1.2ms) RELEASE SAVEPOINT active_record_1
4232
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
4233
+  (0.2ms) ROLLBACK
4234
+  (0.2ms) BEGIN
4235
+  (0.2ms) SAVEPOINT active_record_1
4236
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.712081"], ["updated_at", "2015-12-16 22:40:31.712081"]]
4237
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4238
+  (0.1ms) SAVEPOINT active_record_1
4239
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 228], ["title", "test"], ["created_at", "2015-12-16 22:40:31.714380"], ["updated_at", "2015-12-16 22:40:31.714380"]]
4240
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4241
+  (0.1ms) SAVEPOINT active_record_1
4242
+ 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", 228]]
4243
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4244
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 228 [["template_name", "test"]]
4245
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
4246
+  (0.3ms) ROLLBACK
4247
+  (0.8ms) BEGIN
4248
+  (0.4ms) ROLLBACK
4249
+  (0.2ms) BEGIN
4250
+  (0.1ms) ROLLBACK
4251
+  (0.2ms) BEGIN
4252
+  (0.1ms) ROLLBACK
4253
+  (0.2ms) BEGIN
4254
+  (0.2ms) ROLLBACK
4255
+  (0.1ms) BEGIN
4256
+  (0.1ms) ROLLBACK
4257
+  (0.2ms) BEGIN
4258
+  (0.1ms) ROLLBACK
4259
+  (0.2ms) BEGIN
4260
+  (0.2ms) ROLLBACK
4261
+  (0.2ms) BEGIN
4262
+  (0.2ms) ROLLBACK
4263
+  (0.2ms) BEGIN
4264
+  (0.4ms) ROLLBACK
4265
+  (0.3ms) BEGIN
4266
+  (0.5ms) ROLLBACK
4267
+  (0.1ms) BEGIN
4268
+  (0.1ms) ROLLBACK
4269
+  (0.1ms) BEGIN
4270
+  (0.2ms) ROLLBACK
4271
+  (0.2ms) BEGIN
4272
+  (0.3ms) ROLLBACK
4273
+  (0.2ms) BEGIN
4274
+  (0.2ms) ROLLBACK
4275
+  (0.1ms) BEGIN
4276
+  (0.1ms) SAVEPOINT active_record_1
4277
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.753832"], ["updated_at", "2015-12-16 22:40:31.753832"]]
4278
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4279
+  (0.2ms) SAVEPOINT active_record_1
4280
+ 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", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 229]]
4281
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4282
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (1.4ms)
4283
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.2ms)
4284
+
4285
+ UserNotifier::Mailer#notify: processed outbound mail in 187.1ms
4286
+  (0.3ms) ROLLBACK
4287
+  (0.1ms) BEGIN
4288
+  (0.1ms) SAVEPOINT active_record_1
4289
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.953086"], ["updated_at", "2015-12-16 22:40:31.953086"]]
4290
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4291
+  (0.1ms) SAVEPOINT active_record_1
4292
+ 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", 230]]
4293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4294
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
4295
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
4296
+
4297
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
4298
+  (0.2ms) ROLLBACK
4299
+  (0.1ms) BEGIN
4300
+  (0.2ms) SAVEPOINT active_record_1
4301
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.960761"], ["updated_at", "2015-12-16 22:40:31.960761"]]
4302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4303
+  (0.1ms) SAVEPOINT active_record_1
4304
+ 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", 231]]
4305
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4306
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.3ms)
4307
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
4308
+
4309
+ UserNotifier::Mailer#notify: processed outbound mail in 23.2ms
4310
+  (0.3ms) ROLLBACK
4311
+  (0.2ms) BEGIN
4312
+  (0.2ms) SAVEPOINT active_record_1
4313
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:31.991577"], ["updated_at", "2015-12-16 22:40:31.991577"]]
4314
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4315
+  (3.3ms) SAVEPOINT active_record_1
4316
+ 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", 232]]
4317
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4318
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4319
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4320
+
4321
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
4322
+  (0.2ms) ROLLBACK
4323
+  (0.2ms) BEGIN
4324
+  (0.1ms) SAVEPOINT active_record_1
4325
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:32.003562"], ["updated_at", "2015-12-16 22:40:32.003562"]]
4326
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4327
+  (0.1ms) SAVEPOINT active_record_1
4328
+ 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", 233]]
4329
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4330
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.1ms)
4331
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4332
+
4333
+ UserNotifier::Mailer#notify: processed outbound mail in 2.8ms
4334
+  (0.6ms) ROLLBACK
4335
+  (0.4ms) BEGIN
4336
+  (0.7ms) SAVEPOINT active_record_1
4337
+ SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:32.018625"], ["updated_at", "2015-12-16 22:40:32.018625"]]
4338
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4339
+  (0.2ms) SAVEPOINT active_record_1
4340
+ 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", 234]]
4341
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4342
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4343
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4344
+
4345
+ UserNotifier::Mailer#notify: processed outbound mail in 1.5ms
4346
+  (0.2ms) ROLLBACK
4347
+  (0.1ms) BEGIN
4348
+  (0.1ms) SAVEPOINT active_record_1
4349
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:32.031077"], ["updated_at", "2015-12-16 22:40:32.031077"]]
4350
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4351
+  (0.2ms) SAVEPOINT active_record_1
4352
+ 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", 235]]
4353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4354
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4355
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4356
+
4357
+ UserNotifier::Mailer#notify: processed outbound mail in 2.1ms
4358
+  (0.5ms) ROLLBACK
4359
+  (0.1ms) BEGIN
4360
+  (0.3ms) SAVEPOINT active_record_1
4361
+ SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.771402"], ["updated_at", "2015-12-16 22:40:54.771402"]]
4362
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4363
+  (0.2ms) SAVEPOINT active_record_1
4364
+ SQL (1.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 236], ["title", "test"], ["created_at", "2015-12-16 22:40:54.781606"], ["updated_at", "2015-12-16 22:40:54.781606"]]
4365
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4366
+  (0.3ms) SAVEPOINT active_record_1
4367
+ SQL (0.5ms) 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", 166], ["user_id", 236]]
4368
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4369
+  (0.2ms) ROLLBACK
4370
+  (0.2ms) BEGIN
4371
+  (0.2ms) SAVEPOINT active_record_1
4372
+ SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.814607"], ["updated_at", "2015-12-16 22:40:54.814607"]]
4373
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4374
+  (0.2ms) SAVEPOINT active_record_1
4375
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 237], ["title", "test"], ["created_at", "2015-12-16 22:40:54.820498"], ["updated_at", "2015-12-16 22:40:54.820498"]]
4376
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4377
+  (0.2ms) SAVEPOINT active_record_1
4378
+ 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", 167], ["user_id", 237]]
4379
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4380
+  (0.2ms) ROLLBACK
4381
+  (0.1ms) BEGIN
4382
+  (0.1ms) SAVEPOINT active_record_1
4383
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.826827"], ["updated_at", "2015-12-16 22:40:54.826827"]]
4384
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4385
+  (0.1ms) SAVEPOINT active_record_1
4386
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 238], ["title", "test"], ["created_at", "2015-12-16 22:40:54.829098"], ["updated_at", "2015-12-16 22:40:54.829098"]]
4387
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4388
+  (0.1ms) SAVEPOINT active_record_1
4389
+ 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", 168], ["user_id", 238]]
4390
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4391
+  (0.2ms) ROLLBACK
4392
+  (0.1ms) BEGIN
4393
+  (0.2ms) SAVEPOINT active_record_1
4394
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.836240"], ["updated_at", "2015-12-16 22:40:54.836240"]]
4395
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4396
+  (0.2ms) SAVEPOINT active_record_1
4397
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 239], ["title", "test"], ["created_at", "2015-12-16 22:40:54.838348"], ["updated_at", "2015-12-16 22:40:54.838348"]]
4398
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4399
+  (0.4ms) SAVEPOINT active_record_1
4400
+ SQL (0.6ms) 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", 239]]
4401
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4402
+  (0.2ms) ROLLBACK
4403
+  (0.2ms) BEGIN
4404
+  (0.2ms) SAVEPOINT active_record_1
4405
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.853748"], ["updated_at", "2015-12-16 22:40:54.853748"]]
4406
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4407
+  (0.1ms) SAVEPOINT active_record_1
4408
+ SQL (0.4ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 240], ["title", "test"], ["created_at", "2015-12-16 22:40:54.856093"], ["updated_at", "2015-12-16 22:40:54.856093"]]
4409
+  (3.4ms) RELEASE SAVEPOINT active_record_1
4410
+  (0.3ms) ROLLBACK
4411
+  (0.1ms) BEGIN
4412
+  (0.2ms) SAVEPOINT active_record_1
4413
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.864582"], ["updated_at", "2015-12-16 22:40:54.864582"]]
4414
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4415
+  (0.4ms) SAVEPOINT active_record_1
4416
+ SQL (1.0ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 241], ["title", "test"], ["created_at", "2015-12-16 22:40:54.868007"], ["updated_at", "2015-12-16 22:40:54.868007"]]
4417
+  (0.6ms) RELEASE SAVEPOINT active_record_1
4418
+  (0.7ms) SAVEPOINT active_record_1
4419
+ 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", 241]]
4420
+  (0.7ms) RELEASE SAVEPOINT active_record_1
4421
+  (0.3ms) ROLLBACK
4422
+  (0.2ms) BEGIN
4423
+  (0.2ms) SAVEPOINT active_record_1
4424
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.892703"], ["updated_at", "2015-12-16 22:40:54.892703"]]
4425
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4426
+  (0.1ms) SAVEPOINT active_record_1
4427
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 242], ["title", "test"], ["created_at", "2015-12-16 22:40:54.894916"], ["updated_at", "2015-12-16 22:40:54.894916"]]
4428
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4429
+  (0.2ms) SAVEPOINT active_record_1
4430
+ 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", 242]]
4431
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4432
+  (0.2ms) ROLLBACK
4433
+  (0.1ms) BEGIN
4434
+  (0.2ms) SAVEPOINT active_record_1
4435
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.914575"], ["updated_at", "2015-12-16 22:40:54.914575"]]
4436
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4437
+  (0.5ms) SAVEPOINT active_record_1
4438
+ SQL (0.9ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 243], ["title", "test"], ["created_at", "2015-12-16 22:40:54.919578"], ["updated_at", "2015-12-16 22:40:54.919578"]]
4439
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4440
+  (0.6ms) SAVEPOINT active_record_1
4441
+ 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", 243]]
4442
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4443
+ UserNotification Load (0.9ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
4444
+  (0.2ms) ROLLBACK
4445
+  (0.1ms) BEGIN
4446
+  (0.2ms) SAVEPOINT active_record_1
4447
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.939917"], ["updated_at", "2015-12-16 22:40:54.939917"]]
4448
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4449
+  (0.1ms) SAVEPOINT active_record_1
4450
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 244], ["title", "test"], ["created_at", "2015-12-16 22:40:54.942009"], ["updated_at", "2015-12-16 22:40:54.942009"]]
4451
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4452
+  (0.2ms) SAVEPOINT active_record_1
4453
+ 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", 244]]
4454
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4455
+  (0.2ms) ROLLBACK
4456
+  (0.2ms) BEGIN
4457
+  (0.2ms) SAVEPOINT active_record_1
4458
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.948807"], ["updated_at", "2015-12-16 22:40:54.948807"]]
4459
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4460
+  (0.1ms) SAVEPOINT active_record_1
4461
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 245], ["title", "test"], ["created_at", "2015-12-16 22:40:54.951048"], ["updated_at", "2015-12-16 22:40:54.951048"]]
4462
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4463
+  (0.2ms) SAVEPOINT active_record_1
4464
+ 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", 245]]
4465
+  (3.7ms) RELEASE SAVEPOINT active_record_1
4466
+  (0.2ms) ROLLBACK
4467
+  (0.1ms) BEGIN
4468
+  (0.2ms) SAVEPOINT active_record_1
4469
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.962316"], ["updated_at", "2015-12-16 22:40:54.962316"]]
4470
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4471
+  (0.1ms) SAVEPOINT active_record_1
4472
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 246], ["title", "test"], ["created_at", "2015-12-16 22:40:54.964369"], ["updated_at", "2015-12-16 22:40:54.964369"]]
4473
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4474
+  (0.5ms) SAVEPOINT active_record_1
4475
+ SQL (1.1ms) 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", 246], ["deliver_at", "2015-12-19 22:40:54.966029"]]
4476
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4477
+ UserNotification Load (1.2ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
4478
+  (0.6ms) ROLLBACK
4479
+  (0.3ms) BEGIN
4480
+  (0.4ms) SAVEPOINT active_record_1
4481
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.983321"], ["updated_at", "2015-12-16 22:40:54.983321"]]
4482
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4483
+  (0.2ms) SAVEPOINT active_record_1
4484
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 247], ["title", "test"], ["created_at", "2015-12-16 22:40:54.985784"], ["updated_at", "2015-12-16 22:40:54.985784"]]
4485
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4486
+  (0.1ms) SAVEPOINT active_record_1
4487
+ 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", 247], ["deliver_at", "2015-12-19 22:40:54.987249"]]
4488
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4489
+  (0.2ms) ROLLBACK
4490
+  (0.2ms) BEGIN
4491
+  (0.1ms) SAVEPOINT active_record_1
4492
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:54.992366"], ["updated_at", "2015-12-16 22:40:54.992366"]]
4493
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4494
+  (0.2ms) SAVEPOINT active_record_1
4495
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 248], ["title", "test"], ["created_at", "2015-12-16 22:40:54.994476"], ["updated_at", "2015-12-16 22:40:54.994476"]]
4496
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4497
+  (0.2ms) SAVEPOINT active_record_1
4498
+ SQL (0.4ms) 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", 248], ["deliver_at", "2015-12-19 22:40:54.996027"]]
4499
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4500
+  (0.2ms) ROLLBACK
4501
+  (0.2ms) BEGIN
4502
+  (0.2ms) SAVEPOINT active_record_1
4503
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.001461"], ["updated_at", "2015-12-16 22:40:55.001461"]]
4504
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4505
+  (0.4ms) SAVEPOINT active_record_1
4506
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 249], ["title", "test"], ["created_at", "2015-12-16 22:40:55.009011"], ["updated_at", "2015-12-16 22:40:55.009011"]]
4507
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4508
+  (0.1ms) SAVEPOINT active_record_1
4509
+ 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", 249]]
4510
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4511
+ UserNotification Load (0.4ms) SELECT "user_notifications".* FROM "user_notifications" ORDER BY "user_notifications"."id" DESC LIMIT 1
4512
+  (0.2ms) ROLLBACK
4513
+  (0.2ms) BEGIN
4514
+  (0.3ms) SAVEPOINT active_record_1
4515
+ SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.016940"], ["updated_at", "2015-12-16 22:40:55.016940"]]
4516
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4517
+  (0.6ms) SAVEPOINT active_record_1
4518
+ SQL (0.9ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 250], ["title", "test"], ["created_at", "2015-12-16 22:40:55.023548"], ["updated_at", "2015-12-16 22:40:55.023548"]]
4519
+  (0.7ms) RELEASE SAVEPOINT active_record_1
4520
+  (0.4ms) SAVEPOINT active_record_1
4521
+ SQL (0.6ms) 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", 250]]
4522
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4523
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 250 [["template_name", "test"]]
4524
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
4525
+  (0.2ms) ROLLBACK
4526
+  (0.2ms) BEGIN
4527
+  (0.1ms) SAVEPOINT active_record_1
4528
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.041768"], ["updated_at", "2015-12-16 22:40:55.041768"]]
4529
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4530
+  (0.2ms) SAVEPOINT active_record_1
4531
+ SQL (0.3ms) INSERT INTO "orders" ("user_id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 251], ["title", "test"], ["created_at", "2015-12-16 22:40:55.043993"], ["updated_at", "2015-12-16 22:40:55.043993"]]
4532
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4533
+  (0.2ms) SAVEPOINT active_record_1
4534
+ 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", 251]]
4535
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4536
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications" WHERE "user_notifications"."template_name" = $1 AND "user_notifications"."user_id" = 251 [["template_name", "another_test"]]
4537
+  (0.3ms) SAVEPOINT active_record_1
4538
+ 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", "another_test"], ["locale", "en"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 251]]
4539
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4540
+  (0.4ms) SELECT COUNT(*) FROM "user_notifications"
4541
+  (0.2ms) ROLLBACK
4542
+  (0.3ms) BEGIN
4543
+  (0.2ms) ROLLBACK
4544
+  (0.1ms) BEGIN
4545
+  (0.2ms) ROLLBACK
4546
+  (0.1ms) BEGIN
4547
+  (0.1ms) ROLLBACK
4548
+  (0.2ms) BEGIN
4549
+  (0.2ms) ROLLBACK
4550
+  (0.2ms) BEGIN
4551
+  (0.4ms) ROLLBACK
4552
+  (0.3ms) BEGIN
4553
+  (0.4ms) ROLLBACK
4554
+  (0.5ms) BEGIN
4555
+  (0.7ms) ROLLBACK
4556
+  (0.4ms) BEGIN
4557
+  (0.6ms) ROLLBACK
4558
+  (0.3ms) BEGIN
4559
+  (0.3ms) ROLLBACK
4560
+  (0.2ms) BEGIN
4561
+  (0.1ms) ROLLBACK
4562
+  (0.2ms) BEGIN
4563
+  (0.2ms) ROLLBACK
4564
+  (0.2ms) BEGIN
4565
+  (0.1ms) ROLLBACK
4566
+  (0.1ms) BEGIN
4567
+  (0.1ms) ROLLBACK
4568
+  (0.2ms) BEGIN
4569
+  (0.1ms) ROLLBACK
4570
+  (0.1ms) BEGIN
4571
+  (0.1ms) SAVEPOINT active_record_1
4572
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.090924"], ["updated_at", "2015-12-16 22:40:55.090924"]]
4573
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4574
+  (0.2ms) SAVEPOINT active_record_1
4575
+ 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", 252]]
4576
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4577
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.8ms)
4578
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.3ms)
4579
+
4580
+ UserNotifier::Mailer#notify: processed outbound mail in 166.6ms
4581
+  (0.3ms) ROLLBACK
4582
+  (0.1ms) BEGIN
4583
+  (0.2ms) SAVEPOINT active_record_1
4584
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.266677"], ["updated_at", "2015-12-16 22:40:55.266677"]]
4585
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4586
+  (0.1ms) SAVEPOINT active_record_1
4587
+ 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", 253]]
4588
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4589
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4590
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4591
+
4592
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
4593
+  (0.2ms) ROLLBACK
4594
+  (0.1ms) BEGIN
4595
+  (0.1ms) SAVEPOINT active_record_1
4596
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.274323"], ["updated_at", "2015-12-16 22:40:55.274323"]]
4597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4598
+  (0.2ms) SAVEPOINT active_record_1
4599
+ 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", 254]]
4600
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4601
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4602
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4603
+
4604
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
4605
+  (0.2ms) ROLLBACK
4606
+  (0.2ms) BEGIN
4607
+  (0.1ms) SAVEPOINT active_record_1
4608
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.282189"], ["updated_at", "2015-12-16 22:40:55.282189"]]
4609
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4610
+  (0.1ms) SAVEPOINT active_record_1
4611
+ 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", 255]]
4612
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4613
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4614
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4615
+
4616
+ UserNotifier::Mailer#notify: processed outbound mail in 1.3ms
4617
+  (0.2ms) ROLLBACK
4618
+  (0.1ms) BEGIN
4619
+  (0.1ms) SAVEPOINT active_record_1
4620
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.289635"], ["updated_at", "2015-12-16 22:40:55.289635"]]
4621
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4622
+  (0.1ms) SAVEPOINT active_record_1
4623
+ 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", 256]]
4624
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4625
+ Rendered user_notifier/mailer/test_subject.en.text.erb (0.0ms)
4626
+ Rendered user_notifier/mailer/test.en.html.erb within layouts/email (0.0ms)
4627
+
4628
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
4629
+  (0.2ms) ROLLBACK
4630
+  (0.2ms) BEGIN
4631
+  (0.1ms) SAVEPOINT active_record_1
4632
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.297469"], ["updated_at", "2015-12-16 22:40:55.297469"]]
4633
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4634
+  (0.2ms) SAVEPOINT active_record_1
4635
+ 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", "pt"], ["from_email", "no-reply@yourdomain"], ["from_name", "please configure a default from name"], ["user_id", 257]]
4636
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4637
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.8ms)
4638
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.3ms)
4639
+
4640
+ UserNotifier::Mailer#notify: processed outbound mail in 34.9ms
4641
+  (0.3ms) ROLLBACK
4642
+  (0.2ms) BEGIN
4643
+  (0.2ms) SAVEPOINT active_record_1
4644
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "foo@bar.com"], ["created_at", "2015-12-16 22:40:55.339229"], ["updated_at", "2015-12-16 22:40:55.339229"]]
4645
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4646
+  (0.1ms) SAVEPOINT active_record_1
4647
+ 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", 258]]
4648
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4649
+ Rendered user_notifier/mailer/test_subject.pt.text.erb (0.0ms)
4650
+ Rendered user_notifier/mailer/test.pt.html.erb within layouts/email (0.0ms)
4651
+
4652
+ UserNotifier::Mailer#notify: processed outbound mail in 1.4ms
4653
+  (0.2ms) ROLLBACK