(1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140401014304)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140401014304"]]  (1.1ms) commit transaction Migrating to CreateArbitraryObjects (20140401014305)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "arbitrary_objects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140401014305"]]  (0.8ms) commit transaction Migrating to CreateFavouriteObjectFavourites (20140401014306959)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "favourite_object_favourites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "target_id" integer, "target_type" varchar(255), "third_party_id" varchar(255), "third_party_type" varchar(255), "owner_id" integer, "owner_type" varchar(255), "is_favourited" boolean DEFAULT 'f', "params" text, "third_party_flag" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140401014306959"]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) CREATE TABLE "arbitrary_objects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "favourite_object_favourites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "target_id" integer, "target_type" varchar(255), "third_party_id" varchar(255), "third_party_type" varchar(255), "owner_id" integer, "owner_type" varchar(255), "is_favourited" boolean DEFAULT 'f', "params" text, "third_party_flag" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140401014306959')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140401014304')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140401014305')  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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"."is_favourited" = 't' ORDER BY created_at DESC LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 26ms  (8.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"Sale"}  (0.1ms) 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 = 'Sale') 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 = 'Sale') ORDER BY created_at DESC LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 8ms  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} 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" = '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  (0.0ms) SAVEPOINT active_record_1 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", Tue, 01 Apr 2014 01:43:12 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", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.7ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Tue, 01 Apr 2014 01:43:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (7.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 Completed 500 Internal Server Error in 17ms  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"Sale"}  (0.1ms) 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 = 'Sale') 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 = 'Sale') ORDER BY created_at DESC LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 5ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 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, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.6ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:05:58 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:05:58 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.6ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:06:44 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:06:44 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:06:44 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "Sale"], ["updated_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Thu, 03 Apr 2014 05:06:44 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 Completed 500 Internal Server Error in 18ms  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:08:42 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:08:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:08:43 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:08:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:08:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:08:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:08:43 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:08:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 99], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:08:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 2 [["is_favourited", true], ["updated_at", Thu, 03 Apr 2014 05:08:43 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 99]] ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 32ms  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:09:16 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:09:16 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:09:16 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:09:16 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:09:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:09:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:09:27 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:09:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:09:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:09:27 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (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') 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 16ms  (8.4ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:09:43 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:09:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:09:43 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:09:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:09:43 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:09:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:09:43 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 16ms  (8.5ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:10:56 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:10:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:10:56 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:10:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:10:56 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:10:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:10:56 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 28ms  (6.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:11:40 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:11:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:11:40 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:11:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:11:40 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:11:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:11:40 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 15ms  (8.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:12:22 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:12:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:12:22 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:12:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:12:22 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:12:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:12:22 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 18ms  (0.6ms) rollback transaction  (0.5ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:13:01 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:13:01 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:13:01 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:13:01 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 16ms  (7.5ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:14:18 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:14:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:14:18 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:14:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:18 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:14:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:18 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.3ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 21ms  (0.6ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:14:27 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:14:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:14:27 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:14:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:27 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:14:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:27 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 Completed 500 Internal Server Error in 9ms  (7.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:14:31 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:14:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:14:31 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:14:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:31 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:14:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:31 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 Completed 500 Internal Server Error in 9ms  (8.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:14:57 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:14:57 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:57 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:14:57 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 17ms  (8.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:15:35 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:15:35 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:15:35 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:15:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:15:35 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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  (0.1ms) 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' ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 18ms  (7.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:22:13 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:22:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:22:13 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:22:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:22:13 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:22:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:22:13 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:22:13 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, 03 Apr 2014 05:22:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.5ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:23:03 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:23:03 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:23:03 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:23:03 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:23:03 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, 03 Apr 2014 05:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = 'Sale' AND "favourite_object_favourites"."third_party_type" = 1 ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1  (0.7ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:26:14 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:26:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:26:14 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:26:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:26:14 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:26:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:26:14 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:26:14 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, 03 Apr 2014 05:26:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" 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" = 'Sale' AND "favourite_object_favourites"."third_party_type" = 1 ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:27:00 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:27:00 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:27:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:27:00 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:27:00 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:27: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", Thu, 03 Apr 2014 05:27:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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" = 'Sale' AND "favourite_object_favourites"."third_party_type" = 1 ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1  (8.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (6.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:27:21 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:27:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:27:21 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:27:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:27:21 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:27:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:27:21 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:27:21 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, 03 Apr 2014 05:27:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = 'Sale' AND "favourite_object_favourites"."third_party_type" = 1 ORDER BY "favourite_object_favourites"."id" ASC LIMIT 1 FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites"  (0.9ms) rollback transaction  (0.6ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (5.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 03 Apr 2014 05:29:15 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 03 Apr 2014 05:29:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 03 Apr 2014 05:29:15 UTC +00:00], ["updated_at", Thu, 03 Apr 2014 05:29:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:29:15 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 03 Apr 2014 05:29:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 03 Apr 2014 05:29:15 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 03 Apr 2014 05:29:15 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, 03 Apr 2014 05:29:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (7.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 23ms  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (0.1ms) 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') 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 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, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.6ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 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, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["email", "user@example.com"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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, 17 Apr 2014 05:13:53 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Thu, 17 Apr 2014 05:13:53 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.7ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 26ms  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (0.1ms) 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') 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 10ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} 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" = '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  (0.1ms) SAVEPOINT active_record_1 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", Mon, 28 Apr 2014 04:09:29 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", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.8ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", Mon, 28 Apr 2014 04:09:29 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", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:29 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Completed 500 Internal Server Error in 1ms  (8.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"} Completed 500 Internal Server Error in 1ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 500 Internal Server Error in 1ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1 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", Mon, 28 Apr 2014 04:09:45 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", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.6ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", Mon, 28 Apr 2014 04:09:45 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", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:45 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 22ms  (7.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (0.1ms) 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') 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 ArbitraryObject Load (0.0ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1 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", Mon, 28 Apr 2014 04:09:51 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", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.6ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", Mon, 28 Apr 2014 04:09:51 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", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:09:51 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 17ms  (8.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (0.1ms) 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') 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (9.0ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1 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", Mon, 28 Apr 2014 04:10:37 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", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.5ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", Mon, 28 Apr 2014 04:10:37 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", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 04:10:37 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.5ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (0.1ms) 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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 30ms  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (0.1ms) 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') 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} FavouriteObject::Favourite Load (0.1ms) 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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", Mon, 28 Apr 2014 12:05:12 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", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.8ms) FavouriteObject::Favourite Load (0.1ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "is_favourited" = ?, "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["is_favourited", true], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["params", "--- {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", Mon, 28 Apr 2014 12:05:13 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", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 FavouriteObject::Favourite Load (0.1ms) 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  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["email", "user@example.com"], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "arbitrary_objects" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "favourite_object_favourites" ("created_at", "owner_id", "owner_type", "params", "target_id", "target_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["owner_id", 1], ["owner_type", "User"], ["params", "--- {}\n"], ["target_id", 1], ["target_type", "ArbitraryObject"], ["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "favourite_object_favourites" SET "updated_at" = ?, "params" = ? WHERE "favourite_object_favourites"."id" = 1 [["updated_at", Mon, 28 Apr 2014 12:05:13 UTC +00:00], ["params", "--- {}\n"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.7ms) rollback transaction  (1.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON  (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' 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 ArbitraryObject Load (0.2ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 200 OK in 33ms (Views: 22.5ms | ActiveRecord: 0.6ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"}  (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') 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 ArbitraryObject Load (0.1ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 200 OK in 16ms (Views: 11.9ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 200 OK in 25ms (Views: 23.2ms | ActiveRecord: 0.0ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "favourite_object_favourites" WHERE "favourite_object_favourites"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} 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  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 5.3ms | ActiveRecord: 0.9ms) FavouriteObject::Favourite Load (0.2ms) SELECT "favourite_object_favourites".* FROM "favourite_object_favourites" ORDER BY "favourite_object_favourites"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.8ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.7ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 500 Internal Server Error in 6ms  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 406 Not Acceptable in 6ms  (0.9ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 46ms (Views: 10.8ms | ActiveRecord: 0.2ms)  (1.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 28ms (Views: 8.0ms | ActiveRecord: 0.3ms)  (8.4ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 25ms (Views: 6.4ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 43ms (Views: 10.2ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 32ms (Views: 8.0ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 37ms (Views: 7.9ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 30ms (Views: 6.5ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 38ms (Views: 10.4ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"FavouriteObject::Favourite", "target_id"=>"1"} 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 Completed 200 OK in 31ms (Views: 6.3ms | ActiveRecord: 0.2ms)  (9.0ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"FavouriteObject::Favourite", "target_id"=>"1"} 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 Completed 200 OK in 27ms (Views: 6.6ms | ActiveRecord: 0.2ms)  (9.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 35ms (Views: 7.2ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 ArbitraryObject Load (0.3ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 200 OK in 45ms (Views: 21.8ms | ActiveRecord: 0.7ms)  (1.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 ArbitraryObject Load (0.3ms) SELECT "arbitrary_objects".* FROM "arbitrary_objects" WHERE "arbitrary_objects"."id" = ? ORDER BY "arbitrary_objects"."id" ASC LIMIT 1 [["id", 1]] Completed 200 OK in 49ms (Views: 25.0ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 31ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} Completed 500 Internal Server Error in 4ms  (0.9ms) rollback transaction  (0.7ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} Completed 500 Internal Server Error in 2ms  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 500 Internal Server Error in 35ms  (1.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 43ms (ActiveRecord: 1.6ms)  (0.7ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 40ms (ActiveRecord: 1.7ms)  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 44ms (ActiveRecord: 1.7ms)  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 37ms (ActiveRecord: 1.4ms)  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 23ms  (9.0ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 36003ms (ActiveRecord: 1.6ms)  (2.1ms) rollback transaction  (0.5ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 2652ms (ActiveRecord: 2.1ms)  (1.0ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 58ms (ActiveRecord: 1.5ms)  (1.6ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 59ms (ActiveRecord: 1.8ms)  (1.2ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 204 No Content in 59ms (ActiveRecord: 2.4ms)  (0.9ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 59ms (Views: 5.3ms | ActiveRecord: 1.4ms)  (1.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 8.5ms | ActiveRecord: 1.8ms)  (0.8ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 48ms (Views: 3.0ms | ActiveRecord: 1.0ms)  (9.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 47ms (Views: 3.6ms | ActiveRecord: 1.2ms)  (8.7ms) rollback transaction  (1.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 51ms (Views: 4.8ms | ActiveRecord: 1.0ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 22ms (Views: 6.6ms | ActiveRecord: 1.1ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"ArbitraryObject"} 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 Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 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"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as HTML Completed 406 Not Acceptable in 1ms  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 19ms  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"favourite"=>false, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: favourite, target_type, target_id  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 3ms  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as HTML Parameters: {"third_party_flag"=>"true", "favourite"=>"true", "target_type"=>"RandomClass", "target_id"=>"object_1"} 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 Unpermitted parameters: third_party_flag, target_type, target_id  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 4ms  (0.7ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 54ms (Views: 4.7ms | ActiveRecord: 1.4ms)  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 45ms (Views: 4.3ms | ActiveRecord: 1.0ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 18ms (Views: 3.1ms | ActiveRecord: 0.7ms)  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 47ms (Views: 4.1ms | ActiveRecord: 0.7ms)  (9.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 0.4ms)  (0.6ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 33ms (Views: 5.6ms | ActiveRecord: 0.9ms)  (0.5ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 40ms (Views: 5.5ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 40ms (Views: 7.7ms | ActiveRecord: 0.4ms)  (1.4ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 38ms (Views: 7.4ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"FakeObject"} 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 Completed 200 OK in 33ms (Views: 8.5ms | ActiveRecord: 0.4ms)  (1.0ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 48ms (Views: 4.7ms | ActiveRecord: 1.1ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 1.2ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 1.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.6ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"FakeObject"} 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 Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.4ms)  (0.9ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 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 Completed 500 Internal Server Error in 37ms  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 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 Completed 500 Internal Server Error in 31ms  (1.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 48ms (Views: 18.7ms | ActiveRecord: 0.3ms)  (1.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 35ms (Views: 4.5ms | ActiveRecord: 1.1ms)  (0.9ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 49ms (Views: 11.9ms | ActiveRecord: 0.5ms)  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 17ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"type"=>"FakeObject"} 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 Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.6ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 18ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 46ms (Views: 4.2ms | ActiveRecord: 1.2ms)  (1.0ms) rollback transaction  (0.9ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 20ms (Views: 4.5ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject"} 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 Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.8ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (1.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 47ms (Views: 3.7ms | ActiveRecord: 1.1ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>true}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 1.5ms | ActiveRecord: 0.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"favourite"=>{"is_favourited"=>false}, "target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 15ms (Views: 3.7ms | ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject"} 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 Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.8ms) rollback transaction  (0.8ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>"1"} 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 Completed 200 OK in 37ms (Views: 3.7ms | ActiveRecord: 0.2ms)  (1.0ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 32ms (Views: 5.8ms | ActiveRecord: 0.4ms)  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.6ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 58ms (Views: 3.0ms | ActiveRecord: 1.1ms)  (0.8ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 51ms (Views: 3.3ms | ActiveRecord: 1.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (2.0ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>true}} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 25ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>false}} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.5ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 17ms (Views: 4.3ms | ActiveRecord: 0.3ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject"} 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 Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 36ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 31ms (Views: 2.7ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 37ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 51ms (Views: 2.6ms | ActiveRecord: 1.7ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>true}} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 1.2ms | ActiveRecord: 1.2ms)  (0.8ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>false}} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.7ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 16ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject"} 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 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.8ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 28ms (Views: 7.5ms | ActiveRecord: 0.4ms)  (8.6ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 28ms (Views: 5.4ms | ActiveRecord: 0.4ms)  (8.7ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 54ms (Views: 3.2ms | ActiveRecord: 1.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#show as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1} 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 Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.6ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>true}} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 1.1ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#update as JSON Parameters: {"target_type"=>"ArbitraryObject", "target_id"=>1, "favourite"=>{"is_favourited"=>false}} 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 Unpermitted parameters: target_type, target_id, format  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON 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 Completed 200 OK in 17ms (Views: 4.6ms | ActiveRecord: 0.3ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"serializer"=>"lite"} 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 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject"} 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 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (1.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[5]} 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 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by FavouriteObject::FavouritesController#index as JSON Parameters: {"target_type"=>"FakeObject", "target_ids"=>[6]} 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 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.8ms) rollback transaction