favourite_object 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1812,3 +1812,2941 @@ Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.8ms)
1812
1812
   (0.1ms) RELEASE SAVEPOINT active_record_1
1813
1813
  FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1814
1814
   (0.7ms) rollback transaction
1815
+  (1.0ms) begin transaction
1816
+  (0.1ms) SAVEPOINT active_record_1
1817
+ SQL (7.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1819
+  (0.1ms) SAVEPOINT active_record_1
1820
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1822
+  (0.1ms) SAVEPOINT active_record_1
1823
+ SQL (1.0ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1825
+  (0.1ms) SAVEPOINT active_record_1
1826
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1828
+ Processing by FavouriteObject::FavouritesController#index as JSON
1829
+  (0.2ms) SELECT COUNT(*) FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't'
1830
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
1831
+ ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]]
1832
+ Completed 200 OK in 33ms (Views: 22.5ms | ActiveRecord: 0.6ms)
1833
+  (1.0ms) rollback transaction
1834
+  (0.1ms) begin transaction
1835
+  (0.1ms) SAVEPOINT active_record_1
1836
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1838
+  (0.1ms) SAVEPOINT active_record_1
1839
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1840
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1841
+  (0.0ms) SAVEPOINT active_record_1
1842
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1844
+  (0.0ms) SAVEPOINT active_record_1
1845
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1847
+ Processing by FavouriteObject::FavouritesController#index as JSON
1848
+ Parameters: {"type"=>"ArbitraryObject"}
1849
+  (0.2ms) SELECT COUNT(*) FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (target_type = 'ArbitraryObject')
1850
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (target_type = 'ArbitraryObject') ORDER BY created_at DESC LIMIT 25 OFFSET 0
1851
+ ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]]
1852
+ Completed 200 OK in 16ms (Views: 11.9ms | ActiveRecord: 0.5ms)
1853
+  (0.9ms) rollback transaction
1854
+  (0.1ms) begin transaction
1855
+  (0.1ms) SAVEPOINT active_record_1
1856
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1858
+  (0.1ms) SAVEPOINT active_record_1
1859
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1860
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1861
+  (0.1ms) SAVEPOINT active_record_1
1862
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1864
+  (0.1ms) SAVEPOINT active_record_1
1865
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1866
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1867
+ Processing by FavouriteObject::FavouritesController#index as HTML
1868
+ Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.0ms)
1869
+  (1.3ms) rollback transaction
1870
+  (0.1ms) begin transaction
1871
+  (0.1ms) SAVEPOINT active_record_1
1872
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1873
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1874
+  (0.1ms) SAVEPOINT active_record_1
1875
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1877
+ Processing by FavouriteObject::FavouritesController#update as HTML
1878
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
1879
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1880
+  (0.1ms) SAVEPOINT active_record_1
1881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1882
+ Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.3ms)
1883
+  (0.6ms) rollback transaction
1884
+  (0.1ms) begin transaction
1885
+  (0.1ms) SAVEPOINT active_record_1
1886
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1888
+  (0.1ms) SAVEPOINT active_record_1
1889
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1891
+  (0.1ms) SAVEPOINT active_record_1
1892
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1894
+  (0.1ms) SAVEPOINT active_record_1
1895
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1897
+ Processing by FavouriteObject::FavouritesController#update as HTML
1898
+ Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
1899
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1900
+  (0.1ms) SAVEPOINT active_record_1
1901
+ SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]
1902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1903
+ Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.5ms)
1904
+  (0.8ms) rollback transaction
1905
+  (0.1ms) begin transaction
1906
+  (0.1ms) SAVEPOINT active_record_1
1907
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1909
+ Processing by FavouriteObject::FavouritesController#update as HTML
1910
+ Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"}
1911
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = 'object_1' AND "favourite_object_favourites"."third_party_type" = 'RandomClass' AND "favourite_object_favourites"."third_party_flag" = 't' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1912
+  (0.1ms) SAVEPOINT active_record_1
1913
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "third_party_flag", "third_party_id", "third_party_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["third_party_flag", true], ["third_party_id", "object_1"], ["third_party_type", "RandomClass"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1915
+ Completed 200 OK in 18ms (Views: 5.3ms | ActiveRecord: 0.9ms)
1916
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1
1917
+  (0.9ms) rollback transaction
1918
+  (0.1ms) begin transaction
1919
+  (0.1ms) SAVEPOINT active_record_1
1920
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1922
+  (0.1ms) SAVEPOINT active_record_1
1923
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1925
+  (0.1ms) SAVEPOINT active_record_1
1926
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1928
+  (0.0ms) SAVEPOINT active_record_1
1929
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1930
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1931
+  (0.1ms) SAVEPOINT active_record_1
1932
+ SQL (0.5ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1934
+  (0.1ms) SAVEPOINT active_record_1
1935
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1936
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1937
+  (0.8ms) rollback transaction
1938
+  (0.1ms) begin transaction
1939
+  (0.1ms) SAVEPOINT active_record_1
1940
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1942
+  (0.0ms) SAVEPOINT active_record_1
1943
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1945
+  (0.0ms) SAVEPOINT active_record_1
1946
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1948
+  (0.0ms) SAVEPOINT active_record_1
1949
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1951
+  (0.0ms) SAVEPOINT active_record_1
1952
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1954
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1955
+  (1.0ms) rollback transaction
1956
+  (0.1ms) begin transaction
1957
+  (0.1ms) SAVEPOINT active_record_1
1958
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1960
+  (0.0ms) SAVEPOINT active_record_1
1961
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1963
+  (0.1ms) SAVEPOINT active_record_1
1964
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1966
+  (0.0ms) SAVEPOINT active_record_1
1967
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1969
+  (0.0ms) SAVEPOINT active_record_1
1970
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "third_party_flag", "third_party_id", "third_party_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["third_party_flag", true], ["third_party_id", 1], ["third_party_type", "Sale"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1972
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'Sale' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1973
+  (0.9ms) rollback transaction
1974
+  (0.1ms) begin transaction
1975
+  (0.1ms) SAVEPOINT active_record_1
1976
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1978
+  (0.0ms) SAVEPOINT active_record_1
1979
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1981
+  (0.1ms) SAVEPOINT active_record_1
1982
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00]]
1983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1984
+  (0.0ms) SAVEPOINT active_record_1
1985
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1987
+  (0.0ms) SAVEPOINT active_record_1
1988
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:22:28 UTC +00:00], ["params", "--- {}\n"]]
1989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1990
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
1991
+  (0.9ms) rollback transaction
1992
+  (0.4ms) begin transaction
1993
+  (0.1ms) rollback transaction
1994
+  (0.1ms) begin transaction
1995
+  (0.1ms) rollback transaction
1996
+  (0.1ms) begin transaction
1997
+  (0.1ms) rollback transaction
1998
+  (0.1ms) begin transaction
1999
+  (0.1ms) rollback transaction
2000
+  (0.1ms) begin transaction
2001
+  (0.1ms) rollback transaction
2002
+  (0.1ms) begin transaction
2003
+  (0.1ms) rollback transaction
2004
+  (0.1ms) begin transaction
2005
+  (0.1ms) SAVEPOINT active_record_1
2006
+ SQL (7.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2007
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2008
+  (0.1ms) SAVEPOINT active_record_1
2009
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2011
+  (0.1ms) SAVEPOINT active_record_1
2012
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2014
+  (0.1ms) SAVEPOINT active_record_1
2015
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2016
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2017
+  (0.1ms) SAVEPOINT active_record_1
2018
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2020
+  (0.0ms) SAVEPOINT active_record_1
2021
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2023
+  (0.8ms) rollback transaction
2024
+  (0.1ms) begin transaction
2025
+  (0.1ms) SAVEPOINT active_record_1
2026
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2028
+  (0.1ms) SAVEPOINT active_record_1
2029
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2031
+  (0.1ms) SAVEPOINT active_record_1
2032
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2034
+  (0.1ms) SAVEPOINT active_record_1
2035
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2037
+  (0.0ms) SAVEPOINT active_record_1
2038
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2040
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2041
+  (0.9ms) rollback transaction
2042
+  (0.1ms) begin transaction
2043
+  (0.1ms) SAVEPOINT active_record_1
2044
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2046
+  (0.1ms) SAVEPOINT active_record_1
2047
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2049
+  (0.0ms) SAVEPOINT active_record_1
2050
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2052
+  (0.0ms) SAVEPOINT active_record_1
2053
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2055
+  (0.0ms) SAVEPOINT active_record_1
2056
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "third_party_flag", "third_party_id", "third_party_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["third_party_flag", true], ["third_party_id", 1], ["third_party_type", "Sale"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2058
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'Sale' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2059
+  (0.9ms) rollback transaction
2060
+  (0.1ms) begin transaction
2061
+  (0.5ms) SAVEPOINT active_record_1
2062
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2064
+  (0.0ms) SAVEPOINT active_record_1
2065
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2067
+  (0.1ms) SAVEPOINT active_record_1
2068
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00]]
2069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2070
+  (0.1ms) SAVEPOINT active_record_1
2071
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2073
+  (0.0ms) SAVEPOINT active_record_1
2074
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 00:23:08 UTC +00:00], ["params", "--- {}\n"]]
2075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2076
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2077
+  (0.8ms) rollback transaction
2078
+  (0.6ms) begin transaction
2079
+  (0.1ms) SAVEPOINT active_record_1
2080
+ SQL (9.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:27:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:27:40 UTC +00:00]]
2081
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2082
+  (0.1ms) SAVEPOINT active_record_1
2083
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:27:40 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:27:40 UTC +00:00]]
2084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2085
+  (0.2ms) SAVEPOINT active_record_1
2086
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:27:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:27:40 UTC +00:00]]
2087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2088
+  (0.9ms) rollback transaction
2089
+  (0.3ms) begin transaction
2090
+  (0.0ms) SAVEPOINT active_record_1
2091
+ SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:28:02 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:28:02 UTC +00:00]]
2092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2093
+  (0.0ms) SAVEPOINT active_record_1
2094
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:28:02 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:28:02 UTC +00:00]]
2095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2096
+  (0.1ms) SAVEPOINT active_record_1
2097
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:28:02 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:28:02 UTC +00:00]]
2098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2099
+  (8.7ms) rollback transaction
2100
+  (0.4ms) begin transaction
2101
+  (0.1ms) SAVEPOINT active_record_1
2102
+ SQL (5.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:30:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:30:59 UTC +00:00]]
2103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2104
+  (0.1ms) SAVEPOINT active_record_1
2105
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:30:59 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:30:59 UTC +00:00]]
2106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2107
+  (0.1ms) SAVEPOINT active_record_1
2108
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:30:59 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:30:59 UTC +00:00]]
2109
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2110
+ Processing by FavouriteObject::FavouritesController#show as HTML
2111
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2112
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2113
+ Completed 500 Internal Server Error in 6ms
2114
+  (0.8ms) rollback transaction
2115
+  (0.4ms) begin transaction
2116
+  (0.1ms) SAVEPOINT active_record_1
2117
+ SQL (6.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:33:49 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:33:49 UTC +00:00]]
2118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2119
+  (0.1ms) SAVEPOINT active_record_1
2120
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:33:49 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:33:49 UTC +00:00]]
2121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2122
+  (0.1ms) SAVEPOINT active_record_1
2123
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:33:49 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:33:49 UTC +00:00]]
2124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2125
+ Processing by FavouriteObject::FavouritesController#show as HTML
2126
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2127
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2128
+ Completed 406 Not Acceptable in 6ms
2129
+  (0.9ms) rollback transaction
2130
+  (0.7ms) begin transaction
2131
+  (0.1ms) SAVEPOINT active_record_1
2132
+ SQL (2.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:34:01 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:34:01 UTC +00:00]]
2133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2134
+  (0.0ms) SAVEPOINT active_record_1
2135
+ SQL (0.7ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:34:01 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:34:01 UTC +00:00]]
2136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2137
+  (0.1ms) SAVEPOINT active_record_1
2138
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:34:01 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:34:01 UTC +00:00]]
2139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2140
+ Processing by FavouriteObject::FavouritesController#show as JSON
2141
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2142
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2143
+ Completed 200 OK in 46ms (Views: 10.8ms | ActiveRecord: 0.2ms)
2144
+  (1.3ms) rollback transaction
2145
+  (0.3ms) begin transaction
2146
+  (0.0ms) SAVEPOINT active_record_1
2147
+ SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00]]
2148
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2149
+  (0.0ms) SAVEPOINT active_record_1
2150
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00]]
2151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2152
+  (0.1ms) SAVEPOINT active_record_1
2153
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00]]
2154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2155
+  (0.0ms) SAVEPOINT active_record_1
2156
+ SQL (0.8ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:34:40 UTC +00:00], ["params", "--- {}\n"]]
2157
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2158
+ Processing by FavouriteObject::FavouritesController#show as JSON
2159
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2160
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2161
+ Completed 200 OK in 28ms (Views: 8.0ms | ActiveRecord: 0.3ms)
2162
+  (8.4ms) rollback transaction
2163
+  (0.3ms) begin transaction
2164
+  (0.0ms) SAVEPOINT active_record_1
2165
+ SQL (3.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:35:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:35:08 UTC +00:00]]
2166
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2167
+  (0.0ms) SAVEPOINT active_record_1
2168
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:35:09 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:35:09 UTC +00:00]]
2169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2170
+  (0.1ms) SAVEPOINT active_record_1
2171
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:35:09 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:35:09 UTC +00:00]]
2172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2173
+  (0.0ms) SAVEPOINT active_record_1
2174
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:35:09 UTC +00:00], ["params", "--- {}\n"]]
2175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2176
+ Processing by FavouriteObject::FavouritesController#show as JSON
2177
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2178
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2179
+ Completed 200 OK in 25ms (Views: 6.4ms | ActiveRecord: 0.2ms)
2180
+  (0.9ms) rollback transaction
2181
+  (0.4ms) begin transaction
2182
+  (0.1ms) SAVEPOINT active_record_1
2183
+ SQL (10.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00]]
2184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2185
+  (0.1ms) SAVEPOINT active_record_1
2186
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00]]
2187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2188
+  (0.1ms) SAVEPOINT active_record_1
2189
+ SQL (1.0ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00]]
2190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2191
+  (0.1ms) SAVEPOINT active_record_1
2192
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:36:00 UTC +00:00], ["params", "--- {}\n"]]
2193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2194
+ Processing by FavouriteObject::FavouritesController#show as JSON
2195
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2196
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2197
+ Completed 200 OK in 43ms (Views: 10.2ms | ActiveRecord: 0.3ms)
2198
+  (0.8ms) rollback transaction
2199
+  (0.7ms) begin transaction
2200
+  (0.1ms) SAVEPOINT active_record_1
2201
+ SQL (5.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00]]
2202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2203
+  (0.0ms) SAVEPOINT active_record_1
2204
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00]]
2205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2206
+  (0.2ms) SAVEPOINT active_record_1
2207
+ SQL (0.6ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00]]
2208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2209
+  (0.1ms) SAVEPOINT active_record_1
2210
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:36:25 UTC +00:00], ["params", "--- {}\n"]]
2211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2212
+ Processing by FavouriteObject::FavouritesController#show as JSON
2213
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2214
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2215
+ Completed 200 OK in 32ms (Views: 8.0ms | ActiveRecord: 0.2ms)
2216
+  (0.9ms) rollback transaction
2217
+  (0.4ms) begin transaction
2218
+  (0.1ms) SAVEPOINT active_record_1
2219
+ SQL (5.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00]]
2220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2221
+  (0.0ms) SAVEPOINT active_record_1
2222
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00]]
2223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2224
+  (0.1ms) SAVEPOINT active_record_1
2225
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00]]
2226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2227
+  (0.1ms) SAVEPOINT active_record_1
2228
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:36:42 UTC +00:00], ["params", "--- {}\n"]]
2229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2230
+ Processing by FavouriteObject::FavouritesController#show as JSON
2231
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2232
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2233
+ Completed 200 OK in 37ms (Views: 7.9ms | ActiveRecord: 0.2ms)
2234
+  (0.8ms) rollback transaction
2235
+  (0.6ms) begin transaction
2236
+  (0.1ms) SAVEPOINT active_record_1
2237
+ SQL (13.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00]]
2238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2239
+  (0.0ms) SAVEPOINT active_record_1
2240
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00]]
2241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2242
+  (0.1ms) SAVEPOINT active_record_1
2243
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00]]
2244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2245
+  (0.0ms) SAVEPOINT active_record_1
2246
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:37:06 UTC +00:00], ["params", "--- {}\n"]]
2247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2248
+ Processing by FavouriteObject::FavouritesController#show as JSON
2249
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2250
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2251
+ Completed 200 OK in 30ms (Views: 6.5ms | ActiveRecord: 0.2ms)
2252
+  (0.8ms) rollback transaction
2253
+  (0.6ms) begin transaction
2254
+  (0.1ms) SAVEPOINT active_record_1
2255
+ SQL (5.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00]]
2256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2257
+  (0.0ms) SAVEPOINT active_record_1
2258
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00]]
2259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2260
+  (0.1ms) SAVEPOINT active_record_1
2261
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00]]
2262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2263
+  (0.0ms) SAVEPOINT active_record_1
2264
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:37:30 UTC +00:00], ["params", "--- {}\n"]]
2265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2266
+ Processing by FavouriteObject::FavouritesController#show as JSON
2267
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2268
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2269
+ Completed 200 OK in 38ms (Views: 10.4ms | ActiveRecord: 0.2ms)
2270
+  (0.8ms) rollback transaction
2271
+  (0.4ms) begin transaction
2272
+  (0.1ms) SAVEPOINT active_record_1
2273
+ SQL (4.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00]]
2274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2275
+  (0.1ms) SAVEPOINT active_record_1
2276
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00]]
2277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2278
+  (0.1ms) SAVEPOINT active_record_1
2279
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00]]
2280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2281
+  (0.2ms) SAVEPOINT active_record_1
2282
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:38:18 UTC +00:00], ["params", "--- {}\n"]]
2283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2284
+ Processing by FavouriteObject::FavouritesController#show as JSON
2285
+ Parameters: {"target_type"=>"FavouriteObject::Favourite", "target_id"=>"1"}
2286
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'FavouriteObject::Favourite' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2287
+ Completed 200 OK in 31ms (Views: 6.3ms | ActiveRecord: 0.2ms)
2288
+  (9.0ms) rollback transaction
2289
+  (0.3ms) begin transaction
2290
+  (0.3ms) SAVEPOINT active_record_1
2291
+ SQL (4.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00]]
2292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2293
+  (0.1ms) SAVEPOINT active_record_1
2294
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00]]
2295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2296
+  (0.1ms) SAVEPOINT active_record_1
2297
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00]]
2298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2299
+  (0.0ms) SAVEPOINT active_record_1
2300
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:38:37 UTC +00:00], ["params", "--- {}\n"]]
2301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2302
+ Processing by FavouriteObject::FavouritesController#show as JSON
2303
+ Parameters: {"target_type"=>"FavouriteObject::Favourite", "target_id"=>"1"}
2304
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'FavouriteObject::Favourite' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2305
+ Completed 200 OK in 27ms (Views: 6.6ms | ActiveRecord: 0.2ms)
2306
+  (9.0ms) rollback transaction
2307
+  (0.4ms) begin transaction
2308
+  (0.1ms) SAVEPOINT active_record_1
2309
+ SQL (6.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00]]
2310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2311
+  (0.0ms) SAVEPOINT active_record_1
2312
+ SQL (1.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00]]
2313
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2314
+  (0.1ms) SAVEPOINT active_record_1
2315
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00]]
2316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2317
+  (0.0ms) SAVEPOINT active_record_1
2318
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:39:00 UTC +00:00], ["params", "--- {}\n"]]
2319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2320
+ Processing by FavouriteObject::FavouritesController#show as JSON
2321
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2322
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."third_party_id" = '1' AND "favourite_object_favourites"."third_party_type" = 'ArbitraryObject' AND "favourite_object_favourites"."third_party_flag" = 'f' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2323
+ Completed 200 OK in 35ms (Views: 7.2ms | ActiveRecord: 0.2ms)
2324
+  (0.9ms) rollback transaction
2325
+  (0.6ms) begin transaction
2326
+  (0.1ms) SAVEPOINT active_record_1
2327
+ SQL (6.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00]]
2328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2329
+  (0.1ms) SAVEPOINT active_record_1
2330
+ SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00]]
2331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2332
+  (0.1ms) SAVEPOINT active_record_1
2333
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00]]
2334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2335
+  (0.1ms) SAVEPOINT active_record_1
2336
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:39:32 UTC +00:00], ["params", "--- {}\n"]]
2337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2338
+ Processing by FavouriteObject::FavouritesController#show as JSON
2339
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2340
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2341
+ ArbitraryObject Load (0.3ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]]
2342
+ Completed 200 OK in 45ms (Views: 21.8ms | ActiveRecord: 0.7ms)
2343
+  (1.0ms) rollback transaction
2344
+  (0.4ms) begin transaction
2345
+  (0.1ms) SAVEPOINT active_record_1
2346
+ SQL (6.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00]]
2347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2348
+  (0.0ms) SAVEPOINT active_record_1
2349
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00]]
2350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2351
+  (0.1ms) SAVEPOINT active_record_1
2352
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00]]
2353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2354
+  (0.0ms) SAVEPOINT active_record_1
2355
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:40:02 UTC +00:00], ["params", "--- {}\n"]]
2356
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2357
+ Processing by FavouriteObject::FavouritesController#show as JSON
2358
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2359
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2360
+ ArbitraryObject Load (0.3ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]]
2361
+ Completed 200 OK in 49ms (Views: 25.0ms | ActiveRecord: 0.5ms)
2362
+  (0.9ms) rollback transaction
2363
+  (0.4ms) begin transaction
2364
+  (0.1ms) SAVEPOINT active_record_1
2365
+ SQL (6.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00]]
2366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2367
+  (0.1ms) SAVEPOINT active_record_1
2368
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00]]
2369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2370
+  (0.2ms) SAVEPOINT active_record_1
2371
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00]]
2372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2373
+  (0.1ms) SAVEPOINT active_record_1
2374
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 00:40:28 UTC +00:00], ["params", "--- {}\n"]]
2375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2376
+ Processing by FavouriteObject::FavouritesController#show as JSON
2377
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2378
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2379
+ Completed 200 OK in 31ms (Views: 2.4ms | ActiveRecord: 0.2ms)
2380
+  (0.8ms) rollback transaction
2381
+  (0.5ms) begin transaction
2382
+  (0.1ms) SAVEPOINT active_record_1
2383
+ SQL (7.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:53:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:53:22 UTC +00:00]]
2384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2385
+  (0.1ms) SAVEPOINT active_record_1
2386
+ SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:53:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:53:23 UTC +00:00]]
2387
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2388
+ Processing by FavouriteObject::FavouritesController#update as JSON
2389
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2390
+ Completed 500 Internal Server Error in 4ms
2391
+  (0.9ms) rollback transaction
2392
+  (0.7ms) begin transaction
2393
+  (0.0ms) SAVEPOINT active_record_1
2394
+ SQL (6.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:54:19 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:54:19 UTC +00:00]]
2395
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2396
+  (0.1ms) SAVEPOINT active_record_1
2397
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:54:19 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:54:19 UTC +00:00]]
2398
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2399
+ Processing by FavouriteObject::FavouritesController#update as JSON
2400
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2401
+ Completed 500 Internal Server Error in 2ms
2402
+  (0.8ms) rollback transaction
2403
+  (0.4ms) begin transaction
2404
+  (0.1ms) SAVEPOINT active_record_1
2405
+ SQL (5.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:54:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:54:58 UTC +00:00]]
2406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2407
+  (0.0ms) SAVEPOINT active_record_1
2408
+ SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:54:58 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:54:58 UTC +00:00]]
2409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2410
+ Processing by FavouriteObject::FavouritesController#update as JSON
2411
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2412
+ FavouriteObject::Favourite Load (0.5ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2413
+ Completed 500 Internal Server Error in 35ms
2414
+  (1.4ms) rollback transaction
2415
+  (0.4ms) begin transaction
2416
+  (0.1ms) SAVEPOINT active_record_1
2417
+ SQL (6.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:57:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:57:27 UTC +00:00]]
2418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2419
+  (0.1ms) SAVEPOINT active_record_1
2420
+ SQL (1.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:57:27 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:57:27 UTC +00:00]]
2421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2422
+ Processing by FavouriteObject::FavouritesController#update as JSON
2423
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2424
+ FavouriteObject::Favourite Load (0.7ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2425
+ Unpermitted parameters: target_type, target_id, format
2426
+  (0.1ms) SAVEPOINT active_record_1
2427
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:57:27 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:57:27 UTC +00:00]]
2428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2429
+ Completed 204 No Content in 43ms (ActiveRecord: 1.6ms)
2430
+  (0.7ms) rollback transaction
2431
+  (0.6ms) begin transaction
2432
+  (0.1ms) SAVEPOINT active_record_1
2433
+ SQL (9.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:57:44 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:57:44 UTC +00:00]]
2434
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2435
+  (0.1ms) SAVEPOINT active_record_1
2436
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:57:44 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:57:44 UTC +00:00]]
2437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2438
+ Processing by FavouriteObject::FavouritesController#update as JSON
2439
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2440
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2441
+ Unpermitted parameters: target_type, target_id, format
2442
+  (0.1ms) SAVEPOINT active_record_1
2443
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:57:44 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:57:44 UTC +00:00]]
2444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2445
+ Completed 204 No Content in 40ms (ActiveRecord: 1.7ms)
2446
+  (0.8ms) rollback transaction
2447
+  (0.4ms) begin transaction
2448
+  (0.1ms) SAVEPOINT active_record_1
2449
+ SQL (8.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:57:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:57:58 UTC +00:00]]
2450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2451
+  (0.0ms) SAVEPOINT active_record_1
2452
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:57:58 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:57:58 UTC +00:00]]
2453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2454
+ Processing by FavouriteObject::FavouritesController#update as JSON
2455
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2456
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2457
+ Unpermitted parameters: target_type, target_id, format
2458
+  (0.2ms) SAVEPOINT active_record_1
2459
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:57:58 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:57:58 UTC +00:00]]
2460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2461
+ Completed 204 No Content in 44ms (ActiveRecord: 1.7ms)
2462
+  (0.9ms) rollback transaction
2463
+  (0.4ms) begin transaction
2464
+  (0.1ms) SAVEPOINT active_record_1
2465
+ SQL (6.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:58:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:58:43 UTC +00:00]]
2466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2467
+  (0.2ms) SAVEPOINT active_record_1
2468
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:58:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:58:43 UTC +00:00]]
2469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2470
+ Processing by FavouriteObject::FavouritesController#update as JSON
2471
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2472
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2473
+ Unpermitted parameters: target_type, target_id, format
2474
+  (0.1ms) SAVEPOINT active_record_1
2475
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:58:43 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:58:43 UTC +00:00]]
2476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2477
+ Completed 204 No Content in 37ms (ActiveRecord: 1.4ms)
2478
+  (0.9ms) rollback transaction
2479
+  (0.3ms) begin transaction
2480
+  (0.1ms) SAVEPOINT active_record_1
2481
+ SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:58:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:58:59 UTC +00:00]]
2482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2483
+  (0.0ms) SAVEPOINT active_record_1
2484
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:58:59 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:58:59 UTC +00:00]]
2485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2486
+ Processing by FavouriteObject::FavouritesController#update as JSON
2487
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2488
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2489
+ Unpermitted parameters: target_type, target_id, format
2490
+  (0.1ms) SAVEPOINT active_record_1
2491
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:58:59 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:58:59 UTC +00:00]]
2492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2493
+ Completed 500 Internal Server Error in 23ms
2494
+  (9.0ms) rollback transaction
2495
+  (0.5ms) begin transaction
2496
+  (0.1ms) SAVEPOINT active_record_1
2497
+ SQL (9.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:59:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 00:59:46 UTC +00:00]]
2498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2499
+  (0.1ms) SAVEPOINT active_record_1
2500
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 00:59:46 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 00:59:46 UTC +00:00]]
2501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2502
+ Processing by FavouriteObject::FavouritesController#update as JSON
2503
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2504
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2505
+ Unpermitted parameters: target_type, target_id, format
2506
+  (0.1ms) SAVEPOINT active_record_1
2507
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 00:59:46 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 00:59:46 UTC +00:00]]
2508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2509
+ Completed 204 No Content in 36003ms (ActiveRecord: 1.6ms)
2510
+  (2.1ms) rollback transaction
2511
+  (0.5ms) begin transaction
2512
+  (0.3ms) SAVEPOINT active_record_1
2513
+ SQL (7.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:00:48 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:00:48 UTC +00:00]]
2514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2515
+  (0.1ms) SAVEPOINT active_record_1
2516
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:00:48 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:00:48 UTC +00:00]]
2517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2518
+ Processing by FavouriteObject::FavouritesController#update as JSON
2519
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2520
+ FavouriteObject::Favourite Load (0.5ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2521
+ Unpermitted parameters: target_type, target_id, format
2522
+  (0.2ms) SAVEPOINT active_record_1
2523
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:00:49 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:00:49 UTC +00:00]]
2524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2525
+ Completed 204 No Content in 2652ms (ActiveRecord: 2.1ms)
2526
+  (1.0ms) rollback transaction
2527
+  (0.6ms) begin transaction
2528
+  (0.1ms) SAVEPOINT active_record_1
2529
+ SQL (7.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:02:11 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:02:11 UTC +00:00]]
2530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2531
+  (0.1ms) SAVEPOINT active_record_1
2532
+ SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:02:11 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:02:11 UTC +00:00]]
2533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2534
+ Processing by FavouriteObject::FavouritesController#update as JSON
2535
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2536
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2537
+ Unpermitted parameters: target_type, target_id, format
2538
+  (0.1ms) SAVEPOINT active_record_1
2539
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:02:11 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:02:11 UTC +00:00]]
2540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2541
+ Completed 204 No Content in 58ms (ActiveRecord: 1.5ms)
2542
+  (1.6ms) rollback transaction
2543
+  (0.5ms) begin transaction
2544
+  (0.1ms) SAVEPOINT active_record_1
2545
+ SQL (9.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:03:31 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:03:31 UTC +00:00]]
2546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2547
+  (0.3ms) SAVEPOINT active_record_1
2548
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:03:31 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:03:31 UTC +00:00]]
2549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2550
+ Processing by FavouriteObject::FavouritesController#update as JSON
2551
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2552
+ FavouriteObject::Favourite Load (0.5ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2553
+ Unpermitted parameters: target_type, target_id, format
2554
+  (0.1ms) SAVEPOINT active_record_1
2555
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:03:31 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:03:31 UTC +00:00]]
2556
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2557
+ Completed 204 No Content in 59ms (ActiveRecord: 1.8ms)
2558
+  (1.2ms) rollback transaction
2559
+  (0.5ms) begin transaction
2560
+  (0.1ms) SAVEPOINT active_record_1
2561
+ SQL (8.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:03:52 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:03:52 UTC +00:00]]
2562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2563
+  (0.1ms) SAVEPOINT active_record_1
2564
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:03:52 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:03:52 UTC +00:00]]
2565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2566
+ Processing by FavouriteObject::FavouritesController#update as JSON
2567
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2568
+ FavouriteObject::Favourite Load (1.0ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2569
+ Unpermitted parameters: target_type, target_id, format
2570
+  (0.1ms) SAVEPOINT active_record_1
2571
+ SQL (0.6ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:03:52 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:03:52 UTC +00:00]]
2572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2573
+ Completed 204 No Content in 59ms (ActiveRecord: 2.4ms)
2574
+  (0.9ms) rollback transaction
2575
+  (0.6ms) begin transaction
2576
+  (0.1ms) SAVEPOINT active_record_1
2577
+ SQL (10.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:04:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:04:12 UTC +00:00]]
2578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2579
+  (0.1ms) SAVEPOINT active_record_1
2580
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:04:12 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:04:12 UTC +00:00]]
2581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2582
+ Processing by FavouriteObject::FavouritesController#update as JSON
2583
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2584
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2585
+ Unpermitted parameters: target_type, target_id, format
2586
+  (0.1ms) SAVEPOINT active_record_1
2587
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:04:12 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:04:12 UTC +00:00]]
2588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2589
+ Completed 200 OK in 59ms (Views: 5.3ms | ActiveRecord: 1.4ms)
2590
+  (1.1ms) rollback transaction
2591
+  (0.4ms) begin transaction
2592
+  (0.1ms) SAVEPOINT active_record_1
2593
+ SQL (7.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:04:59 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:04:59 UTC +00:00]]
2594
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2595
+  (0.0ms) SAVEPOINT active_record_1
2596
+ SQL (1.7ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:04:59 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:04:59 UTC +00:00]]
2597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2598
+ Processing by FavouriteObject::FavouritesController#update as JSON
2599
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2600
+ FavouriteObject::Favourite Load (0.7ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2601
+ Unpermitted parameters: target_type, target_id, format
2602
+  (0.1ms) SAVEPOINT active_record_1
2603
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:04:59 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:04:59 UTC +00:00]]
2604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2605
+ Completed 200 OK in 65ms (Views: 8.5ms | ActiveRecord: 1.8ms)
2606
+  (0.8ms) rollback transaction
2607
+  (0.3ms) begin transaction
2608
+  (0.0ms) SAVEPOINT active_record_1
2609
+ SQL (2.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:05:06 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:05:06 UTC +00:00]]
2610
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2611
+  (0.0ms) SAVEPOINT active_record_1
2612
+ SQL (0.7ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:05:06 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:05:06 UTC +00:00]]
2613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2614
+ Processing by FavouriteObject::FavouritesController#update as JSON
2615
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2616
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2617
+ Unpermitted parameters: target_type, target_id, format
2618
+  (0.1ms) SAVEPOINT active_record_1
2619
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:05:06 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:05:06 UTC +00:00]]
2620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2621
+ Completed 200 OK in 48ms (Views: 3.0ms | ActiveRecord: 1.0ms)
2622
+  (9.0ms) rollback transaction
2623
+  (0.3ms) begin transaction
2624
+  (0.1ms) SAVEPOINT active_record_1
2625
+ SQL (3.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:05:17 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:05:17 UTC +00:00]]
2626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2627
+  (0.1ms) SAVEPOINT active_record_1
2628
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:05:17 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:05:17 UTC +00:00]]
2629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2630
+ Processing by FavouriteObject::FavouritesController#update as JSON
2631
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2632
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2633
+ Unpermitted parameters: target_type, target_id, format
2634
+  (0.1ms) SAVEPOINT active_record_1
2635
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:05:17 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:05:17 UTC +00:00]]
2636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2637
+ Completed 200 OK in 47ms (Views: 3.6ms | ActiveRecord: 1.2ms)
2638
+  (8.7ms) rollback transaction
2639
+  (1.0ms) begin transaction
2640
+  (0.1ms) SAVEPOINT active_record_1
2641
+ SQL (5.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2643
+  (0.1ms) SAVEPOINT active_record_1
2644
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2645
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2646
+ Processing by FavouriteObject::FavouritesController#show as JSON
2647
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2648
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2649
+ Completed 200 OK in 51ms (Views: 4.8ms | ActiveRecord: 1.0ms)
2650
+  (0.9ms) rollback transaction
2651
+  (0.1ms) begin transaction
2652
+  (0.1ms) SAVEPOINT active_record_1
2653
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2654
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2655
+  (0.1ms) SAVEPOINT active_record_1
2656
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2657
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2658
+  (0.1ms) SAVEPOINT active_record_1
2659
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2660
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2661
+  (0.1ms) SAVEPOINT active_record_1
2662
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["params", "--- {}\n"]]
2663
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2664
+ Processing by FavouriteObject::FavouritesController#show as JSON
2665
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2666
+ FavouriteObject::Favourite Load (0.5ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2667
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
2668
+  (0.9ms) rollback transaction
2669
+  (0.1ms) begin transaction
2670
+  (0.1ms) SAVEPOINT active_record_1
2671
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2673
+  (0.0ms) SAVEPOINT active_record_1
2674
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2676
+ Processing by FavouriteObject::FavouritesController#update as JSON
2677
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2678
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2679
+ Unpermitted parameters: target_type, target_id, format
2680
+  (0.1ms) SAVEPOINT active_record_1
2681
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2683
+ Completed 200 OK in 21ms (Views: 1.0ms | ActiveRecord: 1.0ms)
2684
+  (1.0ms) rollback transaction
2685
+  (0.1ms) begin transaction
2686
+  (0.2ms) SAVEPOINT active_record_1
2687
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2689
+  (0.1ms) SAVEPOINT active_record_1
2690
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2692
+ Processing by FavouriteObject::FavouritesController#update as JSON
2693
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2694
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2695
+ Unpermitted parameters: target_type, target_id, format
2696
+  (0.1ms) SAVEPOINT active_record_1
2697
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2699
+ Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.6ms)
2700
+  (0.9ms) rollback transaction
2701
+  (0.1ms) begin transaction
2702
+  (0.1ms) SAVEPOINT active_record_1
2703
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2704
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2705
+  (0.1ms) SAVEPOINT active_record_1
2706
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2707
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2708
+  (0.1ms) SAVEPOINT active_record_1
2709
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2711
+  (0.0ms) SAVEPOINT active_record_1
2712
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["params", "--- {}\n"]]
2713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2714
+ Processing by FavouriteObject::FavouritesController#index as JSON
2715
+ FavouriteObject::Favourite Load (1.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
2716
+ Completed 200 OK in 22ms (Views: 6.6ms | ActiveRecord: 1.1ms)
2717
+  (1.0ms) rollback transaction
2718
+  (0.1ms) begin transaction
2719
+  (0.1ms) SAVEPOINT active_record_1
2720
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2722
+  (0.1ms) SAVEPOINT active_record_1
2723
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2725
+  (0.1ms) SAVEPOINT active_record_1
2726
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2728
+  (0.0ms) SAVEPOINT active_record_1
2729
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["params", "--- {}\n"]]
2730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2731
+ Processing by FavouriteObject::FavouritesController#index as JSON
2732
+ Parameters: {"type"=>"ArbitraryObject"}
2733
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (target_type = 'ArbitraryObject') ORDER BY created_at DESC LIMIT 25 OFFSET 0
2734
+ Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms)
2735
+  (0.8ms) rollback transaction
2736
+  (0.1ms) begin transaction
2737
+  (0.1ms) SAVEPOINT active_record_1
2738
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2740
+  (0.1ms) SAVEPOINT active_record_1
2741
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2743
+  (0.1ms) SAVEPOINT active_record_1
2744
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2746
+  (0.6ms) SAVEPOINT active_record_1
2747
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["params", "--- {}\n"]]
2748
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2749
+ Processing by FavouriteObject::FavouritesController#index as HTML
2750
+ Completed 406 Not Acceptable in 1ms
2751
+  (0.8ms) rollback transaction
2752
+  (0.1ms) begin transaction
2753
+  (0.1ms) SAVEPOINT active_record_1
2754
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2756
+  (0.1ms) SAVEPOINT active_record_1
2757
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2759
+ Processing by FavouriteObject::FavouritesController#update as HTML
2760
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2761
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2762
+ Unpermitted parameters: target_type, target_id
2763
+  (0.0ms) SAVEPOINT active_record_1
2764
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2766
+ Completed 406 Not Acceptable in 19ms
2767
+  (1.1ms) rollback transaction
2768
+  (0.1ms) begin transaction
2769
+  (0.1ms) SAVEPOINT active_record_1
2770
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2772
+  (0.1ms) SAVEPOINT active_record_1
2773
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2775
+  (0.1ms) SAVEPOINT active_record_1
2776
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2778
+  (0.0ms) SAVEPOINT active_record_1
2779
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["params", "--- {}\n"]]
2780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2781
+ Processing by FavouriteObject::FavouritesController#update as HTML
2782
+ Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2783
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2784
+ Unpermitted parameters: favourite, target_type, target_id
2785
+  (0.1ms) SAVEPOINT active_record_1
2786
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["params", "--- {}\n"]]
2787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2788
+ Completed 406 Not Acceptable in 3ms
2789
+  (0.9ms) rollback transaction
2790
+  (0.1ms) begin transaction
2791
+  (0.2ms) SAVEPOINT active_record_1
2792
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2794
+ Processing by FavouriteObject::FavouritesController#update as HTML
2795
+ Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"}
2796
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."third_party_id" = 'object_1' AND "favourite_object_favourites"."third_party_type" = 'RandomClass' AND "favourite_object_favourites"."third_party_flag" = 't' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2797
+ Unpermitted parameters: third_party_flag, target_type, target_id
2798
+  (0.1ms) SAVEPOINT active_record_1
2799
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "third_party_flag", "third_party_id", "third_party_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["third_party_flag", true], ["third_party_id", "object_1"], ["third_party_type", "RandomClass"], ["updated_at", Thu, 25 Feb 2016 01:06:43 UTC +00:00]]
2800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2801
+ Completed 406 Not Acceptable in 4ms
2802
+  (0.7ms) rollback transaction
2803
+  (0.5ms) begin transaction
2804
+  (0.1ms) SAVEPOINT active_record_1
2805
+ SQL (7.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2807
+  (0.1ms) SAVEPOINT active_record_1
2808
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2810
+ Processing by FavouriteObject::FavouritesController#show as JSON
2811
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2812
+ FavouriteObject::Favourite Load (0.7ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2813
+ Completed 200 OK in 54ms (Views: 4.7ms | ActiveRecord: 1.4ms)
2814
+  (1.4ms) rollback transaction
2815
+  (0.1ms) begin transaction
2816
+  (0.1ms) SAVEPOINT active_record_1
2817
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2819
+  (0.2ms) SAVEPOINT active_record_1
2820
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2822
+  (0.1ms) SAVEPOINT active_record_1
2823
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2824
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2825
+  (0.1ms) SAVEPOINT active_record_1
2826
+ SQL (0.5ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["params", "--- {}\n"]]
2827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2828
+ Processing by FavouriteObject::FavouritesController#show as JSON
2829
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2830
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2831
+ Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.4ms)
2832
+  (0.9ms) rollback transaction
2833
+  (0.1ms) begin transaction
2834
+  (0.2ms) SAVEPOINT active_record_1
2835
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2837
+  (0.0ms) SAVEPOINT active_record_1
2838
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2840
+ Processing by FavouriteObject::FavouritesController#update as JSON
2841
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2842
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2843
+ Unpermitted parameters: target_type, target_id, format
2844
+  (0.1ms) SAVEPOINT active_record_1
2845
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2847
+ Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 0.8ms)
2848
+  (1.0ms) rollback transaction
2849
+  (0.1ms) begin transaction
2850
+  (0.1ms) SAVEPOINT active_record_1
2851
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2853
+  (0.1ms) SAVEPOINT active_record_1
2854
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2856
+ Processing by FavouriteObject::FavouritesController#update as JSON
2857
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2858
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2859
+ Unpermitted parameters: target_type, target_id, format
2860
+  (0.1ms) SAVEPOINT active_record_1
2861
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2863
+ Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 0.6ms)
2864
+  (0.9ms) rollback transaction
2865
+  (0.1ms) begin transaction
2866
+  (0.1ms) SAVEPOINT active_record_1
2867
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:23:22 UTC +00:00]]
2868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2869
+ Processing by FavouriteObject::FavouritesController#index as JSON
2870
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
2871
+ Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 0.3ms)
2872
+  (0.5ms) rollback transaction
2873
+  (0.4ms) begin transaction
2874
+  (0.1ms) SAVEPOINT active_record_1
2875
+ SQL (6.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2876
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2877
+  (0.1ms) SAVEPOINT active_record_1
2878
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2880
+ Processing by FavouriteObject::FavouritesController#show as JSON
2881
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2882
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2883
+ Completed 200 OK in 45ms (Views: 4.3ms | ActiveRecord: 1.0ms)
2884
+  (0.8ms) rollback transaction
2885
+  (0.1ms) begin transaction
2886
+  (0.1ms) SAVEPOINT active_record_1
2887
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2889
+  (0.0ms) SAVEPOINT active_record_1
2890
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2892
+  (0.1ms) SAVEPOINT active_record_1
2893
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2894
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2895
+  (0.1ms) SAVEPOINT active_record_1
2896
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["params", "--- {}\n"]]
2897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2898
+ Processing by FavouriteObject::FavouritesController#show as JSON
2899
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2900
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2901
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.2ms)
2902
+  (0.9ms) rollback transaction
2903
+  (0.1ms) begin transaction
2904
+  (0.1ms) SAVEPOINT active_record_1
2905
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2907
+  (0.1ms) SAVEPOINT active_record_1
2908
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2910
+ Processing by FavouriteObject::FavouritesController#update as JSON
2911
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2912
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2913
+ Unpermitted parameters: target_type, target_id, format
2914
+  (0.1ms) SAVEPOINT active_record_1
2915
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2917
+ Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 0.8ms)
2918
+  (0.8ms) rollback transaction
2919
+  (0.1ms) begin transaction
2920
+  (0.1ms) SAVEPOINT active_record_1
2921
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2923
+  (0.1ms) SAVEPOINT active_record_1
2924
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2926
+ Processing by FavouriteObject::FavouritesController#update as JSON
2927
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2928
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2929
+ Unpermitted parameters: target_type, target_id, format
2930
+  (0.1ms) SAVEPOINT active_record_1
2931
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2933
+ Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.6ms)
2934
+  (0.8ms) rollback transaction
2935
+  (0.1ms) begin transaction
2936
+  (0.1ms) SAVEPOINT active_record_1
2937
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:12 UTC +00:00]]
2938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2939
+ Processing by FavouriteObject::FavouritesController#index as JSON
2940
+ FavouriteObject::Favourite Load (0.7ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
2941
+ Completed 200 OK in 18ms (Views: 3.1ms | ActiveRecord: 0.7ms)
2942
+  (0.6ms) rollback transaction
2943
+  (0.3ms) begin transaction
2944
+  (0.0ms) SAVEPOINT active_record_1
2945
+ SQL (3.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2947
+  (0.1ms) SAVEPOINT active_record_1
2948
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2950
+ Processing by FavouriteObject::FavouritesController#show as JSON
2951
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2952
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2953
+ Completed 200 OK in 47ms (Views: 4.1ms | ActiveRecord: 0.7ms)
2954
+  (9.0ms) rollback transaction
2955
+  (0.1ms) begin transaction
2956
+  (0.1ms) SAVEPOINT active_record_1
2957
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2958
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2959
+  (0.4ms) SAVEPOINT active_record_1
2960
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2962
+  (0.1ms) SAVEPOINT active_record_1
2963
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2965
+  (0.0ms) SAVEPOINT active_record_1
2966
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["params", "--- {}\n"]]
2967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2968
+ Processing by FavouriteObject::FavouritesController#show as JSON
2969
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
2970
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2971
+ Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms)
2972
+  (1.0ms) rollback transaction
2973
+  (0.5ms) begin transaction
2974
+  (0.1ms) SAVEPOINT active_record_1
2975
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2977
+  (0.1ms) SAVEPOINT active_record_1
2978
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2979
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2980
+ Processing by FavouriteObject::FavouritesController#update as JSON
2981
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2982
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2983
+ Unpermitted parameters: target_type, target_id, format
2984
+  (0.0ms) SAVEPOINT active_record_1
2985
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2987
+ Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.8ms)
2988
+  (0.9ms) rollback transaction
2989
+  (0.1ms) begin transaction
2990
+  (0.1ms) SAVEPOINT active_record_1
2991
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2993
+  (0.0ms) SAVEPOINT active_record_1
2994
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
2995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2996
+ Processing by FavouriteObject::FavouritesController#update as JSON
2997
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
2998
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
2999
+ Unpermitted parameters: target_type, target_id, format
3000
+  (0.1ms) SAVEPOINT active_record_1
3001
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
3002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3003
+ Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.5ms)
3004
+  (0.8ms) rollback transaction
3005
+  (0.1ms) begin transaction
3006
+  (0.1ms) SAVEPOINT active_record_1
3007
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 01:25:19 UTC +00:00]]
3008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3009
+ Processing by FavouriteObject::FavouritesController#index as JSON
3010
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3011
+ Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 0.4ms)
3012
+  (0.6ms) rollback transaction
3013
+  (0.4ms) begin transaction
3014
+  (0.1ms) SAVEPOINT active_record_1
3015
+ SQL (11.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:30:17 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:30:17 UTC +00:00]]
3016
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3017
+ Processing by FavouriteObject::FavouritesController#index as JSON
3018
+ Parameters: {"serializer"=>"lite"}
3019
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3020
+ Completed 200 OK in 33ms (Views: 5.6ms | ActiveRecord: 0.9ms)
3021
+  (0.5ms) rollback transaction
3022
+  (0.5ms) begin transaction
3023
+  (0.1ms) SAVEPOINT active_record_1
3024
+ SQL (15.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:30:31 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:30:31 UTC +00:00]]
3025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3026
+  (0.2ms) SAVEPOINT active_record_1
3027
+ SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:30:31 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:30:31 UTC +00:00]]
3028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3029
+  (0.1ms) SAVEPOINT active_record_1
3030
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:30:31 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:30:31 UTC +00:00]]
3031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3032
+ Processing by FavouriteObject::FavouritesController#index as JSON
3033
+ Parameters: {"serializer"=>"lite"}
3034
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3035
+ Completed 200 OK in 40ms (Views: 5.5ms | ActiveRecord: 0.4ms)
3036
+  (0.9ms) rollback transaction
3037
+  (0.4ms) begin transaction
3038
+  (0.1ms) SAVEPOINT active_record_1
3039
+ SQL (7.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00]]
3040
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3041
+  (0.1ms) SAVEPOINT active_record_1
3042
+ SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00]]
3043
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3044
+  (0.1ms) SAVEPOINT active_record_1
3045
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00]]
3046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3047
+  (0.1ms) SAVEPOINT active_record_1
3048
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:30:55 UTC +00:00], ["params", "--- {}\n"]]
3049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3050
+ Processing by FavouriteObject::FavouritesController#index as JSON
3051
+ Parameters: {"serializer"=>"lite"}
3052
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3053
+ Completed 200 OK in 40ms (Views: 7.7ms | ActiveRecord: 0.4ms)
3054
+  (1.4ms) rollback transaction
3055
+  (0.4ms) begin transaction
3056
+  (0.1ms) SAVEPOINT active_record_1
3057
+ SQL (7.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00]]
3058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3059
+  (0.1ms) SAVEPOINT active_record_1
3060
+ SQL (1.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00]]
3061
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3062
+  (0.1ms) SAVEPOINT active_record_1
3063
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00]]
3064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3065
+  (0.1ms) SAVEPOINT active_record_1
3066
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:32:51 UTC +00:00], ["params", "--- {}\n"]]
3067
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3068
+ Processing by FavouriteObject::FavouritesController#index as JSON
3069
+ Parameters: {"serializer"=>"lite"}
3070
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3071
+ Completed 200 OK in 38ms (Views: 7.4ms | ActiveRecord: 0.3ms)
3072
+  (0.9ms) rollback transaction
3073
+  (0.5ms) begin transaction
3074
+  (0.1ms) SAVEPOINT active_record_1
3075
+ SQL (9.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00]]
3076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3077
+  (0.1ms) SAVEPOINT active_record_1
3078
+ SQL (1.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00]]
3079
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3080
+  (0.1ms) SAVEPOINT active_record_1
3081
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00]]
3082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3083
+  (0.1ms) SAVEPOINT active_record_1
3084
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00], ["params", "--- {}\n"]]
3085
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3086
+  (0.1ms) SAVEPOINT active_record_1
3087
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:35:41 UTC +00:00]]
3088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3089
+ Processing by FavouriteObject::FavouritesController#index as JSON
3090
+ Parameters: {"type"=>"FakeObject"}
3091
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (target_type = 'FakeObject') ORDER BY created_at DESC LIMIT 25 OFFSET 0
3092
+ Completed 200 OK in 33ms (Views: 8.5ms | ActiveRecord: 0.4ms)
3093
+  (1.0ms) rollback transaction
3094
+  (0.6ms) begin transaction
3095
+  (0.1ms) SAVEPOINT active_record_1
3096
+ SQL (6.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:22 UTC +00:00]]
3097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3098
+  (0.1ms) SAVEPOINT active_record_1
3099
+ SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3101
+ Processing by FavouriteObject::FavouritesController#show as JSON
3102
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3103
+ FavouriteObject::Favourite Load (0.7ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
3104
+ Completed 200 OK in 48ms (Views: 4.7ms | ActiveRecord: 1.1ms)
3105
+  (1.0ms) rollback transaction
3106
+  (0.1ms) begin transaction
3107
+  (0.1ms) SAVEPOINT active_record_1
3108
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3109
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3110
+  (0.0ms) SAVEPOINT active_record_1
3111
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3113
+  (0.1ms) SAVEPOINT active_record_1
3114
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3116
+  (0.1ms) SAVEPOINT active_record_1
3117
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["params", "--- {}\n"]]
3118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3119
+ Processing by FavouriteObject::FavouritesController#show as JSON
3120
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3121
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
3122
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
3123
+  (0.9ms) rollback transaction
3124
+  (0.1ms) begin transaction
3125
+  (0.2ms) SAVEPOINT active_record_1
3126
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3128
+  (0.1ms) SAVEPOINT active_record_1
3129
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3131
+ Processing by FavouriteObject::FavouritesController#update as JSON
3132
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3133
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
3134
+ Unpermitted parameters: target_type, target_id, format
3135
+  (0.1ms) SAVEPOINT active_record_1
3136
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3138
+ Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 1.2ms)
3139
+  (1.0ms) rollback transaction
3140
+  (0.1ms) begin transaction
3141
+  (0.1ms) SAVEPOINT active_record_1
3142
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3143
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3144
+  (0.0ms) SAVEPOINT active_record_1
3145
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3147
+ Processing by FavouriteObject::FavouritesController#update as JSON
3148
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3149
+ FavouriteObject::Favourite Load (0.5ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1
3150
+ Unpermitted parameters: target_type, target_id, format
3151
+  (0.3ms) SAVEPOINT active_record_1
3152
+ SQL (0.6ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3154
+ Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 1.5ms)
3155
+  (0.9ms) rollback transaction
3156
+  (0.1ms) begin transaction
3157
+  (0.6ms) SAVEPOINT active_record_1
3158
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3160
+ Processing by FavouriteObject::FavouritesController#index as JSON
3161
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3162
+ Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 0.3ms)
3163
+  (0.5ms) rollback transaction
3164
+  (0.1ms) begin transaction
3165
+  (0.1ms) SAVEPOINT active_record_1
3166
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3168
+  (0.1ms) SAVEPOINT active_record_1
3169
+ SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3170
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3171
+  (0.1ms) SAVEPOINT active_record_1
3172
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3173
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3174
+  (0.1ms) SAVEPOINT active_record_1
3175
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["params", "--- {}\n"]]
3176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3177
+ Processing by FavouriteObject::FavouritesController#index as JSON
3178
+ Parameters: {"serializer"=>"lite"}
3179
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3180
+ Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.2ms)
3181
+  (0.8ms) rollback transaction
3182
+  (0.1ms) begin transaction
3183
+  (0.1ms) SAVEPOINT active_record_1
3184
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3186
+  (0.1ms) SAVEPOINT active_record_1
3187
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3189
+  (0.3ms) SAVEPOINT active_record_1
3190
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3192
+  (0.1ms) SAVEPOINT active_record_1
3193
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["params", "--- {}\n"]]
3194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3195
+  (0.0ms) SAVEPOINT active_record_1
3196
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:40:23 UTC +00:00]]
3197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3198
+ Processing by FavouriteObject::FavouritesController#index as JSON
3199
+ Parameters: {"type"=>"FakeObject"}
3200
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (target_type = 'FakeObject') ORDER BY created_at DESC LIMIT 25 OFFSET 0
3201
+ Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.4ms)
3202
+  (0.9ms) rollback transaction
3203
+  (0.7ms) begin transaction
3204
+  (0.1ms) SAVEPOINT active_record_1
3205
+ SQL (7.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00]]
3206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3207
+  (0.1ms) SAVEPOINT active_record_1
3208
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00]]
3209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3210
+  (0.1ms) SAVEPOINT active_record_1
3211
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00]]
3212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3213
+  (1.0ms) SAVEPOINT active_record_1
3214
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00], ["params", "--- {}\n"]]
3215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3216
+  (0.1ms) SAVEPOINT active_record_1
3217
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:48:41 UTC +00:00]]
3218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3219
+ Processing by FavouriteObject::FavouritesController#index as JSON
3220
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
3221
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (type = 'FakeObject') AND (target_id IN (5)) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3222
+ SQLite3::SQLException: no such column: type: SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND (type = 'FakeObject') AND (target_id IN (5)) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3223
+ Completed 500 Internal Server Error in 37ms
3224
+  (0.9ms) rollback transaction
3225
+  (0.4ms) begin transaction
3226
+  (0.2ms) SAVEPOINT active_record_1
3227
+ SQL (9.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00]]
3228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3229
+  (0.1ms) SAVEPOINT active_record_1
3230
+ SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00]]
3231
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3232
+  (0.1ms) SAVEPOINT active_record_1
3233
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00]]
3234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3235
+  (0.1ms) SAVEPOINT active_record_1
3236
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00], ["params", "--- {}\n"]]
3237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3238
+  (0.1ms) SAVEPOINT active_record_1
3239
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:51:41 UTC +00:00]]
3240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3241
+ Processing by FavouriteObject::FavouritesController#index as JSON
3242
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
3243
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3244
+ SQLite3::SQLException: no such column: favourite_object_favourites.type: SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3245
+ Completed 500 Internal Server Error in 31ms
3246
+  (1.0ms) rollback transaction
3247
+  (0.4ms) begin transaction
3248
+  (0.1ms) SAVEPOINT active_record_1
3249
+ SQL (4.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00]]
3250
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3251
+  (0.0ms) SAVEPOINT active_record_1
3252
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00]]
3253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3254
+  (0.1ms) SAVEPOINT active_record_1
3255
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00]]
3256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3257
+  (0.0ms) SAVEPOINT active_record_1
3258
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00], ["params", "--- {}\n"]]
3259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3260
+  (0.1ms) SAVEPOINT active_record_1
3261
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:51:52 UTC +00:00]]
3262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3263
+ Processing by FavouriteObject::FavouritesController#index as JSON
3264
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
3265
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3266
+ Completed 200 OK in 48ms (Views: 18.7ms | ActiveRecord: 0.3ms)
3267
+  (1.0ms) rollback transaction
3268
+  (0.4ms) begin transaction
3269
+  (0.1ms) SAVEPOINT active_record_1
3270
+ SQL (8.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00]]
3271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3272
+  (0.3ms) SAVEPOINT active_record_1
3273
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00]]
3274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3275
+  (0.1ms) SAVEPOINT active_record_1
3276
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00]]
3277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3278
+  (0.1ms) SAVEPOINT active_record_1
3279
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00], ["params", "--- {}\n"]]
3280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3281
+  (0.1ms) SAVEPOINT active_record_1
3282
+ SQL (1.0ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:52:38 UTC +00:00]]
3283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3284
+ Processing by FavouriteObject::FavouritesController#index as JSON
3285
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
3286
+ FavouriteObject::Favourite Load (1.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3287
+ Completed 200 OK in 35ms (Views: 4.5ms | ActiveRecord: 1.1ms)
3288
+  (0.9ms) rollback transaction
3289
+  (0.3ms) begin transaction
3290
+  (0.1ms) SAVEPOINT active_record_1
3291
+ SQL (4.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3292
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3293
+  (0.1ms) SAVEPOINT active_record_1
3294
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3296
+ Processing by FavouriteObject::FavouritesController#show as JSON
3297
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3298
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3299
+ Completed 200 OK in 49ms (Views: 11.9ms | ActiveRecord: 0.5ms)
3300
+  (1.3ms) rollback transaction
3301
+  (0.1ms) begin transaction
3302
+  (0.1ms) SAVEPOINT active_record_1
3303
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3305
+  (0.1ms) SAVEPOINT active_record_1
3306
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3308
+  (0.1ms) SAVEPOINT active_record_1
3309
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3311
+  (0.0ms) SAVEPOINT active_record_1
3312
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["params", "--- {}\n"]]
3313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3314
+ Processing by FavouriteObject::FavouritesController#show as JSON
3315
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3316
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3317
+ Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms)
3318
+  (0.9ms) rollback transaction
3319
+  (0.1ms) begin transaction
3320
+  (0.1ms) SAVEPOINT active_record_1
3321
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3323
+  (0.1ms) SAVEPOINT active_record_1
3324
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3326
+ Processing by FavouriteObject::FavouritesController#update as JSON
3327
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3328
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3329
+ Unpermitted parameters: target_type, target_id, format
3330
+  (0.1ms) SAVEPOINT active_record_1
3331
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3333
+ Completed 200 OK in 20ms (Views: 1.8ms | ActiveRecord: 1.0ms)
3334
+  (0.7ms) rollback transaction
3335
+  (0.1ms) begin transaction
3336
+  (0.1ms) SAVEPOINT active_record_1
3337
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3339
+  (0.1ms) SAVEPOINT active_record_1
3340
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3342
+ Processing by FavouriteObject::FavouritesController#update as JSON
3343
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3344
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3345
+ Unpermitted parameters: target_type, target_id, format
3346
+  (0.1ms) SAVEPOINT active_record_1
3347
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3349
+ Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.6ms)
3350
+  (0.7ms) rollback transaction
3351
+  (0.2ms) begin transaction
3352
+  (0.1ms) SAVEPOINT active_record_1
3353
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3355
+ Processing by FavouriteObject::FavouritesController#index as JSON
3356
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3357
+ Completed 200 OK in 17ms (Views: 3.7ms | ActiveRecord: 0.3ms)
3358
+  (0.8ms) rollback transaction
3359
+  (0.2ms) begin transaction
3360
+  (0.1ms) SAVEPOINT active_record_1
3361
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3363
+  (0.1ms) SAVEPOINT active_record_1
3364
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3366
+  (0.1ms) SAVEPOINT active_record_1
3367
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3369
+  (0.1ms) SAVEPOINT active_record_1
3370
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["params", "--- {}\n"]]
3371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3372
+ Processing by FavouriteObject::FavouritesController#index as JSON
3373
+ Parameters: {"serializer"=>"lite"}
3374
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3375
+ Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.2ms)
3376
+  (1.0ms) rollback transaction
3377
+  (0.1ms) begin transaction
3378
+  (0.1ms) SAVEPOINT active_record_1
3379
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3380
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3381
+  (0.1ms) SAVEPOINT active_record_1
3382
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3384
+  (0.1ms) SAVEPOINT active_record_1
3385
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3387
+  (0.1ms) SAVEPOINT active_record_1
3388
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["params", "--- {}\n"]]
3389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3390
+  (0.1ms) SAVEPOINT active_record_1
3391
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3393
+ Processing by FavouriteObject::FavouritesController#index as JSON
3394
+ Parameters: {"type"=>"FakeObject"}
3395
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3396
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms)
3397
+  (0.8ms) rollback transaction
3398
+  (0.1ms) begin transaction
3399
+  (0.6ms) SAVEPOINT active_record_1
3400
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3402
+  (0.1ms) SAVEPOINT active_record_1
3403
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3405
+  (0.1ms) SAVEPOINT active_record_1
3406
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3408
+  (0.0ms) SAVEPOINT active_record_1
3409
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["params", "--- {}\n"]]
3410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3411
+  (0.1ms) SAVEPOINT active_record_1
3412
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:52:45 UTC +00:00]]
3413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3414
+ Processing by FavouriteObject::FavouritesController#index as JSON
3415
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
3416
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3417
+ Completed 200 OK in 18ms (Views: 2.7ms | ActiveRecord: 0.3ms)
3418
+  (0.9ms) rollback transaction
3419
+  (0.1ms) begin transaction
3420
+  (0.1ms) SAVEPOINT active_record_1
3421
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00]]
3422
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3423
+  (0.1ms) SAVEPOINT active_record_1
3424
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00]]
3425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3426
+  (0.1ms) SAVEPOINT active_record_1
3427
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00]]
3428
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3429
+  (0.1ms) SAVEPOINT active_record_1
3430
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00], ["params", "--- {}\n"]]
3431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3432
+  (0.1ms) SAVEPOINT active_record_1
3433
+ SQL (37.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:52:46 UTC +00:00]]
3434
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3435
+ Processing by FavouriteObject::FavouritesController#index as JSON
3436
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
3437
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3438
+ Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.3ms)
3439
+  (1.1ms) rollback transaction
3440
+  (0.4ms) begin transaction
3441
+  (0.0ms) SAVEPOINT active_record_1
3442
+ SQL (4.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3444
+  (0.1ms) SAVEPOINT active_record_1
3445
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3447
+ Processing by FavouriteObject::FavouritesController#show as JSON
3448
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3449
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3450
+ Completed 200 OK in 46ms (Views: 4.2ms | ActiveRecord: 1.2ms)
3451
+  (1.0ms) rollback transaction
3452
+  (0.9ms) begin transaction
3453
+  (0.1ms) SAVEPOINT active_record_1
3454
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3455
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3456
+  (0.1ms) SAVEPOINT active_record_1
3457
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3459
+  (0.6ms) SAVEPOINT active_record_1
3460
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3462
+  (0.0ms) SAVEPOINT active_record_1
3463
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["params", "--- {}\n"]]
3464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3465
+ Processing by FavouriteObject::FavouritesController#show as JSON
3466
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3467
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3468
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)
3469
+  (0.8ms) rollback transaction
3470
+  (0.5ms) begin transaction
3471
+  (0.1ms) SAVEPOINT active_record_1
3472
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3474
+  (0.1ms) SAVEPOINT active_record_1
3475
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3477
+ Processing by FavouriteObject::FavouritesController#update as JSON
3478
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3479
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3480
+ Unpermitted parameters: target_type, target_id, format
3481
+  (0.0ms) SAVEPOINT active_record_1
3482
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3484
+ Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 0.9ms)
3485
+  (0.8ms) rollback transaction
3486
+  (0.2ms) begin transaction
3487
+  (0.1ms) SAVEPOINT active_record_1
3488
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3490
+  (0.1ms) SAVEPOINT active_record_1
3491
+ SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3493
+ Processing by FavouriteObject::FavouritesController#update as JSON
3494
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3495
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3496
+ Unpermitted parameters: target_type, target_id, format
3497
+  (0.1ms) SAVEPOINT active_record_1
3498
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3500
+ Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.5ms)
3501
+  (0.8ms) rollback transaction
3502
+  (0.1ms) begin transaction
3503
+  (0.3ms) SAVEPOINT active_record_1
3504
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3505
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3506
+ Processing by FavouriteObject::FavouritesController#index as JSON
3507
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3508
+ Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 0.3ms)
3509
+  (0.5ms) rollback transaction
3510
+  (0.1ms) begin transaction
3511
+  (0.2ms) SAVEPOINT active_record_1
3512
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3514
+  (0.1ms) SAVEPOINT active_record_1
3515
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3517
+  (0.1ms) SAVEPOINT active_record_1
3518
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3519
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3520
+  (0.1ms) SAVEPOINT active_record_1
3521
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["params", "--- {}\n"]]
3522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3523
+ Processing by FavouriteObject::FavouritesController#index as JSON
3524
+ Parameters: {"serializer"=>"lite"}
3525
+ FavouriteObject::Favourite Load (0.8ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3526
+ Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.8ms)
3527
+  (1.0ms) rollback transaction
3528
+  (0.1ms) begin transaction
3529
+  (0.1ms) SAVEPOINT active_record_1
3530
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3531
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3532
+  (0.1ms) SAVEPOINT active_record_1
3533
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3535
+  (0.7ms) SAVEPOINT active_record_1
3536
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3538
+  (0.1ms) SAVEPOINT active_record_1
3539
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["params", "--- {}\n"]]
3540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3541
+  (0.6ms) SAVEPOINT active_record_1
3542
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3544
+ Processing by FavouriteObject::FavouritesController#index as JSON
3545
+ Parameters: {"target_type"=>"FakeObject"}
3546
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3547
+ Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)
3548
+  (0.9ms) rollback transaction
3549
+  (0.8ms) begin transaction
3550
+  (0.1ms) SAVEPOINT active_record_1
3551
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3553
+  (0.2ms) SAVEPOINT active_record_1
3554
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3556
+  (0.1ms) SAVEPOINT active_record_1
3557
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3559
+  (0.1ms) SAVEPOINT active_record_1
3560
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["params", "--- {}\n"]]
3561
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3562
+  (0.1ms) SAVEPOINT active_record_1
3563
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3565
+ Processing by FavouriteObject::FavouritesController#index as JSON
3566
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
3567
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3568
+ Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 0.2ms)
3569
+  (0.9ms) rollback transaction
3570
+  (0.1ms) begin transaction
3571
+  (0.1ms) SAVEPOINT active_record_1
3572
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3574
+  (0.0ms) SAVEPOINT active_record_1
3575
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3577
+  (0.1ms) SAVEPOINT active_record_1
3578
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3580
+  (0.3ms) SAVEPOINT active_record_1
3581
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["params", "--- {}\n"]]
3582
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3583
+  (0.1ms) SAVEPOINT active_record_1
3584
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:54:18 UTC +00:00]]
3585
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3586
+ Processing by FavouriteObject::FavouritesController#index as JSON
3587
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
3588
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3589
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)
3590
+  (1.3ms) rollback transaction
3591
+  (0.3ms) begin transaction
3592
+  (0.1ms) SAVEPOINT active_record_1
3593
+ SQL (6.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3595
+  (0.1ms) SAVEPOINT active_record_1
3596
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3598
+ Processing by FavouriteObject::FavouritesController#show as JSON
3599
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3600
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3601
+ Completed 200 OK in 47ms (Views: 3.7ms | ActiveRecord: 1.1ms)
3602
+  (0.7ms) rollback transaction
3603
+  (0.1ms) begin transaction
3604
+  (0.1ms) SAVEPOINT active_record_1
3605
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3607
+  (0.0ms) SAVEPOINT active_record_1
3608
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3610
+  (0.1ms) SAVEPOINT active_record_1
3611
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3612
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3613
+  (0.1ms) SAVEPOINT active_record_1
3614
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3616
+ Processing by FavouriteObject::FavouritesController#show as JSON
3617
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3618
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3619
+ Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.2ms)
3620
+  (0.8ms) rollback transaction
3621
+  (0.1ms) begin transaction
3622
+  (0.1ms) SAVEPOINT active_record_1
3623
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3625
+  (0.1ms) SAVEPOINT active_record_1
3626
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3627
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3628
+ Processing by FavouriteObject::FavouritesController#update as JSON
3629
+ Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3630
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3631
+ Unpermitted parameters: target_type, target_id, format
3632
+  (0.1ms) SAVEPOINT active_record_1
3633
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3635
+ Completed 200 OK in 18ms (Views: 1.5ms | ActiveRecord: 0.6ms)
3636
+  (0.8ms) rollback transaction
3637
+  (0.1ms) begin transaction
3638
+  (0.1ms) SAVEPOINT active_record_1
3639
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3641
+  (0.1ms) SAVEPOINT active_record_1
3642
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3644
+ Processing by FavouriteObject::FavouritesController#update as JSON
3645
+ Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"}
3646
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3647
+ Unpermitted parameters: target_type, target_id, format
3648
+  (0.1ms) SAVEPOINT active_record_1
3649
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3651
+ Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)
3652
+  (0.6ms) rollback transaction
3653
+  (0.3ms) begin transaction
3654
+  (0.1ms) SAVEPOINT active_record_1
3655
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3657
+ Processing by FavouriteObject::FavouritesController#index as JSON
3658
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3659
+ Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 0.3ms)
3660
+  (0.4ms) rollback transaction
3661
+  (0.1ms) begin transaction
3662
+  (0.1ms) SAVEPOINT active_record_1
3663
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3665
+  (0.0ms) SAVEPOINT active_record_1
3666
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3668
+  (0.0ms) SAVEPOINT active_record_1
3669
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3671
+  (0.0ms) SAVEPOINT active_record_1
3672
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3674
+ Processing by FavouriteObject::FavouritesController#index as JSON
3675
+ Parameters: {"serializer"=>"lite"}
3676
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3677
+ Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
3678
+  (0.8ms) rollback transaction
3679
+  (0.1ms) begin transaction
3680
+  (0.1ms) SAVEPOINT active_record_1
3681
+ SQL (1.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3683
+  (0.1ms) SAVEPOINT active_record_1
3684
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3686
+  (0.1ms) SAVEPOINT active_record_1
3687
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3688
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3689
+  (0.1ms) SAVEPOINT active_record_1
3690
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3692
+  (0.1ms) SAVEPOINT active_record_1
3693
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3695
+ Processing by FavouriteObject::FavouritesController#index as JSON
3696
+ Parameters: {"target_type"=>"FakeObject"}
3697
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3698
+ Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)
3699
+  (0.9ms) rollback transaction
3700
+  (0.1ms) begin transaction
3701
+  (0.1ms) SAVEPOINT active_record_1
3702
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3703
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3704
+  (0.1ms) SAVEPOINT active_record_1
3705
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3707
+  (0.1ms) SAVEPOINT active_record_1
3708
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3710
+  (0.0ms) SAVEPOINT active_record_1
3711
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3713
+  (0.0ms) SAVEPOINT active_record_1
3714
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3716
+ Processing by FavouriteObject::FavouritesController#index as JSON
3717
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
3718
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3719
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
3720
+  (0.9ms) rollback transaction
3721
+  (0.1ms) begin transaction
3722
+  (0.1ms) SAVEPOINT active_record_1
3723
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3725
+  (0.1ms) SAVEPOINT active_record_1
3726
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3728
+  (0.0ms) SAVEPOINT active_record_1
3729
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3731
+  (0.0ms) SAVEPOINT active_record_1
3732
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3733
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3734
+  (0.0ms) SAVEPOINT active_record_1
3735
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3737
+ Processing by FavouriteObject::FavouritesController#index as JSON
3738
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
3739
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
3740
+ Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
3741
+  (0.8ms) rollback transaction
3742
+  (0.1ms) begin transaction
3743
+  (0.1ms) SAVEPOINT active_record_1
3744
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3746
+  (0.0ms) SAVEPOINT active_record_1
3747
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3749
+  (0.0ms) SAVEPOINT active_record_1
3750
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3751
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3752
+  (0.1ms) SAVEPOINT active_record_1
3753
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3754
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3755
+  (0.1ms) SAVEPOINT active_record_1
3756
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3758
+  (0.1ms) SAVEPOINT active_record_1
3759
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3760
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3761
+  (0.8ms) rollback transaction
3762
+  (0.1ms) begin transaction
3763
+  (0.1ms) SAVEPOINT active_record_1
3764
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3766
+  (0.1ms) SAVEPOINT active_record_1
3767
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3769
+  (0.0ms) SAVEPOINT active_record_1
3770
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3772
+  (0.0ms) SAVEPOINT active_record_1
3773
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3775
+  (0.0ms) SAVEPOINT active_record_1
3776
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3778
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3779
+  (0.7ms) rollback transaction
3780
+  (0.1ms) begin transaction
3781
+  (0.1ms) SAVEPOINT active_record_1
3782
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3784
+  (0.0ms) SAVEPOINT active_record_1
3785
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3787
+  (0.0ms) SAVEPOINT active_record_1
3788
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3790
+  (0.0ms) SAVEPOINT active_record_1
3791
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3793
+  (0.0ms) SAVEPOINT active_record_1
3794
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "third_party_flag", "third_party_id", "third_party_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["third_party_flag", true], ["third_party_id", 1], ["third_party_type", "Sale"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3796
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."third_party_id" = 1 AND "favourite_object_favourites"."third_party_type" = 'Sale' AND "favourite_object_favourites"."third_party_flag" = 't' LIMIT 1
3797
+  (0.8ms) rollback transaction
3798
+  (0.1ms) begin transaction
3799
+  (0.1ms) SAVEPOINT active_record_1
3800
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3802
+  (0.0ms) SAVEPOINT active_record_1
3803
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3805
+  (0.0ms) SAVEPOINT active_record_1
3806
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00]]
3807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3808
+  (0.0ms) SAVEPOINT active_record_1
3809
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3811
+  (0.0ms) SAVEPOINT active_record_1
3812
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 25 Feb 2016 02:55:16 UTC +00:00], ["params", "--- {}\n"]]
3813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3814
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3815
+  (0.8ms) rollback transaction
3816
+  (0.8ms) begin transaction
3817
+  (0.1ms) SAVEPOINT active_record_1
3818
+ SQL (9.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00]]
3819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3820
+  (0.1ms) SAVEPOINT active_record_1
3821
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00]]
3822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3823
+  (0.1ms) SAVEPOINT active_record_1
3824
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00]]
3825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3826
+  (0.1ms) SAVEPOINT active_record_1
3827
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 04:32:47 UTC +00:00], ["params", "--- {}\n"]]
3828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3829
+  (1.2ms) rollback transaction
3830
+  (0.5ms) begin transaction
3831
+  (0.1ms) SAVEPOINT active_record_1
3832
+ SQL (5.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00]]
3833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3834
+  (0.1ms) SAVEPOINT active_record_1
3835
+ SQL (1.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00]]
3836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3837
+  (0.1ms) SAVEPOINT active_record_1
3838
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00]]
3839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3840
+  (0.1ms) SAVEPOINT active_record_1
3841
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 04:34:38 UTC +00:00], ["params", "--- {}\n"]]
3842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3843
+  (0.9ms) rollback transaction
3844
+  (0.5ms) begin transaction
3845
+  (0.1ms) SAVEPOINT active_record_1
3846
+ SQL (6.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:48:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 04:48:37 UTC +00:00]]
3847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3848
+  (0.1ms) SAVEPOINT active_record_1
3849
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 04:48:37 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 04:48:37 UTC +00:00]]
3850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3851
+  (0.1ms) SAVEPOINT active_record_1
3852
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:48:38 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 04:48:38 UTC +00:00]]
3853
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3854
+  (0.1ms) SAVEPOINT active_record_1
3855
+ SQL (0.4ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 04:48:38 UTC +00:00], ["params", "--- {}\n"]]
3856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3857
+  (0.9ms) rollback transaction
3858
+  (0.5ms) begin transaction
3859
+  (0.1ms) SAVEPOINT active_record_1
3860
+ SQL (5.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00]]
3861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3862
+  (0.1ms) SAVEPOINT active_record_1
3863
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00]]
3864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3865
+  (0.1ms) SAVEPOINT active_record_1
3866
+ SQL (1.0ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00]]
3867
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3868
+  (0.1ms) SAVEPOINT active_record_1
3869
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 04:49:28 UTC +00:00], ["params", "--- {}\n"]]
3870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3871
+  (0.9ms) rollback transaction
3872
+  (0.6ms) begin transaction
3873
+  (0.1ms) SAVEPOINT active_record_1
3874
+ SQL (12.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00]]
3875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3876
+  (0.1ms) SAVEPOINT active_record_1
3877
+ SQL (1.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00]]
3878
+  (0.8ms) RELEASE SAVEPOINT active_record_1
3879
+  (0.1ms) SAVEPOINT active_record_1
3880
+ SQL (1.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00]]
3881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3882
+  (0.0ms) SAVEPOINT active_record_1
3883
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 04:50:08 UTC +00:00], ["params", "--- {}\n"]]
3884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3885
+ Processing by FavouriteObject::FavouritesController#show as JSON
3886
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"}
3887
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
3888
+ Completed 200 OK in 37ms (Views: 3.7ms | ActiveRecord: 0.2ms)
3889
+  (1.0ms) rollback transaction
3890
+  (0.6ms) begin transaction
3891
+  (0.1ms) SAVEPOINT active_record_1
3892
+ SQL (9.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00]]
3893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3894
+  (0.1ms) SAVEPOINT active_record_1
3895
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00], ["updated_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00]]
3896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3897
+  (0.1ms) SAVEPOINT active_record_1
3898
+ SQL (1.0ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00]]
3899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3900
+  (0.0ms) SAVEPOINT active_record_1
3901
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Thu, 25 Feb 2016 04:54:21 UTC +00:00], ["params", "--- {}\n"]]
3902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3903
+ Processing by FavouriteObject::FavouritesController#index as JSON
3904
+ Parameters: {"serializer"=>"lite"}
3905
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
3906
+ Completed 200 OK in 32ms (Views: 5.8ms | ActiveRecord: 0.4ms)
3907
+  (0.8ms) rollback transaction
3908
+  (0.4ms) begin transaction
3909
+  (0.0ms) SAVEPOINT active_record_1
3910
+ SQL (7.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3911
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3912
+  (0.1ms) SAVEPOINT active_record_1
3913
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3915
+  (0.9ms) rollback transaction
3916
+  (0.1ms) begin transaction
3917
+  (0.1ms) SAVEPOINT active_record_1
3918
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3920
+  (0.0ms) SAVEPOINT active_record_1
3921
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3923
+  (0.1ms) SAVEPOINT active_record_1
3924
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3925
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3926
+  (0.1ms) SAVEPOINT active_record_1
3927
+ SQL (1.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["params", "--- {}\n"]]
3928
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3929
+  (0.9ms) rollback transaction
3930
+  (0.1ms) begin transaction
3931
+  (0.1ms) SAVEPOINT active_record_1
3932
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3934
+  (0.0ms) SAVEPOINT active_record_1
3935
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3937
+  (0.9ms) rollback transaction
3938
+  (0.1ms) begin transaction
3939
+  (0.1ms) SAVEPOINT active_record_1
3940
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3942
+  (0.1ms) SAVEPOINT active_record_1
3943
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3945
+  (0.9ms) rollback transaction
3946
+  (0.1ms) begin transaction
3947
+  (0.1ms) SAVEPOINT active_record_1
3948
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3950
+  (0.5ms) rollback transaction
3951
+  (0.1ms) begin transaction
3952
+  (0.1ms) SAVEPOINT active_record_1
3953
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3955
+  (0.0ms) SAVEPOINT active_record_1
3956
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3958
+  (0.0ms) SAVEPOINT active_record_1
3959
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3961
+  (0.0ms) SAVEPOINT active_record_1
3962
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["params", "--- {}\n"]]
3963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3964
+  (0.7ms) rollback transaction
3965
+  (0.1ms) begin transaction
3966
+  (0.1ms) SAVEPOINT active_record_1
3967
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3969
+  (0.1ms) SAVEPOINT active_record_1
3970
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3972
+  (0.1ms) SAVEPOINT active_record_1
3973
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3975
+  (0.1ms) SAVEPOINT active_record_1
3976
+ SQL (0.5ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["params", "--- {}\n"]]
3977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3978
+  (0.1ms) SAVEPOINT active_record_1
3979
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3981
+  (0.8ms) rollback transaction
3982
+  (0.1ms) begin transaction
3983
+  (0.1ms) SAVEPOINT active_record_1
3984
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3986
+  (0.0ms) SAVEPOINT active_record_1
3987
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3989
+  (0.0ms) SAVEPOINT active_record_1
3990
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3992
+  (0.1ms) SAVEPOINT active_record_1
3993
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["params", "--- {}\n"]]
3994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3995
+  (0.1ms) SAVEPOINT active_record_1
3996
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
3997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3998
+  (0.9ms) rollback transaction
3999
+  (0.1ms) begin transaction
4000
+  (0.6ms) SAVEPOINT active_record_1
4001
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
4002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4003
+  (0.0ms) SAVEPOINT active_record_1
4004
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
4005
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4006
+  (0.1ms) SAVEPOINT active_record_1
4007
+ SQL (1.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
4008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4009
+  (0.0ms) SAVEPOINT active_record_1
4010
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["params", "--- {}\n"]]
4011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4012
+  (0.0ms) SAVEPOINT active_record_1
4013
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:36:27 UTC +00:00]]
4014
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4015
+  (1.0ms) rollback transaction
4016
+  (0.5ms) begin transaction
4017
+  (0.1ms) SAVEPOINT active_record_1
4018
+ SQL (6.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4020
+  (0.1ms) SAVEPOINT active_record_1
4021
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4023
+  (0.7ms) rollback transaction
4024
+  (0.1ms) begin transaction
4025
+  (0.1ms) SAVEPOINT active_record_1
4026
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4028
+  (0.1ms) SAVEPOINT active_record_1
4029
+ SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4031
+  (0.1ms) SAVEPOINT active_record_1
4032
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4034
+  (0.1ms) SAVEPOINT active_record_1
4035
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["params", "--- {}\n"]]
4036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4037
+  (0.8ms) rollback transaction
4038
+  (0.1ms) begin transaction
4039
+  (0.1ms) SAVEPOINT active_record_1
4040
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4042
+  (0.1ms) SAVEPOINT active_record_1
4043
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4045
+  (1.2ms) rollback transaction
4046
+  (0.1ms) begin transaction
4047
+  (0.1ms) SAVEPOINT active_record_1
4048
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4050
+  (0.1ms) SAVEPOINT active_record_1
4051
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4053
+  (0.7ms) rollback transaction
4054
+  (0.1ms) begin transaction
4055
+  (0.1ms) SAVEPOINT active_record_1
4056
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4058
+  (0.5ms) rollback transaction
4059
+  (0.1ms) begin transaction
4060
+  (0.1ms) SAVEPOINT active_record_1
4061
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4062
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4063
+  (0.1ms) SAVEPOINT active_record_1
4064
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4066
+  (0.1ms) SAVEPOINT active_record_1
4067
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4069
+  (0.4ms) SAVEPOINT active_record_1
4070
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["params", "--- {}\n"]]
4071
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4072
+  (0.7ms) rollback transaction
4073
+  (0.5ms) begin transaction
4074
+  (0.1ms) SAVEPOINT active_record_1
4075
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4077
+  (0.1ms) SAVEPOINT active_record_1
4078
+ SQL (0.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4080
+  (0.1ms) SAVEPOINT active_record_1
4081
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4083
+  (0.4ms) SAVEPOINT active_record_1
4084
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["params", "--- {}\n"]]
4085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4086
+  (0.1ms) SAVEPOINT active_record_1
4087
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4089
+  (0.7ms) rollback transaction
4090
+  (0.1ms) begin transaction
4091
+  (0.1ms) SAVEPOINT active_record_1
4092
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4093
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4094
+  (0.1ms) SAVEPOINT active_record_1
4095
+ SQL (0.7ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4096
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4097
+  (0.1ms) SAVEPOINT active_record_1
4098
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4099
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4100
+  (0.1ms) SAVEPOINT active_record_1
4101
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["params", "--- {}\n"]]
4102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4103
+  (0.1ms) SAVEPOINT active_record_1
4104
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4105
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4106
+  (0.7ms) rollback transaction
4107
+  (0.1ms) begin transaction
4108
+  (0.1ms) SAVEPOINT active_record_1
4109
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4111
+  (0.1ms) SAVEPOINT active_record_1
4112
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4114
+  (0.1ms) SAVEPOINT active_record_1
4115
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00]]
4116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4117
+  (0.8ms) SAVEPOINT active_record_1
4118
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:36:46 UTC +00:00], ["params", "--- {}\n"]]
4119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4120
+  (0.1ms) SAVEPOINT active_record_1
4121
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:36:47 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:36:47 UTC +00:00]]
4122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4123
+  (0.7ms) rollback transaction
4124
+  (0.6ms) begin transaction
4125
+  (0.1ms) SAVEPOINT active_record_1
4126
+ SQL (8.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:50:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:50:58 UTC +00:00]]
4127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4128
+  (0.1ms) SAVEPOINT active_record_1
4129
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:50:58 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:50:58 UTC +00:00]]
4130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4131
+ Processing by FavouriteObject::FavouritesController#show as JSON
4132
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4133
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4134
+ Completed 200 OK in 58ms (Views: 3.0ms | ActiveRecord: 1.1ms)
4135
+  (0.8ms) rollback transaction
4136
+  (0.4ms) begin transaction
4137
+  (0.1ms) SAVEPOINT active_record_1
4138
+ SQL (7.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:04 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:04 UTC +00:00]]
4139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4140
+  (0.1ms) SAVEPOINT active_record_1
4141
+ SQL (0.9ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:04 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:04 UTC +00:00]]
4142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4143
+ Processing by FavouriteObject::FavouritesController#show as JSON
4144
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4145
+ FavouriteObject::Favourite Load (0.5ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4146
+ Completed 200 OK in 51ms (Views: 3.3ms | ActiveRecord: 1.2ms)
4147
+  (0.9ms) rollback transaction
4148
+  (0.1ms) begin transaction
4149
+  (0.1ms) SAVEPOINT active_record_1
4150
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4152
+  (0.1ms) SAVEPOINT active_record_1
4153
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4155
+  (0.1ms) SAVEPOINT active_record_1
4156
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4158
+  (0.0ms) SAVEPOINT active_record_1
4159
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["params", "--- {}\n"]]
4160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4161
+ Processing by FavouriteObject::FavouritesController#show as JSON
4162
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4163
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4164
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
4165
+  (2.0ms) rollback transaction
4166
+  (0.7ms) begin transaction
4167
+  (0.1ms) SAVEPOINT active_record_1
4168
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4170
+  (0.1ms) SAVEPOINT active_record_1
4171
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4173
+ Processing by FavouriteObject::FavouritesController#update as JSON
4174
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>true}}
4175
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4176
+ Unpermitted parameters: target_type, target_id, format
4177
+  (0.1ms) SAVEPOINT active_record_1
4178
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4180
+ Completed 200 OK in 25ms (Views: 1.3ms | ActiveRecord: 0.8ms)
4181
+  (0.8ms) rollback transaction
4182
+  (0.1ms) begin transaction
4183
+  (0.1ms) SAVEPOINT active_record_1
4184
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4186
+  (0.1ms) SAVEPOINT active_record_1
4187
+ SQL (1.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4189
+ Processing by FavouriteObject::FavouritesController#update as JSON
4190
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>false}}
4191
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4192
+ Unpermitted parameters: target_type, target_id, format
4193
+  (0.1ms) SAVEPOINT active_record_1
4194
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4196
+ Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.5ms)
4197
+  (0.8ms) rollback transaction
4198
+  (0.1ms) begin transaction
4199
+  (0.1ms) SAVEPOINT active_record_1
4200
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4202
+ Processing by FavouriteObject::FavouritesController#index as JSON
4203
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4204
+ Completed 200 OK in 17ms (Views: 4.3ms | ActiveRecord: 0.3ms)
4205
+  (0.6ms) rollback transaction
4206
+  (0.1ms) begin transaction
4207
+  (0.1ms) SAVEPOINT active_record_1
4208
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4210
+  (0.0ms) SAVEPOINT active_record_1
4211
+ SQL (1.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4213
+  (0.1ms) SAVEPOINT active_record_1
4214
+ SQL (0.5ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4216
+  (0.1ms) SAVEPOINT active_record_1
4217
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["params", "--- {}\n"]]
4218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4219
+ Processing by FavouriteObject::FavouritesController#index as JSON
4220
+ Parameters: {"serializer"=>"lite"}
4221
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4222
+ Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.2ms)
4223
+  (0.7ms) rollback transaction
4224
+  (0.1ms) begin transaction
4225
+  (0.1ms) SAVEPOINT active_record_1
4226
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4228
+  (0.1ms) SAVEPOINT active_record_1
4229
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4231
+  (0.1ms) SAVEPOINT active_record_1
4232
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4233
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4234
+  (0.1ms) SAVEPOINT active_record_1
4235
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["params", "--- {}\n"]]
4236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4237
+  (0.1ms) SAVEPOINT active_record_1
4238
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4240
+ Processing by FavouriteObject::FavouritesController#index as JSON
4241
+ Parameters: {"target_type"=>"FakeObject"}
4242
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4243
+ Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms)
4244
+  (1.8ms) rollback transaction
4245
+  (0.1ms) begin transaction
4246
+  (0.1ms) SAVEPOINT active_record_1
4247
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4248
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4249
+  (0.1ms) SAVEPOINT active_record_1
4250
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4252
+  (0.1ms) SAVEPOINT active_record_1
4253
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4254
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4255
+  (0.1ms) SAVEPOINT active_record_1
4256
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["params", "--- {}\n"]]
4257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4258
+  (0.1ms) SAVEPOINT active_record_1
4259
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4261
+ Processing by FavouriteObject::FavouritesController#index as JSON
4262
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
4263
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
4264
+ Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
4265
+  (0.7ms) rollback transaction
4266
+  (0.1ms) begin transaction
4267
+  (0.1ms) SAVEPOINT active_record_1
4268
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4270
+  (0.1ms) SAVEPOINT active_record_1
4271
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4273
+  (0.1ms) SAVEPOINT active_record_1
4274
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4276
+  (0.0ms) SAVEPOINT active_record_1
4277
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["params", "--- {}\n"]]
4278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4279
+  (0.1ms) SAVEPOINT active_record_1
4280
+ SQL (0.6ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:54:05 UTC +00:00]]
4281
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4282
+ Processing by FavouriteObject::FavouritesController#index as JSON
4283
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
4284
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
4285
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
4286
+  (1.1ms) rollback transaction
4287
+  (0.4ms) begin transaction
4288
+  (0.1ms) SAVEPOINT active_record_1
4289
+ SQL (5.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00]]
4290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4291
+  (0.0ms) SAVEPOINT active_record_1
4292
+ SQL (1.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00]]
4293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4294
+  (0.1ms) SAVEPOINT active_record_1
4295
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00]]
4296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4297
+  (0.1ms) SAVEPOINT active_record_1
4298
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:20 UTC +00:00], ["params", "--- {}\n"]]
4299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4300
+ Processing by FavouriteObject::FavouritesController#show as JSON
4301
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4302
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4303
+ Completed 200 OK in 36ms (Views: 2.4ms | ActiveRecord: 0.3ms)
4304
+  (0.9ms) rollback transaction
4305
+  (0.6ms) begin transaction
4306
+  (0.1ms) SAVEPOINT active_record_1
4307
+ SQL (5.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00]]
4308
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4309
+  (0.0ms) SAVEPOINT active_record_1
4310
+ SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00]]
4311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4312
+  (0.7ms) SAVEPOINT active_record_1
4313
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00]]
4314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4315
+  (0.1ms) SAVEPOINT active_record_1
4316
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:54:39 UTC +00:00], ["params", "--- {}\n"]]
4317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4318
+ Processing by FavouriteObject::FavouritesController#show as JSON
4319
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4320
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4321
+ Completed 200 OK in 31ms (Views: 2.7ms | ActiveRecord: 0.2ms)
4322
+  (0.9ms) rollback transaction
4323
+  (0.5ms) begin transaction
4324
+  (0.1ms) SAVEPOINT active_record_1
4325
+ SQL (9.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00]]
4326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4327
+  (0.1ms) SAVEPOINT active_record_1
4328
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00]]
4329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4330
+  (0.1ms) SAVEPOINT active_record_1
4331
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00]]
4332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4333
+  (0.1ms) SAVEPOINT active_record_1
4334
+ SQL (0.4ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:56:28 UTC +00:00], ["params", "--- {}\n"]]
4335
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4336
+ Processing by FavouriteObject::FavouritesController#show as JSON
4337
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4338
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4339
+ Completed 200 OK in 37ms (Views: 2.9ms | ActiveRecord: 0.2ms)
4340
+  (0.9ms) rollback transaction
4341
+  (0.4ms) begin transaction
4342
+  (0.1ms) SAVEPOINT active_record_1
4343
+ SQL (7.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4344
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4345
+  (0.1ms) SAVEPOINT active_record_1
4346
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4348
+ Processing by FavouriteObject::FavouritesController#show as JSON
4349
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4350
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4351
+ Completed 200 OK in 51ms (Views: 2.6ms | ActiveRecord: 1.7ms)
4352
+  (0.9ms) rollback transaction
4353
+  (0.1ms) begin transaction
4354
+  (0.1ms) SAVEPOINT active_record_1
4355
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4357
+  (0.0ms) SAVEPOINT active_record_1
4358
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4360
+  (0.1ms) SAVEPOINT active_record_1
4361
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4363
+  (0.1ms) SAVEPOINT active_record_1
4364
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["params", "--- {}\n"]]
4365
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4366
+ Processing by FavouriteObject::FavouritesController#show as JSON
4367
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4368
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4369
+ Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)
4370
+  (0.8ms) rollback transaction
4371
+  (0.1ms) begin transaction
4372
+  (0.1ms) SAVEPOINT active_record_1
4373
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4375
+  (0.1ms) SAVEPOINT active_record_1
4376
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4378
+ Processing by FavouriteObject::FavouritesController#update as JSON
4379
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>true}}
4380
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4381
+ Unpermitted parameters: target_type, target_id, format
4382
+  (0.1ms) SAVEPOINT active_record_1
4383
+ SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4385
+ Completed 200 OK in 21ms (Views: 1.2ms | ActiveRecord: 1.2ms)
4386
+  (0.8ms) rollback transaction
4387
+  (0.5ms) begin transaction
4388
+  (0.1ms) SAVEPOINT active_record_1
4389
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4391
+  (0.0ms) SAVEPOINT active_record_1
4392
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4394
+ Processing by FavouriteObject::FavouritesController#update as JSON
4395
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>false}}
4396
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4397
+ Unpermitted parameters: target_type, target_id, format
4398
+  (0.1ms) SAVEPOINT active_record_1
4399
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4401
+ Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.7ms)
4402
+  (1.1ms) rollback transaction
4403
+  (0.1ms) begin transaction
4404
+  (0.1ms) SAVEPOINT active_record_1
4405
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4407
+ Processing by FavouriteObject::FavouritesController#index as JSON
4408
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4409
+ Completed 200 OK in 16ms (Views: 4.5ms | ActiveRecord: 0.2ms)
4410
+  (0.5ms) rollback transaction
4411
+  (0.1ms) begin transaction
4412
+  (0.1ms) SAVEPOINT active_record_1
4413
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4415
+  (0.2ms) SAVEPOINT active_record_1
4416
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4418
+  (0.1ms) SAVEPOINT active_record_1
4419
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4420
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4421
+  (0.1ms) SAVEPOINT active_record_1
4422
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["params", "--- {}\n"]]
4423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4424
+ Processing by FavouriteObject::FavouritesController#index as JSON
4425
+ Parameters: {"serializer"=>"lite"}
4426
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4427
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)
4428
+  (1.0ms) rollback transaction
4429
+  (0.1ms) begin transaction
4430
+  (0.1ms) SAVEPOINT active_record_1
4431
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4433
+  (0.1ms) SAVEPOINT active_record_1
4434
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4435
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4436
+  (0.0ms) SAVEPOINT active_record_1
4437
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4439
+  (0.2ms) SAVEPOINT active_record_1
4440
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["params", "--- {}\n"]]
4441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4442
+  (0.1ms) SAVEPOINT active_record_1
4443
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4445
+ Processing by FavouriteObject::FavouritesController#index as JSON
4446
+ Parameters: {"target_type"=>"FakeObject"}
4447
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4448
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
4449
+  (0.9ms) rollback transaction
4450
+  (0.1ms) begin transaction
4451
+  (0.1ms) SAVEPOINT active_record_1
4452
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4454
+  (0.1ms) SAVEPOINT active_record_1
4455
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4457
+  (0.1ms) SAVEPOINT active_record_1
4458
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4460
+  (0.0ms) SAVEPOINT active_record_1
4461
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["params", "--- {}\n"]]
4462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4463
+  (0.0ms) SAVEPOINT active_record_1
4464
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4466
+ Processing by FavouriteObject::FavouritesController#index as JSON
4467
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
4468
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
4469
+ Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
4470
+  (1.1ms) rollback transaction
4471
+  (0.1ms) begin transaction
4472
+  (0.1ms) SAVEPOINT active_record_1
4473
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4474
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4475
+  (0.1ms) SAVEPOINT active_record_1
4476
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4478
+  (0.0ms) SAVEPOINT active_record_1
4479
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4481
+  (0.0ms) SAVEPOINT active_record_1
4482
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["params", "--- {}\n"]]
4483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4484
+  (0.1ms) SAVEPOINT active_record_1
4485
+ SQL (0.7ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:56:40 UTC +00:00]]
4486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4487
+ Processing by FavouriteObject::FavouritesController#index as JSON
4488
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
4489
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
4490
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)
4491
+  (0.8ms) rollback transaction
4492
+  (0.7ms) begin transaction
4493
+  (0.1ms) SAVEPOINT active_record_1
4494
+ SQL (3.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00]]
4495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4496
+  (0.1ms) SAVEPOINT active_record_1
4497
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00]]
4498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4499
+  (0.3ms) SAVEPOINT active_record_1
4500
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00]]
4501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4502
+  (0.0ms) SAVEPOINT active_record_1
4503
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:57:14 UTC +00:00], ["params", "--- {}\n"]]
4504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4505
+ Processing by FavouriteObject::FavouritesController#index as JSON
4506
+ Parameters: {"serializer"=>"lite"}
4507
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4508
+ Completed 200 OK in 28ms (Views: 7.5ms | ActiveRecord: 0.4ms)
4509
+  (8.6ms) rollback transaction
4510
+  (0.3ms) begin transaction
4511
+  (0.1ms) SAVEPOINT active_record_1
4512
+ SQL (3.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00]]
4513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4514
+  (0.1ms) SAVEPOINT active_record_1
4515
+ SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00]]
4516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4517
+  (0.1ms) SAVEPOINT active_record_1
4518
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00]]
4519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4520
+  (0.0ms) SAVEPOINT active_record_1
4521
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:57:22 UTC +00:00], ["params", "--- {}\n"]]
4522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4523
+ Processing by FavouriteObject::FavouritesController#index as JSON
4524
+ Parameters: {"serializer"=>"lite"}
4525
+ FavouriteObject::Favourite Load (0.4ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4526
+ Completed 200 OK in 28ms (Views: 5.4ms | ActiveRecord: 0.4ms)
4527
+  (8.7ms) rollback transaction
4528
+  (0.6ms) begin transaction
4529
+  (0.1ms) SAVEPOINT active_record_1
4530
+ SQL (9.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4532
+  (0.1ms) SAVEPOINT active_record_1
4533
+ SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4535
+ Processing by FavouriteObject::FavouritesController#show as JSON
4536
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4537
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4538
+ Completed 200 OK in 54ms (Views: 3.2ms | ActiveRecord: 1.2ms)
4539
+  (0.9ms) rollback transaction
4540
+  (0.1ms) begin transaction
4541
+  (0.3ms) SAVEPOINT active_record_1
4542
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4544
+  (0.0ms) SAVEPOINT active_record_1
4545
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4546
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4547
+  (0.1ms) SAVEPOINT active_record_1
4548
+ SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4550
+  (0.1ms) SAVEPOINT active_record_1
4551
+ SQL (0.4ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4553
+ Processing by FavouriteObject::FavouritesController#show as JSON
4554
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1}
4555
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4556
+ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.6ms)
4557
+  (0.8ms) rollback transaction
4558
+  (0.1ms) begin transaction
4559
+  (0.1ms) SAVEPOINT active_record_1
4560
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4562
+  (0.1ms) SAVEPOINT active_record_1
4563
+ SQL (0.7ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4565
+ Processing by FavouriteObject::FavouritesController#update as JSON
4566
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>true}}
4567
+ FavouriteObject::Favourite Load (0.6ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4568
+ Unpermitted parameters: target_type, target_id, format
4569
+  (0.1ms) SAVEPOINT active_record_1
4570
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4571
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4572
+ Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 1.1ms)
4573
+  (0.9ms) rollback transaction
4574
+  (0.1ms) begin transaction
4575
+  (0.1ms) SAVEPOINT active_record_1
4576
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4578
+  (0.1ms) SAVEPOINT active_record_1
4579
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4581
+ Processing by FavouriteObject::FavouritesController#update as JSON
4582
+ Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>false}}
4583
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4584
+ Unpermitted parameters: target_type, target_id, format
4585
+  (0.1ms) SAVEPOINT active_record_1
4586
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4588
+ Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.5ms)
4589
+  (0.9ms) rollback transaction
4590
+  (0.1ms) begin transaction
4591
+  (0.1ms) SAVEPOINT active_record_1
4592
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4594
+ Processing by FavouriteObject::FavouritesController#index as JSON
4595
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4596
+ Completed 200 OK in 17ms (Views: 4.6ms | ActiveRecord: 0.3ms)
4597
+  (0.5ms) rollback transaction
4598
+  (0.1ms) begin transaction
4599
+  (0.1ms) SAVEPOINT active_record_1
4600
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4602
+  (0.1ms) SAVEPOINT active_record_1
4603
+ SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4605
+  (0.1ms) SAVEPOINT active_record_1
4606
+ SQL (0.9ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4607
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4608
+  (0.0ms) SAVEPOINT active_record_1
4609
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4611
+ Processing by FavouriteObject::FavouritesController#index as JSON
4612
+ Parameters: {"serializer"=>"lite"}
4613
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4614
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
4615
+  (0.8ms) rollback transaction
4616
+  (0.1ms) begin transaction
4617
+  (0.1ms) SAVEPOINT active_record_1
4618
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4620
+  (0.0ms) SAVEPOINT active_record_1
4621
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4623
+  (0.0ms) SAVEPOINT active_record_1
4624
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4626
+  (0.0ms) SAVEPOINT active_record_1
4627
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4629
+  (0.1ms) SAVEPOINT active_record_1
4630
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4632
+ Processing by FavouriteObject::FavouritesController#index as JSON
4633
+ Parameters: {"target_type"=>"FakeObject"}
4634
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' ORDER BY created_at DESC LIMIT 25 OFFSET 0
4635
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
4636
+  (1.1ms) rollback transaction
4637
+  (0.2ms) begin transaction
4638
+  (0.2ms) SAVEPOINT active_record_1
4639
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4641
+  (0.1ms) SAVEPOINT active_record_1
4642
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4644
+  (0.1ms) SAVEPOINT active_record_1
4645
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4647
+  (0.0ms) SAVEPOINT active_record_1
4648
+ SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4650
+  (0.1ms) SAVEPOINT active_record_1
4651
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4653
+ Processing by FavouriteObject::FavouritesController#index as JSON
4654
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]}
4655
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (5) ORDER BY created_at DESC LIMIT 25 OFFSET 0
4656
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
4657
+  (0.9ms) rollback transaction
4658
+  (0.1ms) begin transaction
4659
+  (0.1ms) SAVEPOINT active_record_1
4660
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4662
+  (0.0ms) SAVEPOINT active_record_1
4663
+ SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4665
+  (0.0ms) SAVEPOINT active_record_1
4666
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4668
+  (0.0ms) SAVEPOINT active_record_1
4669
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4671
+  (0.1ms) SAVEPOINT active_record_1
4672
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 5], ["target_type", "FakeObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4674
+ Processing by FavouriteObject::FavouritesController#index as JSON
4675
+ Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]}
4676
+ FavouriteObject::Favourite Load (0.3ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."is_favourited" = 't' AND "favourite_object_favourites"."target_type" = 'FakeObject' AND "favourite_object_favourites"."target_id" IN (6) ORDER BY created_at DESC LIMIT 25 OFFSET 0
4677
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)
4678
+  (0.9ms) rollback transaction
4679
+  (0.1ms) begin transaction
4680
+  (0.1ms) SAVEPOINT active_record_1
4681
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4683
+  (0.0ms) SAVEPOINT active_record_1
4684
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4686
+  (0.1ms) SAVEPOINT active_record_1
4687
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4689
+  (0.0ms) SAVEPOINT active_record_1
4690
+ SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4692
+  (0.0ms) SAVEPOINT active_record_1
4693
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4695
+  (0.1ms) SAVEPOINT active_record_1
4696
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4698
+  (0.9ms) rollback transaction
4699
+  (0.2ms) begin transaction
4700
+  (0.1ms) SAVEPOINT active_record_1
4701
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4703
+  (0.1ms) SAVEPOINT active_record_1
4704
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4706
+  (0.0ms) SAVEPOINT active_record_1
4707
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4709
+  (0.0ms) SAVEPOINT active_record_1
4710
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4712
+  (0.0ms) SAVEPOINT active_record_1
4713
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4715
+ FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4716
+  (0.8ms) rollback transaction
4717
+  (0.1ms) begin transaction
4718
+  (0.1ms) SAVEPOINT active_record_1
4719
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4721
+  (0.1ms) SAVEPOINT active_record_1
4722
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4724
+  (0.0ms) SAVEPOINT active_record_1
4725
+ SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4727
+  (0.0ms) SAVEPOINT active_record_1
4728
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4730
+  (0.0ms) SAVEPOINT active_record_1
4731
+ SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "is_favourited", "owner_id", "owner_type", "params", "third_party_flag", "third_party_id", "third_party_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["is_favourited", true], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["third_party_flag", true], ["third_party_id", 1], ["third_party_type", "Sale"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4733
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."third_party_id" = 1 AND "favourite_object_favourites"."third_party_type" = 'Sale' AND "favourite_object_favourites"."third_party_flag" = 't' LIMIT 1
4734
+  (0.7ms) rollback transaction
4735
+  (0.1ms) begin transaction
4736
+  (0.0ms) SAVEPOINT active_record_1
4737
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4739
+  (0.0ms) SAVEPOINT active_record_1
4740
+ SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4742
+  (0.1ms) SAVEPOINT active_record_1
4743
+ SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00]]
4744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4745
+  (0.0ms) SAVEPOINT active_record_1
4746
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4748
+  (0.0ms) SAVEPOINT active_record_1
4749
+ SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Fri, 26 Feb 2016 00:58:00 UTC +00:00], ["params", "--- {}\n"]]
4750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4751
+ FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."owner_id" = 1 AND "favourite_object_favourites"."owner_type" = 'User' AND "favourite_object_favourites"."target_id" = 1 AND "favourite_object_favourites"."target_type" = 'ArbitraryObject' LIMIT 1
4752
+  (0.8ms) rollback transaction